PDA

View Full Version : regarding mouse motion



moonie
06-03-2003, 08:48 PM
Can someone teach me how to make a sphere move according to my mouse motion in a opengl window? Im using win32 console application. It will be helpful if someone can post some useful links on this issue with some sample source code to help me out. http://www.opengl.org/discussion_boards/ubb/smile.gif

masterpoi
06-03-2003, 11:37 PM
simple: just tape the sphere on the back of a cat voila!

MtPOI

moonie
06-04-2003, 05:39 AM
Anyone can help? I in need of some advices because my project is nearing deadline. http://www.opengl.org/discussion_boards/ubb/smile.gif

kansler
06-04-2003, 06:27 AM
Get the GLUT source distribution from:
http://www.xmission.com/~nate/glut.html

There's a virtual trackball implementation in the examples directory (look for trackball.c).

Enjoy!