[Sidefx-houdini-list] I3d Opacity
pbowmar at gmail.com
Thu Aug 3 05:42:13 EDT 2006
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.
On 03/08/06, Jaideep Khadilkar <iamjaideep80 at yahoo.com> wrote:
> Hi Everybody...
> I want to do some nice smoke and dust using I3d. I am generating particles and they die as time passes. I want to fade them out with the Life. For that I modified my metacloud shader. I passed "LIFE" point attribute with the metaballs, and in I3d code, multuplied (1-mattrib("LIFE",P)) with the final density. But it is not working. They r still poping off. Where I am going wrong ??
> Is there any other method to do this???
> Plz Help....
> Jaideep Khadilkar
> (TD, Sciclone Motion Graphics)
> Groups are talking. We´re listening. Check out the handy changes to Yahoo! Groups.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list