View Full Version : how to "rotate" the objects (trackball rotation)

04-03-2001, 01:09 AM
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

04-03-2001, 04:24 PM
If you just adds the mouse movement to the objects rotation do I think it should be right.