Skylark wrote:
> Hi Martin,
> 
> Why not just devote a bit in the nodemask for such elements? Then you 
> set the intersection visitor's traversal mask to ignore those elements.
> 
> const unsigned int NODEMASK_UNPICKABLE = 0x1000;    // whatever
> iv->setTraversalMask(~NODEMASK_UNPICKABLE);
> 
> That's how we do it.
> 


Yep, this is also a possibility. Just setup all the used visitors in the proper 
way, so that they don't perform their actions on the nodes you don't need.

cheers,
art

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





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

Reply via email to