
22C:151 Computer Graphics Fall 2007 ā Midterm Review
The midterm will be at 9:30-10:45 on Thursday October 18
The exam will be open book & open note. No calculator will be needed, though you may bring one (especially if
simplifying things like sin 60ā¦or cot 45ā¦is difficult).
The exam will mostly consist of short answer format questions. The basic idea of the exam will be to see if you
understand the concepts ā determining if you can code is the job of the homeworks, not the exam. At most, you will
have to interpret code, not write it. None of the questions will be ātrickā questions, and many of them will have simple
answers. If you know the concepts well, you may be done in half an hour. Those of you who need to refer to the book
for most questions will have difficulty finishing in the allotted time.
Things you may wish to review should you feel rusty:
ā¢What is a PPM file?
ā¢Basics of monitors. What are R, G, B, and A? How do these relate to human vision?
ā¢Why is OpenGL called a state machine? What is a state machine?
ā¢Basic GLUT functionality. Callback routines.
ā¢Basic OpenGL commands for drawing
ā¢Primitives allowable in OpenGL
ā¢What do various parameters to glBegin() mean?
ā¢Bresenhamās line algorithm
ā¢The difference between Bresenhamās algorithm and the incremental approach (the simple approach we examined first)
ā¢Smooth v.s. flat shading
ā¢Interpolation
ā¢Triangle rasterization
ā¢Boundary conditions for triangle rasterization
ā¢Color interpolation for triangles
ā¢Homogeneous coordinates and their use
ā¢Why do we need/want a homogeneous coordinate system?
ā¢Transformations, matrices, how theyāre implemented in OpenGL, and ordering of transformations
ā¢Why do we need 4Ć4matrices in OpenGL? What do the extra row and column do?
ā¢Perspective
ā¢What is a matrix stack? Why is it useful?
ā¢What is a z-buffer? What does it store? How do you enable it in OpenGL?
ā¢OpenGL lighting. What is the process of enabling it? What parameters are required? How are these parameters affected by
OpenGL state?
ā¢Basics of OpenGL texturing. How might you apply an image to a triangle, a plane, a cone, a sphere, a cow?
Mipmapping will not be on the midterm exam, but I might ask about texturing problems that motive mipmaps.