Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Dynamics / Help with particle Instancer fading out please!
  RSS 2.0 ATOM  

Help with particle Instancer fading out please!
Rate this thread
 
39901
 
Permlink of this thread  
avatar
  • Baphy
  • Posted: 18 February 2010 03:21 AM
  • Total Posts: 4
  • Joined: 18 February 2010 11:09 AM

Hello

Im searching for about a week how to do that, i just found 1 tutorial, i know how to use the ramp for opacityPP, but that doesn’t work with instancer, i would like to know the script to make that possible.

Thanks



Replies: 0
avatar
  • THNKR
  • Posted: 18 February 2010 04:04 AM

It is not possible to use per particle attributes to control the shader on a particle instance. You can create a series of objects, each with the desired level of transparency and use those to fake the effect.



Replies: 1
/img/forum/dark/default_avatar.png

Hi THNKR, thanks for the answer

my Script level is a litte low, i create 10 objects with diferent materials each with diferent levels of transparency, them i add a attribute, for the indexPP to start at 0

my problem is how do i chose each object in time, i know that i need to play with the age and lifespan and maybe create 2 other attributes

There is a example anywhere of that?

sorry about my english

Thanks

Author: Baphy

Replied: 18 February 2010 07:37 AM  
avatar
  • Sire
  • Posted: 18 February 2010 10:11 AM

Create your 10 objects with the materials and add your indexPP, as you did.

Create the opacityPP.
Add a ramp to you opacityPP as normal.

add this to creation expression & runtime expression
indexPP = opacityPP * 10;



Replies: 1
/img/forum/dark/default_avatar.png

Sire

Thank you so much, i already did it!!

thanks thanks thanks!!

Author: Baphy

Replied: 19 February 2010 02:10 AM