Hi Manish,

By dummy node I mean some node which is not visible however its child is 
visible.
Actually I'm facing problem similar to osgmanipulator , in which I don't want 
to display selection in trackball mode [refer osgmanipulator] ,however i want 
to display selection in pick mode .
This i want this " osgManipulator::Selection* selection " to visble one mode 
while invisble in another mode.
and I also need to save my scene in both mode.

I need some better solution to solve my problem .

Just set the node mask to 0 on the Dragger (or its parent subgraph) when you want to hide it, and to 0xFFFFFFFF when you want to see it. Or use an osg::Switch node above it, or ... There are many ways.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to