Sample OpenGL code

To make sure you can run the kind of OpenGL 2 programs we'll be doing on your machine, see if you can compile and run this Tutorial 6 from the OpenGLWikibook.


Zehra has modified the code to run on Windows. Apparently it was unhappy with the hack used to read in the texture. Here it is! With instructions on setting up Visual Studio.


Here is the original version of the tutorial, with a Makefile for compiling it on the machines in the Kemper basement. I had to install glm, and it is included in the tar archive.



I had to install not only glm but glew. Both are included in this tar archive. Your milage may vary.