NAME______________________________________ RIN________________
EMAIL______________
Midterm Exam -Computer Graphics
(ECSE-4750) - Fall 2005
Total: 18 questions on 4 pages
1. (1 pt) Rotate the point (2,1,3) by 90 degrees about the axis
(4,2,6).
(2,1,3)
2. (1 pt) How do you exchange info with a callback function,
beyond what is provided for in the specified argument list?
External variables
3. (1 pt) Why does OpenGL have triangle strips and fans in
addition to triangles?
Efficiency
4. (2 pt) Consider this sequence of calls:
glColor3f(1.,1.,1.);
glVertex3f(1.,1.,1.);
glVertex3f(2.,2.,3.);
glColor3f(0.,1.,1.);
What color is the vertex (1,1,1)?
(1,1,1)
What color is the vertex (2,2,3)?
(1,1,1)