CS510: Computer Graphics --- Spring '97
X Windows
- Simple introduction to X-Window programming:
an explanation
, a
C
program, and a makefile
- C code for the GUI (Graphical User Interface) that you may use to
complete the assignments. Here is what it looks
like.
Assignments
- Lab 1 assignment, in
Postscript . Use the data files lab1.view
and lab1.scene.
Also, read this review of perspective projection and normal vector calculations in postscript.
- Lab 2 assignment, in
Postscript . Use the data files lab2.view
and lab2.scene.
See this
summary of the
polygon fill algorithm with depth buffer and flat shading, in
postscript, for help with this assignment.
- Lab 3 assignment, in
Postscript . Use the data files lab3.view
and lab3.scene
plus your own scene and view files.
Details on the procedures for
Gouraud shading and
Phong shading are available in postscript. The Phong shading
notes include the steps needed to accurately calculate the x,y,z
values for the point on a face that corresponds to a given pixel.
Instead of this procedure, you may simply interpolate x,y,z values
using the x,y,z values at the vertices.
- Lab 4 assignment, in
Postscript . Use the data files lab4.view
and lab4.scene
plus your own scene and view files. A partial C program that you can
fill in to do this assignment is in lab4-partial.c.
You might find this partial listing of debug
output helpful.
Project Report
anderson@cs.colostate.edu
Copyright © 1997 Chuck Anderson