PDA

View Full Version : how to transform from camera space into world spac



apapaxionga
04-04-2011, 06:36 AM
how to transform from camera space into world space? How can i get the inverse matrix ?

Alfonse Reinheart
04-04-2011, 07:10 AM
Do you think you could post this thread in a few more forums?

Not to mention, some light Googling for "inverse matrix" would give you the answer.

apapaxionga
04-04-2011, 08:00 AM
i mean that i can just use
glMatrixMode(GL_MODELVIEW);
glGetFloatv(GL_MODELVIEW_MATRIX, Camera);

to get the modelview matrix,but i want to get the matrix which can transform from world space to camera space instead object space to camera space.how?