View Full Version : how do I freeze the particle opacityPP?
09-06-2004, 01:59 PM
I have a particle simulation what is going to be in slomotion after frame 30.
I 've managed to make the motion of the particles go in slowmotion after that frame.
But the problem is the opacityPP. I use a ramp on the opacityPP, but after frame 30 the particles have to stop fading to transparant.
I hope I explained alright
tnx in advance
09-06-2004, 03:06 PM
i supose that you are using the particle's age to drive the inputV of the opacity ramp.
In this case, you can change this and make the inputV driven by your own attribut.
I test it with a simple scene:
I add two per particle attribut : temp and ctrlOpacityPP
Then I connect ctrlOpacityPP in the inputV of the ramp (at the ramp creation) instead of particle's age
and i write this little script in the runtime expression:
particleShape1.ctrlOpacityPP = particleShape1.ageNormalized;
if (frame == 30)
particleShape1.temp = particleShape1.ageNormalized;
if (frame > 30)
particleShape1.ctrlOpacityPP = particleShape1.temp;
hope it's can help you
09-06-2004, 05:20 PM
thanks a lot, that was exactly what I was looking for.:thumbsup:
01-19-2006, 04:00 AM
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.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.