Hi,

How does occlusion query node work when multiple nodes are attached under a 
single parent? Does OSG perform a depth-sort internally and check the 
visibility of each node's BB and render each node if the test passes or does it 
simply do this in the given order (in the order of the node insertion) ?

Also let's say that I want to perform occlusion query after drawing a part of 
the scene and want to perform the occlusion tests at a later stage. How can I 
do this efficiently? One way I thought of this is to define a pre-render camera 
to draw the parts of the scene closest to the camera and then make OSG process 
the OcclusionQueryNodes in a post-render camera. Would this be a valid and 
efficient solution, could there be others ?

Thank you!

Cheers,
deniz

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to