PDA

View Full Version : Same particle shape, differnt expressions based on emmiter


ndeboar
07-20-2005, 01:24 AM
Hey Guys,

Ive working on a shot where ive got lots of intereacting blobby particles all using the same particle shape. But i need to use differnt PP expresions on differnt blobbies. If i can query where each particle was emmited from, and the apply differnt expressions based on that, i would be a verry happy man.
----
Update:

Sorry, dont know how to delete messages from the forum! I worked it out, for any one who cares heres what i did:


float $emited = particleShape1.emitterId;

if ($emited == 0)
{
particleShape1.rgbPP = <<0, 0,255>>;
}

if ($emited == 1)
{
particleShape1.rgbPP = <<0, 255,0>>;
}

Cheers,


Nick Deboar
/Digital Director/
*The People's Republic of Animation
www.thepra.com.au (http://www.thepra.com.au*/)

eatbug
07-20-2005, 04:09 AM
sorry,sorry,sorry,how to delete?

CGTalk Moderation
07-20-2005, 04:09 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.