Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Visibility algorithm for sprite/bitmap based on pixelmap collisions

4: Adsense

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   

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?



#2 LorenzoGatti   Members   

4365
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?


Omae Wa Mou Shindeiru





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.