I was excited to try the OcclusionQueryNode feature in OSG 2.4, but I
can't seem to get it to work how I was expecting it to. I have tried
using such a node as the root node of my scenegraph and as a parent to
models that I load (IVE files mostly, of varying complexity). If I
enable DebugDisplay on my node, I see one white box that surrounds all
of my models. I thought I should expect a box per geometry node, but
maybe I am mistaken? To better try & test if it is working, I set the
QueryFrameCount value very high hoping to catch nodes popping in & out,
but that did not work. I enabled debug output for may application, and
I get the following per frame in a fairly complex scene:
oagOQ: QG: Querying for:
osgOQ: QG. OQNName: , Ctx: 0, ID: 1
osgOQ: RQCB: Using fallback path to obtain Extensions pointer.
osgOQ: RQCB: Retrieving...
osgOQ: RQCB: Retrieved 1 queries in 0.008626 seconds.
So, where have I gone wrong? Do I need to inset OcclusionQueryNodes
manually lower in my scenegraph?
Thanks,
Todd
--
Todd J. Furlong
Inv3rsion, LLC
http://www.inv3rsion.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org