SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 03-12-2004, 08: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 08:40 PM.
alexkemp is offline   Reply With Quote
Old 03-12-2004, 08: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, 05: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
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.