FieldMath

The FieldMath node performs various maths operations on the field inputs.

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.

Note:  If any of these are disconnected, the corresponding A/B/C knob will be displayed instead. This lets you, say, add 1 to a field by setting the B input to 1, which is easier than making a FieldConstant and connecting the B input to it.

Control (UI)

Knob (Scripting)

Default Value

Function

FieldMath Tab

Operation

operation

Add

Specifies the type of math operation to do.

A constant_a x = 0, y = 0, z = 0 Manually set A field constant.
B constant_b x = 0, y = 0, z = 0 Manually set B field constant.
C constant_c x = 0, y = 0, z = 0 Manually set C field constant.
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.