Re: [osg-users] problems in hanging in and out Nodes to a TransformNode

2009-04-22 Thread Matthias Asselborn
thanks a lot it works! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10661#10661 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-o

Re: [osg-users] problems in hanging in and out Nodes to a TransformNode

2009-04-22 Thread Robert Osfield
Hi Mathias, Use osg::Switch or node->setNodeMask(0x0)/node->setNodeMask(0x); On Wed, Apr 22, 2009 at 4:01 PM, Matthias Asselborn wrote: > Hi, > > if i perfom a pick in my scene > i get the picked node ( TransformNode1 ) > > i added to this picked Node a boundingbox > ( TransformNode1->ad

[osg-users] problems in hanging in and out Nodes to a TransformNode

2009-04-22 Thread Matthias Asselborn
Hi, if i perfom a pick in my scene i get the picked node ( TransformNode1 ) i added to this picked Node a boundingbox ( TransformNode1->addchild( boundingNode ) when TransformNode1 isnt picked i have to remove this boundigbox node i do this with: (TransformNode1->removeChild( boundingNode ) a