Hi, scrawl!

Im not sure that i understand what do you mean by saying "detached graph".

I have now:
Root->Group->MatrixTransform->Node.

//Here is Node
ref_ptr<Node> nodeEngineCW = osgDB::readNodeFile(pathToACModels + 
"engineCW.ac");

//Here is MatrixTransform
ref_ptr<MatrixTransform> setupForwardEngine = new MatrixTransform;
setupForwardEngine->addChild( nodeEngineCW.get() );

//Here is Group
ref_ptr<Group> groupAircraft =new Group;
groupAircraft->addChild( setupForwardEngine.get() );

//Here is Root
ref_ptr<Group> rootnode = new Group;
rootnode->addChild( groupAircraft.get() );

Everything seems fine in this sense.

Thank you!

Cheers,
Elias

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to