Erakis

11-12-2005, 09:22 AM

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 VectorWhy 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 VectorIs there any difference between these two matrix ?

Thanks for you help.

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 VectorWhy 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 VectorIs there any difference between these two matrix ?

Thanks for you help.