Re: [osg-users] Vanishing Particles

2008-09-18 Thread b boltze
Hi Charles, thanks for your guess, but I found the problem already: osgParticle::ParticleSystem is storing its particles in a std::vector. 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

[osg-users] Vanishing Particles

2008-09-16 Thread b boltze
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 s

Re: [osg-users] Change particle color !

2008-09-16 Thread b boltze
Hi Mattias, On Monday 18 August 2008 22:42:04 Mattias Helsing wrote: > On Mon, Aug 18, 2008 at 8:44 PM, Carlos Sanches <[EMAIL PROTECTED]> wrote: > > to do this I need to change the color of particles after your creation > > only when I press the key. > > yes it is possible. You need an EventHandl