Hi,
I think that's still a bit beyond my osg/gl skills, and more so given my
time frame; hence the convenience of using library code. (If this
feature is already built in, I couldn't find it, please point!) I'll
have a look at it if this doesn't pan out, anyway.
Thanks,
E.
Jean-Sébastien Guay wrote:
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org