CS 320 Course Materials, Spring 2011
CS 320 Course Materials
Spring 2011
General
Reading Assignments
- Week 1:
Jan. 28: 1.1--1.4.
- Week 2:
Jan. 31: 1.5--1.9.
Feb. 2: No new reading.
Feb. 4: 2.1--2.4.
- Week 3:
Feb. 7: 2.5--2.6.
Feb. 9: Project 1.
Feb. 11: Re-read Chapter 2.
- Week 4:
Feb. 14: No reading.
Feb. 16: 2.7--2.10.
Feb. 18: No reading.
- Week 5:
Feb. 21: 3.1--3.3, 3.6.
Feb. 23: 3.4, 3.5, 3.7--3.9.
Feb. 25: Study polygon.c in 3.9.
- Week 6:
Feb. 28: Study polygon.c in 3.9.
Mar. 2: 4.1, B.1--B.5.
Mar. 4: 4.1, B.1--B.5, collision.c
- Week 7:
Mar. 9: 4.1, Appendices B and C.
- Week 8:
Mar. 21: 4.2--4.9.
Mar. 23: 4.6--4.9.
- Week 9:
Mar. 28: 4.1--4.9, Appendices B and C as necessary.
Apr. 1: 5.1--5.5.
- Week 10:
Apr. 4: 5.8--5.9.
Apr. 6: 6.1--6.3.
- Week 11:
Apr. 11: Chapter 6.
- Week 12:
Apr. 22: 6.7--6.9.
- Week 13:
Apr. 25: 8.7--8.9.
Assignments/Projects
- Assignment I, 50 pts. Due Feb. 14 and 16.
PDF,
HTML.
tetra.c.
- Project 1, 75 pts. Due Feb. 23.
PDF,
HTML.
- Project 2, 75 pts. Due Apr. 1.
PDF,
HTML,
poolData.txt.
- Project 3, 75 pts. Due Apr. 13.
PDF,
HTML.
- Project 4, 75 pts. Due Apr. 22.
PDF,
HTML.
- Project 5, 150 pts. Due May 6.
PDF,
HTML.
Class Outlines
- Week 1:
Jan. 26 PDF, HTML.
Jan. 28 PDF, HTML.
- Week 2:
Jan. 31: Continuation.
Feb. 2 PDF, HTML.
Feb. 4 PDF, HTML.
OpenGL Introduction:
PDF,
HTML.
pentagon.c,
quadric.c.
- Week 3:
Feb. 7 PDF, HTML.
Feb. 9 PDF, HTML.
Feb. 11 PDF, HTML.
2-D Graphics and OpenGL Lab:
twodim.c (Refer to the comments in the source
code for the lab experiments.)
- Week 4:
Feb. 14: Talk, Ross Sowell.
Feb. 16 PDF, HTML.
Color and Viewport Lab
PDF,
HTML.
cube.c,
viewport.c
Feb. 18: Project day.
- Week 5:
Feb. 21 PDF, HTML.
Feb. 23 PDF, HTML.
Feb. 25: Menus, Selection, Display Lists, and "Animation" Lab
PDF,
HTML,
polygon.c.
- Week 6:
Feb. 28: Lab, continued.
Mar. 2 PDF, HTML.
Mar. 4: Prepare for walk-through of collision.c.
PDF listing of collision.c with line
numbers.
collision.c source code.
- Week 7:
Mar. 7: Walk-through of collision.c led by students.
Mar. 9 PDF, HTML.
Mar. 11 PDF, HTML.
double.c,
pong.c.
- Week 8:
Mar. 21 PDF, HTML.
Mar. 25 PDF, HTML.
- Week 9:
Mar. 30: Project day.
Apr. 1 PDF, HTML.
cubeview.c,
PDF listing, with line numbers.
- Week 10:
Apr. 4 PDF, HTML.
roomViewLab.c.
Apr. 6: RoomView Lab.
Apr. 8 PDF, HTML.
- Week 11:
Apr. 11: Discussion of Project 4.
Apr. 13 PDF, HTML.
OpenGL programs demonstrating control of separate windows:
twoWindowsOne.c,
twoWindowsTwo.c.
Apr. 15 PDF, HTML.
OpenGL Lighting Lab I:
lightLab.c.
PDF listing, with line numbers.
- Week 12:
Apr. 18: Finish lightLab, work on project.
Apr. 22 PDF, HTML.
OpenGL Lighting Lab II:
lightLab2.c.
PDF listing, with line numbers.
- Week 13:
Apr. 25 PDF, HTML.
checker.c.
PDF listing, with line numbers.
Apr. 27: OpenGL Textures Lab II:
textureLab.c, texture mapping extension to
lightLab.c.
PDF listing, with line numbers.
Necessary image files:
imgfile1.rgb,
imgfile2.rgb,
imgfile3.rgb,
imgfile4.rgb.
Also, make sure you add
gltx.h and gltx.c to your
project.
- Week 14:
May 2: Project day.
May 4: Project day.
Class Materials
- Week 13:
- Apr. 27:
- Using GIMP to Convert an Image File:
PDF,
HTML.
- SGI IRIX RGB reader utilities:
gltx.h,
gltx.c.
- Simple texture mapping example showing texture image usage and
coordinate mapping:
twotextures.c
(requires gltx.h and gltx.c).
- Texture mapping example showing texture grid and lighting on a
teapot:
texgen.c.
- Texture mapping example showing texture mapping to a curved
surface:
texturesurf.c.
- IRIS RGB image file reader for texture mapping and Wavefront
.obj file format reader example program:
shadow.zip.
- More Wavefront .obj files and a viewer:
smooth.zip.
On-Line Computer Graphics Resources
Other Resources
Last updated May 26, 2021.
Send mail to kelliher[at]goucher.edu
Tom Kelliher