PDA

View Full Version : Question for particle gurus


mas
06-01-2003, 06:47 PM
Recently I have been watching the Gnomon free tutorial "collision emission stone".
At some point Alec mentions an expression to give a color to the particles, but it's not possible to see what he writes.
Does any of you know of this expression, and how to define colors for particles, the way he does ?
Thanx

galactor
06-01-2003, 07:09 PM
First assign a per particle attribute to the particleShape, then :

particleShape1.rgbPP = <<1 , 0, 0>>; gives you red particles

particleShape1.rgbPP = <<rand(1,0),rand(1,0),rand(1,0)>>; gives you random assigned colors.

And you really don't have has to be a Particle guru to be known with these kind of expressions. They are very common when working with particles.

:: Galactor ::

mas
06-01-2003, 10:35 PM
Hi galactor
Thank you for your reply:applause:

peanut
06-01-2003, 11:58 PM
galgator thank you

i watched the vid too, but didnt know what expression was used

CGTalk Moderation
01-15-2006, 07: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.