Advertisement

Final position of a rotated and translated point?

Started by October 19, 2005 04:11 AM
0 comments, last by chezsake 19 years ago
I've set a camera(gluLookAt) and made some rotation and translation with a point, say (0.0, 0.0, 0.0). After that, I wanna find out where exactly did that point go, what should I do? I tried using glGetDoublev(GL_MODELVIEW_MATRIX, model) after a call of glLoadIdentity(), and multiply "model" with the original coordinate of the point, but it didn't seem right... Actually, I don't really understand the usage of "Model view matrix", I just thought it might work. I've googled for subjects related to model view, but I didn't get what I want. Would you guys please give me some advise, thanx!!!
Sorry, folks, I found the answer...

This topic is closed to new replies.

Advertisement