Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
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 28-08-2003, 08: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, 09: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, 10: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, 11: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, 03: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

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-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.