PDA

View Full Version : MOUSE



JPH
08-08-2000, 12:49 AM
WHAT KIND OF CODE DO I NEED IN GLUTMOTIONFUNC
WHEN I AM TRYING TO LINK THE MOUSE IN GLULOOKAT-FUNCTION.THE PURPOSE IS TO ROTATE USING GLULOOKAT AND MOUSE.PLEASE HELP ME.

08-08-2000, 12:58 AM
You can look at an example called skyfly
it uses the mouse to fly to a landscape

shawge
08-08-2000, 06:10 AM
Take a look at f00Dave's site at http://personal.nbnet.nb.ca/daveg/opengl

He has some demos which have motion code that you may be interested in. Go down to the Quaternion demos: Quaternion Demo, Descent-style Camera Demo, CameraB, plus Constant-Rate Motion.

JPH
08-09-2000, 01:10 AM
thank you!!!

Kwan
06-23-2006, 06:28 AM
You can look at my camera tutorial.

http://kengine.sourceforge.net/tutorial/vc/camera-eng.htm

This tutorial describe the descent, first person and spectate camera moving.