SimplyMaya Forums

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


SM Forums / Maya Questions / Dynamics & Special Effects / Coloring Particles?

Dynamics & Special Effects Maya Particles, nDynamics, Fluids, Rigid Bodies & General VFX

Join the conversation. Reply to post
 
Thread Tools
28-08-2003, 07:39 PM   #1
LeoGeo
Registered User
 
LeoGeo's Avatar
 
Join Date: May 2002
Posts: 21
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...
  Reply with quote
28-08-2003, 08:44 PM   #2
mind_raper
Registered User
 
Join Date: Nov 2002
Location: Pakistan
Posts: 57
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
  Reply with quote
28-08-2003, 09:01 PM   #3
ragecgi
Registered User
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
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
  Reply with quote
30-08-2003, 10:07 PM   #4
LeoGeo
Registered User
 
LeoGeo's Avatar
 
Join Date: May 2002
Posts: 21
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:
  Reply with quote
31-08-2003, 02:24 AM   #5
ragecgi
Registered User
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Cool!

Can't wait to see your results!
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cloud Particles doesn't work? Darkmot Dynamics & Special Effects 1 05-07-2012 01:36 PM
Particles and Dynamics Bluethunder Dynamics & Special Effects 12 24-07-2008 06:33 AM
Rendering Particles TAZINLWFL Maya Basics & Newbie Lounge 3 04-08-2006 04:22 PM
Particles moving on a surface! Please Help! Eurofiles Dynamics & Special Effects 4 31-07-2006 06:55 AM
Particles moving on a surface! Please Help! Eurofiles Work In Progress 1 28-07-2006 02:04 AM