Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualbelfegor

Posted 08 June 2013 - 07:29 AM

... and occludees testing if all their pixels are filled or not (if any of their pixels aren't filled, the occludee is visible).

 

If occluder triangles takes maximum and occludee minimum Z, then i could test just 4 pixels/corners of occludees axis aligned 2D rectangle?

Or even 1 might be enough, i think? biggrin.png I don't see how could this fail.
 
I am gonna try to implement this myself since Vadim S. demo is crashing for me at certain camera position/angles, also his code is hard to follow and unreadable so i cannot fix it. sad.png


#1belfegor

Posted 08 June 2013 - 06:37 AM

... and occludees testing if all their pixels are filled or not (if any of their pixels aren't filled, the occludee is visible).

 

If occluder triangles takes maximum and occludee minimum Z, then i could test just 4 pixels/corners of occludees axis aligned 2D rectangle?

Or even 1 might be enough, i think? biggrin.png I don't see how could this fail.
 
I am gonna try to implement this myself since Vadim S. demo is crashing for me at certain camera position/angles, also his code is hard to follow and unreadable so i cannot fix it. sad.png


PARTNERS