MOUSE

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.

You can look at an example called skyfly
it uses the mouse to fly to a landscape

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.

thank you!!!

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.