[Sidefx-houdini-list] I3d Opacity
jeff at sidefx.com
Thu Aug 3 16:24:39 EDT 2006
FYI the "life"attribute bound to particles is the only one that is like
this: where using $LIFE and $AGE index in to the two component special
"life" attribute to derive the resultant values.
On Thu, 2006-03-08 at 13:17 +0200, Jean-Claude wrote:
> Peter Bowmar wrote:
> > Hi Jaideep,
> > LIFE is a 2 float attribute, take a look in the spreadsheet in
> > SOPs. What you want to do is create a new attribute using Attribute
> > Create, call it "fade" or something, and set it to $LIFE. Then use
> > "fade" in the I3d code like you mention below.
> > LIFE is confusing because $LIFE (the local variable) gives you
> > 0-1 percentage of the particle's life. However, "life" the attribute
> > gives you the particle's age _in seconds_ (same as the $AGE local
> > variable) and the expected time of death _in seconds_. $LIFE is
> > actually the "life" attribute divided by the "life" attribute.
> > So, you can't use the "life" attribute directly as a result.
> > Cheers,
> > Peter B
> Peter... THANKS.. this has put lot of light about this thing to me as well...
> .: jean-claude
> .: mimgfx dot com
Jeff Wagner, jeff at sidefx.com, Senior Technology Consultant
Side Effects Software, www.sidefx.com, Toronto, Ontario, M5V 3E7
tel: (416) 504-9876, fax: (416) 504-6648
More information about the Sidefx-houdini-list