


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Tuesday 2 November 2004—Special election day editon
Problem 1: Viewing (45 pts)
It has been decided that there will be a last-minute fourth presidential debate tonight, before the polls close on the West coast, and you are the TV producer in charge. One of the conditions the two campaigns agreed upon was that the camera would be placed so that the candidates appear the same height on the screen. The two podiums are set up on the stage of an auditorium, separated from one another by 10 feet. President Bush is 6 feet tall and is standing at the left (from the camera’s point of view); Senator Kerry is 6 feet 4 inches tall and is standing on the right:
10 ft.
30°
camera that way
20 ft.
f.o.v.
z
One of the TV networks wants to use computer graphics to make a fancy “Decision 2004”
banner that flies around the podiums in 3D as the candidates arrive. They commissioned a modeler who built a 3D model of the auditorium and the podiums. The model is in feet, and the origin is on the stage floor at the midpoint between the podiums. The podiums are on the x axis; the y axis points straight up, and the z axis points toward the audience. The camera is at eye level: 5.5 feet above the plane of the stage foor.
All three parts are asking about the same camera setup—so for each part use the results from the previous parts. Just in case you forget, sin 30◦^ = 12 and cos 30◦^ =
√ 3
Problem 3: Splines (25 pts)
Your next assignment is to optimize the code for drawing the 50-state red/blue map (since the map changes so fast!). The boundaries of the states are drawn using spline curves, but you’re not sure which kind is being used.
stays in convex hull of control points
interpolates control points Hermite Cubic B´ezier Cubic B-Spline Catmull-Rom
(a) Which of the five control points (arbitrarily labeled A through E in the plot) will the curve pass through, and for what values of t? (b) Which control points affect the tangent to the curve at t = 0? At t = 0. 5? At t = 1? (c) Does this spline have the convex hull property? How did you tell?