Houdini 20.5 Nodes Copernicus nodes

Smooth Fill Copernicus node

Smoothly fills a region of a layer.

On this page

This operation will solve the Poisson equation bounded by a provided fill area. The result is to find a smooth set of values that interpolates the boundary of the region - effectively filling it with an averaged result.

This is an iterative algorithm so may require many iterations to converge, and will be resolution depenendent if it has not converged. Having initial values close to the final values will also speed the convergence.

Parameters

Signature

The layer type that the source accepts.

See Signatures for more information.

Mask

The amount of the new value to mix in with the original value. Higher values mix in more of the new value. Lower values mix in less of the new value. A value of 1 means this node uses only the new value.

The default value is 1. See Mask for more information.

Fill

The fillarea input defines what is inside and should be filled.

Below Threshold

Anything below the threshold will be filled.

Above Threshold

Anything above the threshold will be filled.

Threshold

The threshold value in the fillarea layer to start filling.

Iterations

The number of iterations to relax the filled values to achieve a smooth result.

Acceleration

A value of 1 ensures the values strictly smooth as iterations increase, ensuring stability and that uncoverged pixels are still artifact free. However, successive over relaxation can be performed to speed up convergence, so this can be raised as high as 1.98 to speed up the process.

Inputs

source

A layer to smoothly fill a region of.

fillarea

A Mono layer specifying what parts should be filled.

mask

An optional per-pixel mask amount that’s scaled by the Mask parameter.

Outputs

smoothfill

The source layer with the fillarea smoothly filled.

See also

Copernicus nodes