LookAt

From K-3D

(Difference between revisions)
Jump to: navigation, search
m
Line 6: Line 6:
== See Also ==
== See Also ==
-
 
+
[http://www.college-paper.org/custom-essay.html college essays]
[[ViewMatrix]], which has explicit control over the "up" vector.
[[ViewMatrix]], which has explicit control over the "up" vector.

Revision as of 09:54, 16 July 2010

Description

Image:LookAt.png Orients a transformation matrix to look at another
Plugin Status:Stable
Categories:All Plugins, Stable Plugins, Transform Plugins

Metadata

Name Value

Properties

Label Description Type Script Name
Input Matrix Input matrix k3d::matrix4 input_matrix
Output Matrix Output Matrix k3d::matrix4 output_matrix
Target matrix Target matrix k3d::matrix4 target_matrix


Notes

LookAt generates a trivial transformation matrix that will orient one node to "look at" another. Specifically, LookAt takes the vector connecting the origins of its two input matrices (the "look" vector), and converts it into a rotation. Note that this process does not preserve any notion of a natural "up" or "down", so an object controlled by LookAt may be rotated around the look vector in nonintuitive ways.

See Also

college essays ViewMatrix, which has explicit control over the "up" vector.

Personal tools