Is there a reason that FindNamedNodeVisitor isn't in osgUtil? I've seen this type of request several times now. Having it in osgUtil would reduce redundant application-specific code. -Paul
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Robert Osfield > Sent: Tuesday, February 20, 2007 3:09 AM > To: osg users > Subject: Re: [osg-users] GroupNode: Modification during call bak > > HI RJ, > > You'll need to find the subgraph you want to rotate use a > NodeVisitor such as the FindNamedNodeVisitor found in the > osgplanets example, once you've found the node you need to > insert a PositionAttitudeTransform or DOFTransform above the subgraph. > > Robert. > > On 2/20/07, RJ <[EMAIL PROTECTED]> wrote: > > Hi folks, > > > > I am loading a plane from a file .ac format. and dynamic > casting the > > node returned by "osgDB::readNodeFile " to osg::Group. I am doing > > this because i want handle to the propeller of the plane using > > "visitor pattern". The propeller is also the type > osg::Group and not > > osgSim::DOFTransform. > > > > I want to rotate the propller what should i do ? > > > > best regards > > Rahul Jain. > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://openscenegraph.net/mailman/listinfo/osg-users > > http://www.openscenegraph.org/ > > > _______________________________________________ > osg-users mailing list > [email protected] > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
