Hello Edward,

You can query the test pass/failure results on a per-camera basis.
(...)
Yes, the query works. I was talking about recovering the pass/failure without acting accordingly (disabling the node if "invisible"),

If all you want is to be able to determine if a node is visible or not, can't you just test its bounding volume against the camera's frustum? It's not quite trivial, but pretty easy once you get the hang of it.

Come to think of it, there should probably be a class to do this in OSG (perhaps osgUtil?) - can't remember if there really is, but if not, it would make a useful addition for a number of people I would think.

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to