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 Unchanged

Draw the bounding box of the field if it has one.

Select between On, Off, and Unchanged. Unchanged means that this option is inherited from nodes above it in the node graph. By inheriting On or Off from above, this means this setting only needs to be edited in one node to affect the display across all Field nodes in the node graph.

Draw Preview preview_on Unchanged

Draw a rough preview of the field.

Select between On, Off, and Unchanged. Unchanged means that this option is inherited from nodes above it in the node graph. By inheriting On or Off from above, this means this setting only needs to be edited in one node to affect the display across all Field nodes in the node graph.

Opacity preview_opacity 1 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.