FieldSwizzle

The FieldSwizzle node allows you to rearrange and merge the components of multiple input fields. This is analogous to the Shuffle node. The output consists of vectors made from components of up to three input fields.

Note:  This is a LABS node, indicated in Nuke with the tag:
LABS nodes are experimental and not intended to be used for production.

Inputs and Controls

Connection Type

Connection Name

Function

Input

A

An input for connecting other Field nodes.

B An input for connecting other Field nodes.
C

An input for connecting other Field nodes.

Control (UI)

Knob (Scripting)

Default Value

Function

FieldSwizzle Tab

X input_x A Select an input.
swizzle_x swizzle_x X Select a component to swizzle.
Y input_y A Select an input.
swizzle_y swizzle_y Y Select a component to swizzle.
Z input_z A Select an input.
swizzle_z swizzle_z Z Select a component to swizzle.
Display Tab
Draw Bounding Box preview_bounds off Draw the bounding box of the field if it has one.
Draw Preview preview_on off Draw a rough preview of the field.
Preview Opacity preview_opacity 0.5 The opacity at which to draw the preview.
Scale preview_scale 1 A value by which the field is multiplied before drawing. You may need to increase this to display faint volumes for example.
Offset preview_offset 0 A value added to the field before drawing (after scaling).
Detail preview_detail 1 The detail level at which the preview is drawn. Large values are more accurate but slower to draw.