This project is a quick exercise to get you started on OpenGL. It will
not be graded.
Download a0.tar.gz. Extract the files
with the command
gunzip < a0.tar.gz | tar xvf -
Build the executable. In Unix use the provided makefile. For
other systems, see the compiling
outside the lab to get you started. Note that if you want
to use Microsoft Visual Studio you will need to create a
project and add the existing files.
Run the program with an obj file name as the first command line
parameter (it will crash if no obj file is provided). For example:
Make the following change:
Change the rotation axis to be the X axis.
Experiment more on your own if you like. Many additional models
in OBJ format can be downloaded from the web (you can use google to
find them), and there are many links from the
Practice using the handin script. Make a new
directory. Copy only the required files into it: in this case,
both source files, the header file, the Makefile, and your
README file. The README for this assignment can be minimal: include your
name, account id, student number, and a very brief description
of what changes you made to the source.
Then, hand in the code using the command