Houdini 21.0 Nodes Copernicus nodes

ID to SDF Copernicus node

Computes a signed distance field from changes in ID values.

On this page

This node generates a signed distance field (SDF) for each ID. The node builds an SDF that stores the distance to changes in ID values. For example, wire a Tile Pattern COP’s id output into this node to create SDFs for each tile ID.

To further configure the output, wire this node into other SDF nodes (such as SDF to Mono).

Parameters

Invert

Inverts the sign. Since an ID field is two-sided and has no inside or outside, its values usually have a positive distance. Inverting therefore changes this to a negative distance.

Iterations

The number of times to compute the distance to changes in ID values. A value of 1 is sufficient when there’s a uniform speed field, but you may need higher values for the distances to fully propagate if the speed has complex variations.

Tile Size

The size of the blocks to break the layer up into.

This parameter helps balance the serial and parallel components of the algorithm. This shouldn’t affect the behavior when the algorithm’s converged. The default values should be sufficient.

Inputs

id

The ID layer. The node computes the distance to changes in ID values.

Outputs

sdf

The signed distance to the nearest border where ID values changed.

See also

Copernicus nodes