Download the Cylinder Application and GLUT. Unzip, install GLUT, compile the application and run.
Modify the Cylinder Application to allow mouse events. Control the look at position (gluLookAt) using the left mouse button. See mouse & keyboard for info.
To install GLUT for Visual Studio
glut32.dll -> C:\WINDOWS\system32
glut32.lib -> ..ProgramFiles\MicrosoftVisualStudio\VC98\Lib
glut32.h -> ....\VC98\Include\GL
OpenGL Links
OpenGL official website
Nehe's OpenGL Site for OpenGL programming
Nate Robins GLUT Site
|