Hi,
Well this doesn't work ^^"...
I tried, and only one tree appears, but if a do :
for(int i = 0 ; i < 5; i++)
{
osg::PositionAttitudeTransform* temp = new osg::PositionAttitudeTransform;
temp->addChild(osgDB::readNodeFile("modeles/arbre.obj"));
temp->setPosition(myPos);
this->addChild(temp);
}
This work, i got all my trees....
But thanks for your help anyways.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=22949#22949
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org