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. 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 to compute the curl in. This affects the magnitude of the result. The result may also be affected by anisotropic scaling in the selected space.

Image

Compute the curl in Image Space, by normalizing the change in values by the image-space pixel size.

Pixel

Compute the curl in Pixel Space, by normalizing the change in values by the pixel size.

Local

Compute the curl in Local Space, by normalizing the change in values by the world-space pixel size.

Scale

Multiplies the computed curl by this amount.

Kernel Size

The distance (in buffer elements) to compute the derivatives used 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

Determines if derivatives at the boundary should read outside the image or restrict to the image range.

Turning this parameter on is useful when building seamless textures with a wrap border type. Turn this off if 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