Houdini 21.0 Nodes Geometry nodes

Labs Straighten 1.0 geometry node

Orients a mesh based on up and front groups.

In photogrammetry workflows, it’s common to encounter a mesh with an arbitrary orientation. Traditionally, the best approach is to use a transform node to manually orient the mesh and visually verify its proper orientation.

This node assists in this workflow by allowing users to define a group of polygons facing up and an optional group facing forward. It then calculates the necessary rotations to ensure the average normal of the up group faces upwards, and the same for the front group.

Tip

Selecting different disconnected areas that have similar normals helps with the orientation

Mesh before straightening

Mesh after straightening

Parameters

Group Type

The type of the up and front groups or selections.

Up Group

The group or geometry selection that will be used as the up direction.

Invert Up Axis

Inverts the up axis, so it uses the -Y direction instead of the +Y.

Align Forward

Orients the mesh using both the forward and up directions.

Forward Group

The group or geometry selection that will be used as the forward direction.

Output Transform

Creates a detail attribute with this name, containing a 4×4 matrix representing the applied transform.

Geometry nodes