FieldGrid

The FieldGrid node samples the input field at points in a grid and stores it internally. The output is a linear interpolation of the grid. This node is useful if you have a field which is slow to compute. You can add a FieldGrid to bake it down into a grid. The grid might be slow to create, but the resulting field can be much faster, although less accurate. FieldGrid will rebake the grid whenever the input field changes.

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

fld

The field to which you intend to apply the grid.

Control (UI)

Knob (Scripting)

Default Value

Function

FieldGrid Tab

Grid Container

gridContainer

Field3d

Specify the type of grid to apply.

Count xcount, ycount, zcount 10, 10, 10 Specify the size of the grid. The maximum size is kMaxFieldSize.
Bounds bounds x = -0.5, y = -0.5, n = -0.5, r = 0.5, t = 0.5, f = 0.5 Specify the bounds of the grid.
Set bounds from input set_bbox N/A Select this button to set the bounds based on the size of the field connected via the fld input.
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.