FieldConstant

The FieldConstant node creates a 3D field with a constant value over all 3D space.

Inputs and Controls

Connection Type

Connection Name

Function

No inputs.

Control (UI)

Knob (Scripting)

Default Value

Function

FieldConstant Tab

Type type Vector Choose between various types of field: Scalar, Vector, Point and Color. The difference is that you get different types of knob for the value (e.g. a color knob for colors), and the type also affects the preview - e.g. colors are drawn as a color volume, while vectors draw as arrows.

Value

value

x = 0, y = 0, z = 0

Specifies the x, y, and z values of the Field constant. (Vector)

Value scalar_value 0 Specifies the value. (Scalar)

Point

point_value

x = 0, y = 0, z = 0

Specifies the x, y, and z values of the Field constant. (Point)

Color scalar_value 0 Specifies the value. (Color)
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.