[expression lookupnode.lut.master(xVal)]
e.g.
[expression myLookup.lut.master(.25)]
-Nathan
From: Gabor L. Toth
Sent: Wednesday, November 14, 2012 8:19 AM
To: Nuke user discussion
Subject: [Nuke-users] lookup curve in particle expression
Hi,
can I use somehow the result of a lookup curve at a given value, in a particle
expression?
I would like to control the absolute position of a group of particles according
to the curve, and by particle id. Something like particle curve node, but not
by time, but id.
Tcl expression [value lookupnode.lut.master] always gives a constant value. I
tried with python [python lookupnode['lut'].getValueAt( [id/maxNumber] )] but
this behaves very strange: doesn't give an error, but not really doing what I
want (not changing if I change the lookup curve)
What could be a proper syntax?
Thanks,
Gabor
--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users