Jump to content

  • Log In with Google      Sign In   
  • Create Account

Visibility algorithm for sprite/bitmap based on pixelmap collisions


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 Burger300   Members   -  Reputation: 102

Like
0Likes
Like

Posted 14 June 2014 - 08:44 AM

Hi

 

I'm looking for fastest occlusion algorithm, that will cut my sprite/light so light won't go through black pixels, only white on level/pixelmap/material.

Google shows only occlusion algorithm for lights and geometry kind of level, not a pixelmap.

 

Anyone?



Sponsor:

#2 LorenzoGatti   Crossbones+   -  Reputation: 2764

Like
0Likes
Like

Posted 16 June 2014 - 01:15 AM

What you mean by "pixelmap" and why you would need special algorithms for it is unclear, since presumably your lights are point sources and you still want to compute light and shadow cones.

There's essentially no difference between the shadow of a corner of a generic polygon that is represented as a list of vertices and the shadow of a corner of a 1-pixel "brick".

Can you explain what problem are you trying to solve?


Produci, consuma, crepa




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS