Final position of a rotated and translated point?
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!!!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement