Houdini 20.5 Nodes Copernicus nodes

SDF to RGB Copernicus node

Converts an SDF field to an RGB color layer.

On this page

Overview

This node takes a 2D signed distance field and converts it to a Mono Layer image that can be used for compositing.

Parameters

Background

Background Color

Controls the color outside the shape defined by the signed distance field. To remap the distance field, change the menu on the right side of this parameter from Constant to Use Ramp.

Iso Range

Specifies the horizontal extent of the Color Ramp, which is evaluated to transform the signed distance field to background color.

Color Ramp

Controls how the signed distance field values are remapped to color. The horizontal axis of this ramp spans Iso Range.

For more information about using ramps, see Ramp parameters.

Shape

Draw Shape

When turned on, the shape defined by the signed distance field is drawn.

Shape Color

Controls the color inside the shape defined by the signed distance field. To remap the distance field, change the menu on the right side of this parameter from Constant to Use Ramp.

Iso Distance

Specifies the distance from the border of the shape. This is the horizontal extent of the Color Ramp, which is evaluated to transform the signed distance field to shape color.

Color Ramp

Controls how the signed distance field values are remapped to color. The horizontal axis of this ramp spans between the border of the shape and Iso Distance.

For more information about using ramps, see Ramp parameters.

Outline

Draw Outline

When turned on, the outline of the shape defined by the signed distance field is drawn.

Outline Color

Controls the color of the outline at the border of the shape defined by the signed distance field.

Outline Width

Controls the thickness of the outline. Increase this value to create a thicker outline.

Alignment

Controls if the outline is drawn inside or outside the shape, while touching the border of the shape defined by the signed distance field. Optionally, the outline can be centered around the border of the shape.

Shadowing

Draw Shadowing

When turned on, a shadow is drawn that is cast by the shape defined by the signed distance field.

Shadow Density

Controls the visibility of the shadow. Lower this value to make the shadow less visible.

Shadow Falloff

Controls the extent of the shadow. Increase this value to make the shadow cover larger areas.

Shadow Color

Controls the color of the shadow.

SDF

Iso Value

Controls the crossing point of the signed distance field values that is considered the border of the shape. Higher values will enlarge the shape, while lower values will shrink the shape.

Onion Skin

When turned on, the shape is made into a hollowed thin shape, and this value controls the thickness around the original border. This is achieved by taking the field’s absolute value and subtracting this number from it.

Smooth

When turned on, controls the smoothness of the shape or outline. Increase this value to blur the shape.

Anti-Aliasing

When turned on, it reduces the jagged edges by smoothing the drawn shapes and outlines.

Invert

When turned on, this will swap positive and negative values, making the outside region to be considered the inside of the shape.

Inputs

sdf

The SDF Mono layer to convert.

Outputs

rgb

The converted RGB color layer.

See also

Copernicus nodes