Particles and emitters
4 posters
Particles and emitters
Hi,
i'd like to make an explosion effect using particles and emitters, I've looked into tutorial 12 and my question is: it is possible to make the animation of the emitter non looping? I'd like to stop the emitter when all the particles of the emitter has died.
Thank you
i'd like to make an explosion effect using particles and emitters, I've looked into tutorial 12 and my question is: it is possible to make the animation of the emitter non looping? I'd like to stop the emitter when all the particles of the emitter has died.
Thank you
william- Posts : 15
Join date : 2009-09-09
Re: Particles and emitters
William,
I suggest setting a particle counter in your particle creation callback. Count down every time you create a particle. Reset your emitter(s) when the counter is zero. Of course there are other ways ...
Chris
I suggest setting a particle counter in your particle creation callback. Count down every time you create a particle. Reset your emitter(s) when the counter is zero. Of course there are other ways ...
Chris
cgen2- Posts : 38
Join date : 2008-12-14
Re: Particles and emitters
Similar as the technique above... I personally use the opposite method... I check when a particle system reach a specific amount of particle then stop generating when everything is done rendering I flush the emitter from the SIO2resource.
Re: Particles and emitters
Yeah i've done something like that!
william- Posts : 15
Join date : 2009-09-09
Re: Particles and emitters
Hi, the questions is not exactly related to that but whatever
I was playing around with tutorial 12 and tried to put back the emitter..
left one is at 10.0 in the y, and the right one is at 0.0 y.. it's exactly the same emitter.. Am i missing something cause the far one isn't smaller.
what value I need to change to make it smaller?
I tried scaling down the fire.tga but doesn,t to anything, the code scale it back to it's original size, so it's juste pixelized instead of smaller.., I certainly missed something
I was playing around with tutorial 12 and tried to put back the emitter..
left one is at 10.0 in the y, and the right one is at 0.0 y.. it's exactly the same emitter.. Am i missing something cause the far one isn't smaller.
what value I need to change to make it smaller?
I tried scaling down the fire.tga but doesn,t to anything, the code scale it back to it's original size, so it's juste pixelized instead of smaller.., I certainly missed something
Re: Particles and emitters
It all depends of the emission point of the particle... check in example the snow emitter...
Similar topics
» Emitters and paused/stopped state
» 2d particles
» Particles Question
» Emit particles omnidirectionally?
» Particles System with a little memory leak...
» 2d particles
» Particles Question
» Emit particles omnidirectionally?
» Particles System with a little memory leak...
Permissions in this forum:
You cannot reply to topics in this forum