At the moment I'm learning OpenGL ES for Android development. Now I'm at the point where I have to deal with the ModelMatrix
and the CameraMatrix
but I have some questions for it: In OpenGL we always use 4x4 matrix and I understand why we do this but I do not know where the different values are stored in this matrix. For example the rotation and the position. Let's say we have this 4x4 matrix:
0 1 2 3
-----------------
0 | | | | |
-----------------
1 | | | | |
-----------------
2 | | | | |
-----------------
3 | | | | |
-----------------
Can you please tell me where I can find the current rotation
, position
and the scale
of the object / camera in this matrix? And is this for every matrix in the same position?