Make Transformation Matrix Look At#

Make a transformation matrix from eye, center world-space position and an up vector. Forward vector is negative Z direction computed from eye-center and normalized. Up is positive Y direction. Right is the positive X direction.

Installation#

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

eye

vectord[3]

The desired look at position in world-space

[1, 0, 0]

center

vectord[3]

The desired center position in world-space

[0, 0, 0]

up

vectord[3]

The desired up vector

[0, 1, 0]

Outputs#

Name

Type

Description

Default

transform

matrixd[4]

The resulting transformation matrix