FieldShapeToDensity

The FieldShapeToDensity node converts a signed distance field to a density field with optional feathering. Signed distance fields are hard-edged. Converting them to density allows the edges to be feathered or the density to be modified inside the shape.

Inputs and Controls

Connection Type

Connection Name

Function

Input

fld

An input for connecting to Field that you wish to convert.

Control (UI)

Knob (Scripting)

Default Value

Function

Field ShapeToDensity Tab
Feather feather 0 Sets how much feathering to apply.
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.