Houdini 22.0 Nodes Copernicus nodes

HeightField Clip Copernicus node

Clamps height values to a minimum and/or maximum value.

On this page

This node clips the input height layer between optional lower and upper limits and outputs a mask for each clipped region.

Parameters

Mask

The amount of clipped height to mix with the original height.

Compute Range

Click to fill in the Lower Limit and Upper Limit parameters with the minimum and maximum values of the input height layer.

Lower Limit

When enabled, clamps height values that are below the limit.

Tip

Click and then click the layer in the viewport to set the Lower Limit.

Upper Limit

When enabled, clamps height values that are above the limit.

Tip

Click and then click the layer in the viewport to set the Upper Limit.

Clamped Values

The value that replaces the clamped values.

Replace with Limit Value

Clamped values are replaced by the value they went over or under. For example, when clamping between 0 and 1, -1 becomes 0 and 2 becomes 1.

Soft Clip

Clamped values are smoothly transitioned across a Soft Clip Range to avoid hard edges.

Soft Clip Direction

The direction to smoothly transition the clamped values.

Soft Clip Outside Range

Transition of the clamped values below the Lower Limit and above the Upper Limit, extending the effects of clamping.

Soft Clip Inside Range

Transition of the clamped values above the Lower Limit and below the Upper Limit, narrowing the effects of clamping.

Soft Clip Range

A smoothing range for the transition from the limit value to the original values.

Inputs

height

The original heightfield to clamp.

lower

An optional per-pixel scaling amount of the lower limit.

upper

An optional per-pixel scaling amount of the upper limit.

mask

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

Outputs

height

The clamped heightfield.

lowermask

A mask corresponding to the region that was clamped by the lower limit.

uppermask

A mask corresponding to the region that was clamped by the upper limit.

Copernicus nodes