PDA

View Full Version : creating a rand expression for rgbPP for particles systems..


wickeddreamz
04-28-2002, 04:49 PM
can anyone give me a quick expression .. im not sure how to do it.. thanx all:hmm:

svenip
04-28-2002, 04:55 PM
particleShape1.rgbPP = <<rand(0,1),rand(0,1),rand(0,1)>>

just change the name to your particleShapeObject name (particleShape1)

better would be to work with a ramp (better control over the things) :bounce:

alex.ongaro
04-28-2002, 07:33 PM
And remember to write this expression in creation, otherwise your particles will change color every frame.

-ao

CGTalk Moderation
01-13-2006, 05: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.