If you set Crop mode to “Intersect”, the node acts like a cropping tool, removing parts of the height field outside the new boundaries.
If you specify new boundaries outside or overlapping the original boundaries:
If Crop mode is “Intersect”, the output will not extend beyond the original boundaries. (If the boxes do not overlap at all, the node will output a 1×1 height field instead of an empty volume.)
If Crop mode is “Replace”, the output uses the new boundaries and areas outside the original boundaries are filled using the boundary extension policy. This is useful for moving a “window” onto a larger height field through world space.
If Crop mode is “Union”, the output uses the bounding box of the original and new boundaries, and any areas outside the original boundaries are filled using the boundary extension policy. This is useful for changing the size of the height field canvas in world space.
(You can set the border extension policy (Border type) on a height field using the Heightfield Layer Property node.)
“Intersect” sets the boundaries to the intersection of the original and the box specified below. “Replace” sets the boundaries to the box specified below. “Union” set the boundaries to the bounding box of the original and the box specified below.
Crop Mask Layer
Crop to the bounding box of this mask layer.
Keep Where Below Crop Value
If Crop Mask Layer is not empty, only consider mask values above a certain minimum when computing the bounding box of the mask.
The minimum mask value to consider when Crop mask layer and Keep where below crop value are one.
The orientation of the cropped region. Disabled when Crop mask layer is on.
The width and length of the cropped region. Disabled when Crop mask layer is on.
The center of the tile where the cropping will occur. Disabled when Crop mask layer is on.
Number of extra voxels added to the width and height for padding.
Use Point Bounds
Computing the bounds of the second input can be done either by the bounds of the primitives or the bounds of the points. For example, primitive sphere will only enlarge the bounds with its center point when in point mode. On the other hand, if the volume is rotating away from the axes, the point mode will produce a tighter fit.
If there is a
pscale attribute on the points, each point will be grown by its
pscale attribute when bounds are computed.