guille
04-03-2001, 12:09 AM
Hello,
I would like to know an easy way of rotate the polygons (when I move them with the mouse) that I am drawing (without GLUT).
The problem is that the rotation has to be referred to the local object coordinate system.
When the object was "upside-down": moving the mouse to the right caused an apparent left rotation and vice-versa.
I have found some information about trackball rotation but I am looking for something easier (without quaternions...?).
THANK YOU http://www.opengl.org/discussion_boards/ubb/smile.gif
::g::
I would like to know an easy way of rotate the polygons (when I move them with the mouse) that I am drawing (without GLUT).
The problem is that the rotation has to be referred to the local object coordinate system.
When the object was "upside-down": moving the mouse to the right caused an apparent left rotation and vice-versa.
I have found some information about trackball rotation but I am looking for something easier (without quaternions...?).
THANK YOU http://www.opengl.org/discussion_boards/ubb/smile.gif
::g::