Houdini 22.0 Nodes Copernicus nodes

Curl Copernicus node

Computes the curl of a vector field.

On this page
Since 22.0

This node computes the curl of the input vector field to calculate that vector field’s circulation. For a UV layer, the node outputs a mono layer that stores the 2D scalar curl. For a Vector VDB, the node outputs a Vector VDB that stores the 3D curl.

Use this node to measure local rotation in a vector field.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Space

The space in which to compute the curl. This affects the magnitude of the result. Anisotropic scaling in the chosen space can also affect the result.

Image

Compute the curl in image space. This normalizes the change in values by the image-space pixel size.

Pixel

Compute the curl in pixel space. This normalizes the change in values by the pixel size.

Local

Compute the curl in local space. This normalizes the change in values by the world-space pixel size.

Scale

The amount by which to multiply the computed curl.

Kernel Size

The maximum distance (in buffer elements) of the pixels or voxels to use to compute the derivatives for the curl.

A derivative is often computed with adjacent pixels or voxels, but if the values are slowly varying there may not be enough bit-depth to get smooth derivatives. Increasing this value may remove stepping artifacts from the result.

Read Pixels outside Image

Makes derivatives at the boundary read pixels outside of the image. When off, derivatives at the boundary read pixels within the image range.

Turning this parameter on is useful when building seamless textures with a Wrap border type. Turn this off when you want to avoid artificial flattening of the derivative at the boundary in a Clamp border type, as it acts like an extrapolation.

Inputs

v

The UV layer or Vector VDB that stores the vector field from which to compute the curl.

Outputs

result

The computed curl. For UV inputs, this is a mono layer. For Vector VDB inputs, this is a Vector VDB.

See also

Copernicus nodes