30.08.2014 Views

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

Past Midterm and Exam Questions (PDF) - Student.cs.uwaterloo.ca ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CS488/688 Introduction to Computer Graphi<strong>cs</strong> 45<br />

15.16 Illumination [Last Used: Winter 2011 Final]<br />

A unit sphere sits at the origin. Assume that we are using the following Phong illumination model:<br />

(<br />

L out (⃗v) = k a I a + k d max(0, ⃗n · ⃗l) + k s max(0, ⃗r · ⃗v) p) I<br />

Here, I is the illumination power of a single light source after attenuation, <strong>and</strong> I a is a separate<br />

ambient illumination level.<br />

(a) Assume k a = k d = 1, k s = 0, <strong>and</strong> the light source is a point light source lo<strong>ca</strong>ted at (x, y, z)<br />

with x 2 + y 2 + z 2 > 1. What point on the sphere will be illuminated most brightly?<br />

(b) If more than one of k d , k s <strong>and</strong> k a are nonzero, then it becomes possible for some primary rays<br />

to yield pixels with intensities that are larger than the maximum intensity displayable on the<br />

output devi ce. Briefly describe two methods for dealing with output values that are outside<br />

the legal range.<br />

(c) Assume k a = 0, k d > 0, <strong>and</strong> k s > 0. A directional light point s in the direction (0, 0, −1).<br />

What range of z values on the sphere will be illuminated by the directional light?<br />

(d) Now assume that the lighting <strong>and</strong> material properties are as in (c), but the directional light<br />

is replaced by a point light a t (0, 0, 4). Will the same range of z values be illuminated by the<br />

light? Explain why or why not, possibly using a diagram.<br />

16 Radiosity<br />

16.1 Radiosity vs. Ray Tracing [Last Used: Spring 1996 Final]<br />

1. In radiosity, what does a form factor represent?<br />

2. Both ray tracing <strong>and</strong> radiosity are global illumination models. Explain why radiosity is a<br />

better method than ray tracing for computing global illumination for an architectural walkthrough.<br />

16.2 Radiosity Solution Techniques [Last Used: Fall 2000 Final]<br />

In radiosity, briefly describe the full matrix solution <strong>and</strong> the progressive refinement solution, noting<br />

the differences between the two methods. Why might you prefer to use one method instead of the<br />

other?<br />

16.3 Hemi-cube [Last Used: Winter 1995 Final]<br />

1. Describe the hemi-cube algorithm for estimating form factors.<br />

2. What advantages are there to using a hemi-cube algorithm? Be sure to consider ways to<br />

implement it <strong>and</strong> effects it <strong>ca</strong>n achieve.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!