Hi,
Here is an OpenGL matrix representation (From OpenGL 1.2 Mason Woo):
[1, 0, 0, 0] <- X Components of Vectors
[0, 1, 0, 0] <- Y Components of Vectors
[0, 0, 1, 0] <- Z Components of Vectors
[0, 0, 0, 1] <- Perspective Vector ***
| | | |-- Translation Vector ***
| | |----- Z Axis Vector
| |-------- Y Axis Vector
|----------- X Axis Vector
Why some math Web sites interprete Translation vector as :
[1, 0, 0, 0] <- X Components of Vectors
[0, 1, 0, 0] <- Y Components of Vectors
[0, 0, 1, 0] <- Z Components of Vectors
[0, 0, 0, 1] <- Translation Vector ****
| | | |-- Perspective Vector ***
| | |----- Z Axis Vector
| |-------- Y Axis Vector
|----------- X Axis Vector
Is there any difference between these two matrix ?
Thanks for you help.