Subscribe via feed.

Occlusion mapping program

This was a small graphics program done with OpenGl.  The objects are  divided into either being an occluder, or an object to render.  If all the vertices of an object are behind the occlusion map created by all the occluder objects, then it is removed from the list of objects to be rendered.  The occlusion map can be seen in the lower left hand corner when enabled.  The scene can be moved around in real time, and will update the objects to either be rendered or not.

 

occlusion mapping2 occlusion mapping