Houdini 21.0 Nodes APEX nodes

transform::Blend

Blends between two matrices.

On this page
Since 20.0

Blends between the transformations represented by the two input matrices. Any combination of translation, rotation, and scale can be selectively used during the blend.

Inputs

a: Matrix4

The initial transformation.

b: Matrix4

Components of this transformation are blended into the initial transformation.

blend: Float

When blend is 0, matrix a is returned. When blend is 1, the components of b override the components of a. When blend is between 0 and 1, the components of the transformations are blended.

components: Int

A bitmask that determines the transformation components of matrix b to use during the blend. The default value is 7 (use the translation, rotation, and scale components).

The ComponentBoolsToInt subgraph provides a convenient interface for building the bitmask from Bool values.

accurate: Bool

If set to True, the rotation is interpolated using spherical interpolation instead of linear interpolation.

Outputs

result: Matrix4

The blended transformation.

See also

APEX nodes