CMSC 427
Computer Graphics
David Jacobs
Spring 2007



On-line versions of the programs in Hearn and Baker are available here.


Here's a nice page with instructions for getting OpenGL running with Microsoft Visual Studio.


Practice Midterm with Solutions


A complete version of Problem Set 3 is now available below.


Office hours will not be held during the week of April 2nd.  I will be out of town Monday-Wednesday.  (Note, class will still be held Tuesday, with a guest lecturer).  I'm happy to meet with students on any other day.  Please email me if you would like to meet.


Study guide for Final here.


I will be available in CSI 3118 for review for the final from 11-1 on Friday, May 11.


Class Time  

Tue, Thu 9:30-10:45


CSI 3118

Course Info



Computer Graphics with OpenGL, Third Edition
by Donald Hearn and M. Pauline Baker
ISBN 0-13-015390-7, Prentice Hall  




Teaching Assistant


David Jacobs

Carlos Castillo


djacobs at cs

carlos at cs


AVW 4421

AVW 4420

Office hours

Tue. 3-4, Wed. 2-3

Mon. 2-4

If you cannot make these office hours, please send email to arrange another time.

General Information

Problem Sets

OpenGL links (see below too).  Email a single file containing all code written for the assignment to Carlos.  Hand in a hardcopy with all written problems at the start of class, or to Prof. Jacobs or Carlos prior to class. 





Problem Set 1: Problem SetCode to get startedExecutable for finished product



Problem Set 2: Problem SetExecutable for finished product.  Email me if you want code for PS 1.



Problem Set 3: Problem Set.  Code to get started  Executable for finished product 3/27/05 4/12/05
Problem Set 4: Problem SetCode to get startedExecutable and sample images 4/12/05 4/26/05



Class slides will typically be posted here.  


Class Slides


Class 1 :      Introduction (Jan. 25): 

H&B Chapter 1

Class 2:       OpenGL demo code (Jan 30):

H&B Chapter 2, 11-6

Class 3:       Geometry (Feb 1):

H&B Chapter 5.  Also see Dave Mount's lecture notes and Appendix A of H&B. 

Class 4:       Transformations (Feb 6)


Class 5:       Transformations (cont'd) (Feb 8) 


Class 6:       Projection (Feb 13) 

H&B Chapter 7

Class 7:     Collisions  (Feb 15)


Class 8:    Discretization   (Feb 20)

H&B Chapter 3

Class 9:      Review PS1 (Feb 22)


Class 10:    Visibility (Feb 27)  

H&B Chapter 9.1-9.7

Class 11:    Visibility Continued, Aliasing started  (March 1)  


Class 12:    Sampling and Aliasing  (March 6) 

H&B Chapter 4-17.

Class 13:  Review for midterm.  (March 8).

Midterm (March 13). 


Class 14: Midterm postmortem.  (March 15). 

Spring Break

Class 15: Texture Mapping and Morphing  (March 27)

 H&B Chapter 10-17, 10-21.

For morphing, see: Beier and Neely, Feature-based Image Metamorphosis.

Class 16: Texture: Perlin Noise (March 29)  

Ken Perlin's page on Perlin noise. 

Class 17:    Color, transparency  (April 3) 



H&B Chapter 12.  The Foundations of Color Measurement and Color Perception, by Brian Wandell

H&B Chapter 10-4, 10-5.  Discussion of OpenGL for transparency is a bit spread out; it's probably best to look up functions in the index.  But also check 4-3.

Lightness perception and lightness illusions, by Ted Adelson.  Optional, but very nice paper on the psychology of lightness and transparency.

Class 18: Reflectance (April 5) H&B 10-1 to 10-3.
Class 19: Shading (April 10) H&B 10-10, 10-20
Class 20: Ray Tracing (April 12)  H&B 10-11.
Class 21: Shadows (April 17)
Class 22: Radiosity & Solid Modeling (April 19) H&B Chapter 8 (some of this material will be discussed next class also).
Class 23: Modeling Curves (slides from previous lecture) (April 24)
Class 24: Image-Based Rendering (April 26)

H&B 13-6, morphing.  See also: "Light Field Rendering" by Levoy and Hanrahan. 

"Creating Full View Panoramic Image Mosaics and Environment Maps", by Szeliski and Shum.

"Image Analogies", by Hertzmann, Jacobs, Oliver, Curless, and Salesin.

"Sylization and Abstraction of Photographs," by DeCarlo and Santella.

Class 25: (May 1)   Animation

Class 26: (May 3) Graphics and Animation in the real world - presentations

John, Chip, Todd, Ken

Class 27: (May 8) Graphics and Animation in the real world - presentations

Aditya, Nikhil, Greg, Dan

Class 28: (May 10)  Conclusions, wrap-up.

Final: Monday, May 14, 8:00-10:00



Useful Links

Prof. Varshney's class page

Prof. Mount's class page

OpenGL 1.1 Programming Guide   

OpenGL Tutorial