User Manual

Table Of Contents
Random Seed
Use this to set the seed for the rand() and rands() functions. Click the Randomize button to set
the seed to a random value. This control may be needed if multiple Custom Tool nodes are
required with different random results for each.
Number Controls
There are eight sets of Number controls, corresponding to the eight Number In sliders in the
Controls tab. Uncheck the Show Number checkbox to hide the corresponding Number In slider,
or edit the Name for Number text field to change its name.
Point Controls
There are four sets of Point controls, corresponding to the four Point In controls in the Controls
tab. Uncheck the Show Point checkbox to hide the corresponding Point In control and its
crosshair in the viewer. Similarly, edit the Name for Point text field to change the control’s name.
Custom Tool Channels Tab
RGBA, Z, UV Expressions, and XYZ Normal Expressions
The Channel tab is used to set up one expression per each available channel of the image.
Each expression is evaluated once per pixel. The result creates the value for that pixel in the
output of the image.
Color Channel expressions (RGBA) should generally return floating-point values between 0.0
and 1.0. Values beyond this are clipped if the destination image is an integer. Other expression
fields should produce values appropriate to their channel (e.g., between -1.0 and 1.0 for Vector
and Normal fields, 0.0 to 1.0 for Coverage, or any value for Depth). The Channel expressions
may use the results from both the Setup expressions (as variables s1s4) and Inter expressions
(as variables i1–i4).
Custom Tool Node Syntax
Value Variables
n1..n8 Numeric Inputs
p1x..p4x Position Values (X-axis)
p1y..p4y Position Values (Y-axis)
Chapter – 100 Miscellaneous Nodes 2212