[osg-users] Vanishing Particles
ccosse at gmail.com
Tue Sep 16 11:20:07 PDT 2008
just a wild guess, but if you followed that last reply to your
previous post, then maybe you are no longer setting lifetime to -1?
Are you implementing that advice from previous thread ... ie where you
On Tue, Sep 16, 2008 at 1:51 PM, b boltze <con at bspot.de> wrote:
> Hello everyone,
> I don't know whether it's considered rude to just appear and ask stupid
> questions on this list. But at the moment I don't know where else to go,
> so... well, I'll just ask my stupid question:
> I have setup a ParticleSystem. I store all the particles created for that
> system in a separate place; actually an array of particle pointers. Also, all
> particles have infinite lifetime, i.e. lifetime is set to 0.
> After some time, when I walk through my separate array, some of the particles
> have vanished from the system: looping over all particles using
> system->numParticles and system->getParticle, I can't find them anymore, and
> when I try to access them using my pointer, I get a segfault.
> Unfortunately, I have no idea, where those particles might get deleted.
> Could someone please give me a hint?
> osg-users mailing list
> osg-users at lists.openscenegraph.org
AsymptopiaSoftware | Software at theLimit
More information about the osg-users