Introduction: ------------- This directory contains a simple sample OpenGL program. It should be possible to run these programs on any of the following platforms: > CSIC Linux Lab, located on the 3rd floor of CSIC. > A Microsoft Windows PC running Visual C++ or Visual Studio.NET in which OpenGL, GLU, and GLUT have been installed. (OpenGL and GLU are standard on modern PC's. You will likely have to install GLUT on your own. See the class OpenGL web page for further information.) > Your own PC running Linux/Unix: As above, you will likely need to install OpenGL, GLU, and/or GLUT yourself. Sample Program: --------------- The programs sample1cpp.cpp and sample2cpp.cpp are simple OpenGL programs written in C++. The first opens a small window and renders a diamond and a square. The second shows a teapot, which can be rotated. You can go through the code (C++) and get a feel for the basic structure common to all OpenGL programs. The programs sample1c.c and sample2c.c are the same programs but written in C, rather than C++. Please refer to files "ReadmeForWindows.txt" and "ReadmeForUnix.txt" for information on how to get sample1cpp.cpp up and running on Windows and Unix environments respectively.