# Homework 7, due Thurs Nov 1

Hand in your solution on RPILMS. Each team should submit their solution under only 1 student's name. The other student's submission should just name the lead student. (This makes it easier for us to avoid grading it twice.) For programming exercises, hand in code and screen dumps. We won't run your code, but will use the screendumps to judge how it worked.

This homework has no programming. Use any tool that you wish for the multiplications, e.g., Maple or Mathematica. Include a copy of the relevant part of the session.

*(2 pts)*On the following CIE chromaticity diagram what are the coordinates of- spectrally pure yellow?
- spectrally pure 5000 Angstroms?

*(4)*You have a perspective projection with the camera at (0,0,2) and the projection plane at x=3.- Write the Cartesian project equations.
- Write the homogeneous projection matrix.

*(4pts, this question will take some thinking).*Imagine that you have an infinitely large room illuminated by one infinitely long row of point lights. This figure shows a side view of the room. The lights are**h**above the floor and are 1 meter from each other. Assume that the ceiling above the lights is black and that no light reflects off of anything. An object at distance**d**from a light gets illuminated with a brightness {$ \frac{1}{d^2} $}. Each point on the floor is illuminated by all the lights, but more brightly by the closer lights. A point**p**directly below a light will be a little brighter than a point**q**halfway between two such points. That is the problem --- we want the floor (at least the part directly below the line of lights) to be evenly lit, at least within 1%. However, the higher the line of lights, the more evenly the floor will be lit. Your question is to tell us what is the minimum value for**h**so that the line of the floor below the line of lights is evenly lit within 1%. E.g., the brightness at**p**is {$$ \sum_{d=-\infty}^{\infty} \frac{1}{h^2+d^2} $$}postponed until homework 8.*(5)*Do Exercise 11.20 on page 442.

*Total: 10*