Maya Training

Creating characters In Maya and Zbrush

Maya Training

Creating character renders in Maya 2017 and Arnold

Maya Training

Spach-Alspaugh House the complete courseware
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 03-12-2004, 09:38 PM   #1
alexkemp
Registered User
 
Join Date: Mar 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default rgbPP expression

Hello,

Can anyone help me to write an expression to color my particles.
I'm doing the free g n o m o n video tutorial about "Colission emission" (see site g n o m o n)


In the video they write an expression , but I can not see clearly what the expression is (the quality of the video is not the best)

Many thanks

Last edited by alexkemp : 03-12-2004 at 09:40 PM.
alexkemp is offline   Reply With Quote
Old 03-12-2004, 09:56 PM   #2
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

for red particles:
rgbPP = <<1,0,0>>

for green particles:
rgbPP = <<0,1,0>>

for blue particles:
rgbPP = <<0,0,1>>

for random colored particles:
int $color = rand (0,1);
rgbPP = <<$color ,$color ,$color >>
Dann is offline   Reply With Quote
Old 04-12-2004, 06:26 PM   #3
alexkemp
Registered User
 
Join Date: Mar 2004
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Dann !
alexkemp is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2017 SimplyMaya - vBulletin® Copyright © 2000-2017, Jelsoft Enterprises Ltd.