PDA

View Full Version : Particle Fadeout


Rainboy1981AD
08-27-2003, 11:12 PM
Hey People!

I am currently working on a project, and the deadline is coming up. Any Help will be appreciated.

I am creating homemade sparks using basic particles and glow. My question is, how do I make them fade out (giving it a fizzling out feeling) after they collide with the surface? I have messed around with the opacity ramps on a per particle basis, but doesnt seem to be responding. Probably something little.

Later,

Ben

DiGiman
08-27-2003, 11:40 PM
map a fractal pattern on one end of the ramp to give it a "fizzle out feeling".

misterdi
08-28-2003, 06:59 AM
Just an idea,

1. You do collision in particle to some surface.
2. Add dynamic attributes PP, let say red_OpacityPP and in creation set it all to 0.0;
3. Create a Particle collision events.
4. on Event actions, if it is collide with the intended surface set the red_OpacityPP for that particle as some small number like 0.05 (fade out from 1 to 0 in 20 frames).
5. in runtime expression do "opactityPP -= red_OpacityPP", check it for negative number, if it's negative set it to 0;

So the idea is, base on collision it will change the value of red_OpacityPP from 0 to 0.05; and let the opacity change with runtime expression.

I'm not really sure if it is working, it's just an idea.

Best regards,

CGTalk Moderation
01-15-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.