Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   Coloring Particles? (https://simplymaya.com/forum/showthread.php?t=7688)

LeoGeo 28-08-2003 07:39 PM

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...

mind_raper 28-08-2003 08:44 PM

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:

ragecgi 28-08-2003 09:01 PM

Good reply!

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

Have fun!

LeoGeo 30-08-2003 10:07 PM

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:

ragecgi 31-08-2003 02:24 AM

Cool!

Can't wait to see your results!


All times are GMT. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018