openGL Rotation |
Author :
opendep
Post Date :
2008-03-31 12:18
Posts :
10
|
Hi,
I am trying to display coordinate axes at the top left corner of the window along with the object using openGL, GLUT and GLUI. The coordinate axes should rotate about a fixed point (point of intersection of the three axes) but should not translate along with the object. I am using GLUI for rotation and translation. I used GL_LINES to display the axes but the axes translate too along with the object.
can anyone help me with this..!!
Thank you. |
Author :
grant
Post Date :
2008-03-31 18:31
Posts :
117
|
Hi,
Have you had a look at glPushMatrix and glPopMatrix. You can use these to isolate transformations to an extent.
Regards,
Grant |
All Rights Reserved, © Zeus Communications, Multimedia & Development 2004-2005