[osg-users] Best way to cull object hidden by a mountain

Julien Valentin julienvalentin51 at gmail.com
Tue Jun 28 06:28:53 PDT 2016


If I remember correctly my previous reading of OcclusionQueryNode
It makes a "number of fragments passing the depth test" query test on the bounding volume geometry of children nodes (discarding framebuffer writes) and decide to draw or not children based on the fragments number of the query  result.




kragnfroll wrote:
> My last problem related to this topic is how to be sure that the OcclusionQueryNode works. I made a few tests and it seems that the depth buffer is making all the job, but I can't prove it.
> 
> I'm reading the code to try to understand how the OcclusionQueryNode works (and I'm not stuck), but tips or explanation are welcome.


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67879#67879








More information about the osg-users mailing list