Hi Iban,

I don't know enough about sandStorm and its setUp function to help you.
The last argument to setUp doesn't look correct.

Look at the scene graph that is created and see if the Geode for your
particle system is under the Xform1 node.

> From: Iban Arriola
> 
> Hi,
> 
> Here is the way that I did it
> 
> [code]
> 
> osg::PositionAttitudeTransform* Xform1 = new 
> osg::PositionAttitudeTransform();
> root->addChild(Xform1);
> 
> myParticleSystem= new sandStorm();
> 
> Place = osg::Vec3 (14533,7677,13);
> 
> Xform1->setPosition (osg::Vec3 (100,700,13));
> myParticleSystem->setUp((osg::Group *) 
> getLoadedModel(),(osg::Group *) 
> myParticleSystem->Xform1);
> 
> 
> 
> Thank you!
> 
> Cheers,
> Iban[code][/code]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to