Houdini 20.0 Nodes Geometry nodes

Bound geometry node

Creates a bounding box, sphere, or rectangle for the input geometry.

On this page

You can use the bounding box with the Lattice node to create a deformation cage for the input geometry.

Note

The transform order of the Bound SOP is rotate → translate. Scale isn’t available, because the size of the bounding box is determined by the radii attribute (see Radii Attribute parameter).

Parameters

Group

Subset of geometry to bound.

Group Type

The type of elements referenced in the Group field.

Keep Original

Keep the input geometry.

Create Bounding Geometry

Toggles whether the bounding geometry is created. Disabling this can be useful to record only the Radii Attribute or Transform Attribute on the original geometry (for example, to use with Transform By Attribute).

Create When Bounds Empty

If there is no input geometry or the specified group is empty, a zero sized bounding box will be created at the origin. Turning this off will cause an empty geometry to be created instead.

Bounding Type

Specifies whether to create a bounding box, sphere, or rectangle.

Oriented Bounding Box (points only)

Orients the bounding box to the axes of the input geometry instead of the world axes.

Note

This algorithm is based on points and so requires primitives with vertex hulls. It will not work with, for example, a primitive sphere or packed geometry. To get the bounding box of a primitive sphere, first convert it to polygons.

Refinement Iterations

Performs additional iterations to optimize the fit of the oriented bounding box.

Divisions

Number of divisions for the bounding box, along the xyz axes.

Enforcement Bars

Places diagonal crossbars in the divisions of the box.

Orientation

Poles of sphere align with orientation axis.

Accurate Bounds

Use a more accurate (but slower) bounding sphere calculation.

Minimum Radius

Specifies the minimum radius of the bounding sphere.

Oriented Bounding Rectangle

Specifies whether to compute an oriented or axis-aligned bounding rectangle.

Origin

Origin of the projection plane used when computing the bounding rectangle.

Distance

Distance to translate the bounding rectangle’s projection plane along its normal.

Direction

The normal vector of the projection plane for the bounding rectangle.

Lower, Upper Padding

The computed bounding box or sphere is enlarged by these padding values. Note that in the case of spheres, non-uniform padding values will not guarantee the resulting sphere still contains the input geometry.

Output Bounds Group

Toggles whether the Bounds Group is added to the geometry. The Bounds Group can be used to identify primitives in the bounding shape when Keep Original is enabled.

Bounds Group

Creates a primitive group with this name, containing the primitives representing the bounding shape.

Output Transform Attribute

Toggles whether the Transform Attribute is added to the geometry.

Transform Attribute

Creates a detail attribute with this name, containing a 4×4 matrix representing the bounding shape’s translation and rotation. You can this with, for example, Transform By Attribute to apply or reverse the transformation elsewhere.

Output Radii Attribute

Toggles whether the Radii Attribute is added to the geometry.

Radii Attribute

Creates a detail attribute with this name, describing the extents of the bounding shape. For a sphere this contains the X, Y, and Z radii, and for a bounding box or rectangle this contains the half-length along each axis.

Examples

BoundingBox Example for Bound geometry node

This example demonstrates how to create a bounding box from geometry.

See also

Geometry nodes