geo instances linked to particle life ?

attempting a python solution to this . In my network you will see :

op(‘point1’).life(0)

as not working.

do i need ‘point ID’ in my scripting somehow ?
instanceFade.4.toe (6.96 KB)

Yeah life isn’t a member of the SOP, particle or point class so you can’t grab that way. A couple of solutions:

  • in the past I’ve used the life variable as a value in a custom attribute and then used that attribute to set the opacity in a custom shader
  • grab the life value of the point from the dat like you have based on the index of the instance

or the easiest way which you were close to doing is to use the life variable to set the point alpha in the point SOP. LIFE is a variable though not a member so you needed this line instead:

1-float(me.var('LIFE'))

hope this helps

cheers
Keith

here’s the edit.
instanceFade.4.toe (7.02 KB)

thank you sir!