# how does matrix represent the 3D world?

This topic is 4892 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

i wonder if these components of a matrix are just data that represent x-rotation, y-rotation, position and etc. regards, Tim

##### Share on other sites
If you are talking about matrices in 3D graphics then I believe so.

Not too much of an expert myself, but (for OpenGL):
http://www.morrowland.com/apron/tutorials/gl/gl_matrix.php

##### Share on other sites
This is a good introductory text that might help you get up to speed on matrix and vector math.

As to your question, a 4x4 matrix can be used to represent quite a few things. Quite often it represents, as you suggested, a rotation and a translation. The translation vector is stored in the bottom row or right column. The upper-left 3x3 sub-matrix stores in its rows or columns the orthonormal basis vectors that represent the rotation. The remaining row or column is set to [0 0 0 1].

The 3x3 sub-matrix can also incorporate other transformations such as scale, shear, and reflection. Other uses for 4x4 matrices include projecting from 3d to 2d.

1. 1
Rutin
38
2. 2
3. 3
4. 4
5. 5

• 11
• 10
• 13
• 104
• 11
• ### Forum Statistics

• Total Topics
632977
• Total Posts
3009677
• ### Who's Online (See full list)

There are no registered users currently online

×