CS160 Program 3: Selecting, Lighting, and Shading

Due Friday, November 21, 2003 MIDNIGHT
Submit Prog3 directory using CATS Submit Program


Objectives:

Learn to use OpenGL shading, lighting, materials, textures, and picking. Note: this is the last official assignment and your last chance to make up late day. You cannot make up late days on the project. Make every attempt to get this in early if you now have late days. As in the past, the assignment is available before we have discussed how to do all the things involved. However, you can implement it gradually. You can set up the GUI, and design the grid with a hill, and make the sun revolve, and create the plane. Students have suggested some alternative methods, which are generally more complex that those we ask for. I have put in square brackets [] suggestions for alternatives that are acceptable. This is a challenging assignment. Start early.

Assignment:

This assignment will be to design and animate a terrain scene, with a moving sun and a movable rocket. You will design the terrain by picking vertices from a polygon grid that is initially a randomly perturbed height field.

Submission

  1. Submission must be done using the submit utility from CATS. Run "quickhelp submit" or "submit -m" on a CATS machine to get more info on the submit command. To submit the assignment, do the following:
  2. Create a DIRECTORY called "prog3". It should contain all the files required to make your program compile/run.
  3. Run "make clean" in the directory to ensure you do not submit .o files or the compiled program, or you will lose points for possibly over-filling the directory.
  4. From prog3's parent directory (if you are in the prog3 directory, type "cd .."), tar the directory with the command "tar cvf prog3.tar prog3". I strongly suggest you untar it (see above) to check.
  5. Compress the tar file with the command "gzip prog3.tar". This will produce the file "prog3.tar.gz" which you will submit.
  6. Submit prog3.tar.gz with the command "submit cmps160-jw.f03 prog3 prog3.tar.gz".

Questions?:

E-mail amin@cse.ucsc.edu and wilhelms@cse.ucsc.edu