Hi, May I am not seeing something here, but using the NodeMask seems to be not able to handle 'multiple' states.
For example, I am using a mask ,0x01 to control the 'visibility' of the nodes. This works great. I have another mask to control 'pickable' state of the node, say 0x02 when used with IntersectionVisitor. Obviously a node that is not visible is not pickable. That is (pickable && !visible) should be culled during a IntersectionVisitor traversal Therein lies the problem that I see. A simple "bitwise AND" is performed between the traversal mask and the node mask and the result compared to 0. There is no mask that can be passed to IntersectionVisitor that will cull (pickable && !visible). As long as the pickable bit is on, the node will always be traversed. Andrew ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27588#27588 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

