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 15-02-2004, 06:25 AM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default die a silent death

Hey gang,

I've got a very simple particle system using instanced geometry that has gravity and collides with a plane and comes to a stop.

What I want to do next is have each geometry object fade out when it comes to a stop. I've thought of trying to use a collision event, or just to script when the velocityPP = 0, but the thing is when I change the transparancy value for one, they all fade out since each instance uses the same shader.

Can anyone think of how to do this?
Dann is offline   Reply With Quote
Old 15-02-2004, 11:04 AM   #2
dirack
Registered User
 
dirack's Avatar
 
Join Date: Oct 2003
Location: Cage #42 of the Asylum
Posts: 396
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try either assigning a ramp to the radiusPP, and tweak it until you like it, or try assigning an expressions to the Y position, age or velocity, and create a vertical asymptotus in it. If you want (on that) more info, just ask
dirack is offline   Reply With Quote
Old 15-02-2004, 11:51 PM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I can't shrink it, I need to fade it out. Thank anyway.
Dann is offline   Reply With Quote
Old 16-02-2004, 12:20 AM   #4
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

add an opacity per particle array and map it with a ramp to control it.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 16-02-2004, 12:26 AM   #5
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

But Mike, that doesn't work for instanced geometry, does it? I tried that.
Dann is offline   Reply With Quote
Old 16-02-2004, 12:44 AM   #6
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

must've missed that part. I don't use instanced geometry much, but I'd have to guess that you could key the transparancy of the shader it uses.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 16-02-2004, 12:45 AM   #7
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

It should because you're not fading out the original instances persay, more the actual "newly spawned" particle object(s) and its' contained instances via the opacityPP.

Understand? If not let us know

Basicly, when you make the collision event, you now have a totaly new/separate set of instanced geometry.
It may be all coming from the same instanced object, but the new instances are separate from the original ones.

So you are not affecting the original instances with the opacityPP, just the new one(s) created by the collision event.
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 16-02-2004, 01:00 AM   #8
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

When I try using opacityPP nothing happens, it doesn't fade like i want it. My ramp does from black to white so shouldn't it fade? Also, how do I link the fade to collision or velocity?

Here's my file in case you want to take a look.
Attached Files
File Type: ma collide_v01.ma (73.1 KB, 17 views)
Dann is offline   Reply With Quote
Old 09-03-2004, 08:36 PM   #9
satch
Registered User
 
Join Date: Dec 2002
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can't animate the opacityPP of an instanced obj, you are "instancing " a single object. A work around is to create several duplicates of your original obj, replace the texture on each of them with a copy of the original, and have each one progressively more transparent. You would then create an instance library with all of these - in order- and have your particle instances cycle through the animation. you could script them to start the cycle at a certain velocity, or create a collision event and have the orig particle die and emit this new animated instance. etc...

Hope this helpful.
satch is offline   Reply With Quote
Old 09-03-2004, 08:56 PM   #10
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

That's what I ended up doing. Ugly work-around, but effective.

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