I did some debugging in CullVisitor and it seems that it is acting correctly. If I set the CullMask of the camera to 0x10 the traversal mask will be set to 0x10 since the inheritanceMask & osg::CullSettings::CULL_MASK evaluates to 0. It seems that if the traversalMask gets set to 0x10 it shouldn't render nodes with a node mask of 0x1. But this is still happening. Can the problem be elsewhere. Where does the cull_mask / node_mask get evaluated to determine if the node should be visited? Does a inheritance mask of the object need to get set? A note: If I set the NodeMask to 0x0 it doesn't get rendered. The same is true if I set the CullMask of the Camera to 0x0. The main camera will still render the object but the cameraNode will render nothing. Steven Powers General Dynamics Robotic Systems Software Engineer 1234 Tech Court Westminster, MD 21157-3029 (410) 876-9200 Fax: 410-876-9470
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

