Hi Charles,

thanks for your guess, but I found the problem already:

osgParticle::ParticleSystem is storing its particles in a 
std::vector<Particle>.

That means, of course, that pointers to particles may not remain valid all the 
time. Especially when the vector resizes itself, particles get copied, and 
hence pointers to them become invalid.

I'm not quite sure what to make out of this... essentially it means, that you 
can not track individual particles over their lifetime, which I definitely 
need to do for my application.

Now I'll go figure out something...

bastian
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to