Department of Computer Science
Course: CS 4751
Horizontal Bar

CS4751 course notes

CS 4751 course notes

Class slides can also be found in ~paul/4751 in file all.pdf. They are modified periodically, so check them for updates.

They can also be downloaded from the following:

The OpenGL Nvidia drivers are installed on the machines in the Linux lab.

For your home machines, the mesa library is available.

If you have an Nvidia graphics video card running under linux, then the Nvidia drivers should be installed, rather than the mesa library.

The Makefile for a sample program is in ~paul/4751/programs, and is set up to compile the program hello.c. It should work for any other program by replacing hello by the program name. The sample program hello.c is in the same directory, together with a few other examples.

All the sample code, and all in-class examples, are written in the C language. For our purposes, the differences between C and Java are adequately covered in the downloadable postscript document C for Java Programmers by J. Maassen.

There are OpenGL bindings to other languages, including Java, C++, and Fortran. They can be found from links at the OpenGL site. Look at the links page for further information.

Information including postscript documents and man pages (html) for OpenGL are available in ~paul/4751/OpenGL and its subdirectories.

Nate Robins has some tutorials on OpenGL. A local copy of the source code and executables is in ~paul/4751/tutorials.