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*/)
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*/)
