Hi guys,

I need some help regarding rotation in a 3D world space:

glRotated(m_AngleX, 1, 0, 0);

glRotated(m_AngleY, 0, 1, 0);

glRotated(m_AngleZ, 0, 0, 1);

where, m_AngleX, Y, Z are the calculated parameters for angle turned abt the respective axes, based on user mouse movement.

I am using the above code to rotate my 3D model about these axes. But then, these are the object’s local coordinates. I am required instead to rotate my model about the view coordinates, or shud i say the screen coordinates or the world coordinates… I have researched and thought thru this for very long, but still cannot get any insights…

Can someone help me out here? I really do appreciate it!! Thanks!