Hey there -

Sort of a general question for a specific problem:

I have a 3x3 color matrix I am needing to pass values to. Does anyone have any 
idea what would be more efficient: a single expression returning a list of 
lists, duplicated for each value in the matrix but sliced appropriately per 
value ( exp()[0][0], exp()[0][1], etc), or a callback that did a 
fromScript(myFormattedForMatrixList) and basically pushed the values at every 
relevant knob change?

Or is there something better I'm not thinking of, other than writing a plugin?

The multiple expressions don't seem as efficient, in that it is being evaluated 
9 times, but I'm not sure how efficient a knobChanged callback ultimately ends 
up being in conjunction with all the other callbacks when the script gets large.

Thanks -
Jrab_______________________________________________
Nuke-python mailing list
Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to