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 28-08-2003, 07:39 PM   #1
LeoGeo
Registered User
 
LeoGeo's Avatar
 
Join Date: May 2002
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Coloring Particles?

Anyone can give me a hand? I wanna know how to make a single emitter that randomly emits red and green particles.

I know I can cheat by creating 2 emitters, let one emits red particles and the other one emits green particles. but that sounds very stupid...
LeoGeo is offline   Reply With Quote
Old 28-08-2003, 08:44 PM   #2
mind_raper
Registered User
 
Join Date: Nov 2002
Location: Pakistan
Posts: 57
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Well then try expressions on runtime:

here lots of helpfull scripts about particles regarding different aspects

: change the Value to get the desire color

http://www.forums.simplymaya.com/sho...&threadid=5601

enjoy coding:
__________________
Learn the Rules|Then|
Burn the Rules Book
mind_raper is offline   Reply With Quote
Old 28-08-2003, 09:01 PM   #3
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Good reply!

Also, do a search in the docs for "rgbPP", as that will help you achive "Per-Particle" coloring

Have fun!
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 30-08-2003, 10:07 PM   #4
LeoGeo
Registered User
 
LeoGeo's Avatar
 
Join Date: May 2002
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the reply. But I guess I'm too newbie to understand expression script . Anyway, I found another way to cheat and the following is what I did:

create a emitter 1st > Color > Add Per Particle Attribute > rgbPP > Create Ramp > assign birthTime in Input V > Edit Ramp, delete the blue color from the default ramp and set the Interpolation to None. Finally add some Noise and Noise Freq to the Ramp for randomness.
:bgreen:
LeoGeo is offline   Reply With Quote
Old 31-08-2003, 02:24 AM   #5
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Cool!

Can't wait to see your results!
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi 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.