[osg-users] Different views hide/show different nodes shared scene graph

Chris Djali krizdjali at gmail.com
Thu Apr 18 08:35:46 PDT 2019


Hi,

You should be able to dynamic_cast or asCullVisitor the arguments to a regular node callback to get a cull visitor pointer, and then from that, you can access the camera. You don't need to have a version with a boolean return value, either. Just don't traverse the node's children from the cull callback when you want the node to be skipped.

Cheers,
Chris

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







More information about the osg-users mailing list