Sample OpenGL Program
Here is a small sample OpenGL program along with a Makefile for getting
started with OpenGL either on the University of Maryland WAM or Glue lab
Sun workstations, the Computer Science Department Junkfood lab machines,
or with a PC running Microsoft Visual C++.
- The C++ source code sample.cpp for the program.
- The directory SampleVisualCPP contains the project files for
Visual C++. It contains:
- A ReadMe file, which contains
information on how to install OpenGL, Glu, and GLUT on a PC and how
to create a console application that uses OpenGL and GLUT.
- The SampleVisualCPP.sln
Visual C++ solution file for the program.
All the files can be downloaded as a bundle by holding SHIFT and then
left clicking on this link
Please report any errors or send comments to
Dave Mount
Return to
CMSC 498M Web Page.
Last updated: Thu, Sep 13, 2007.