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 |
|
The desired look at position in world-space |
[1, 0, 0] |
center |
|
The desired center position in world-space |
[0, 0, 0] |
up |
|
The desired up vector |
[0, 1, 0] |
Outputs#
Name |
Type |
Description |
Default |
---|---|---|---|
transform |
|
The resulting transformation matrix |