Hi Terry

The Intersectvisitor, like all Nodevisitors, has a look at the node 
masks higher in the scene graph too.
Before traversing a node, the node mask is checked with the 
NodeVisitor::validNodeMask() method.
Each NodeVisitor has a traversal mask, so you can define which nodes to 
traverse and which not.

Greez
    helb

Terry Welsh wrote:
> Does anyone know a way to get the NodeMask in use by an object when it
> is intersected by IntersectVisitor?
> hitlist.front().getGeode()->getNodeMask() returns the NodeMask of the
> exact geode being intersected (by default 0xffffffff), but not the
> NodeMask inherited from higher in the scenegraph that is actually used
> during computation of the intersection.
> - Terry
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>   

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to