User Manual

Table Of Contents
LUT in 1-4
The Custom Tool node provides 4 LUT splines. The values of these controls are available to
expressions entered in the Setup, Intermediate, and Channels tabs using the getlut# function.
For example, setting the R, G, B, and A expressions to getlut1(r1), getlut2(g1), getlut3(b1), and
getlut4(a1), respectively, would cause the Custom Tool node to mimic the Color Curves node.
These controls can be renamed using the options in the Config tab to make their meanings
more apparent, but expressions still see the values as n1, n2, ..., n8.
Custom Tool Setup Tab
Setup 1-4
Up to four separate expressions can be calculated in the Setup tab of the Custom Tool node.
The Setup expressions are evaluated once per frame before any other calculations are
performed. The results are then made available to the other expressions in the Custom Tool
node as variables s1, s2, s3, and s4.
NOTE: Because these expressions are evaluated once per frame only and not for each
pixel, it makes no sense to use per-pixel variables like X and Y or channel variables like
r1, g1, b1. Allowable values include constants, variables such as n1..n8, time, W and H,
and functions like sin() or getr1d().
Chapter – 100 Miscellaneous Nodes 2210