View Full Version : Camera position

03-17-2001, 08:57 AM
hi there,

i have a small matrix question
i want to know the camera position from the modelview matrix
i know that the values for the translation are in 12 13 14
but when i rotate and the translate the values are changed to the camera point of view

so how can i get the real position?

thanx in advance.

03-19-2001, 12:27 AM
multiply the modelview matrix with an identity matrix that should give you the actual x,y,z,w