Linear expression in Nuke

Hi!

How would I go about writing an expression in Nuke that would give me the result After Effects gives with the following code snippet:

linear(t, t_min, t_max, min_value_out, max_value_out)

In AE this will remap or interpolate the values coming into the function to the new range specified by the "min_value_out" and "max_value_out". It is very useful when you want to drive an effect based on another parameter.

I’ve tried seaching the forums for this, but no luck so far…

Cheers!

Øyvind

No Responses to “Linear expression in Nuke”

Post a Comment