Composer outputs a single "ambient color", whereas the ambient term in
Whitted's equation is given by ka Ia Od.
We suggest treating the ambient color you get from Composer as Ia
and multiplying it by the diffuse color Kd Od to
get your ambient term.

For (semi-)transparent surfaces, you should probably multiply the diffuse
and ambient terms by (1-kt). Otherwise, the diffuse and transmitted
rays will add up, and the surface will become washed-out.

ks is given by "specColor". Note that the latter is a vector
which has all three values identical. This value is ks. The
redundancy is being maintained for historical reasons.

For assignment 1, always use a refractive index of 1.5 where applicable.

Ignore the emissive component output by composer.

For n, use shininess*128 (where shininess is composer's shininess
output between 0 and 1).

The ambient colors and headlight strength output by Composer may be scaled
such that if you blindly implement Whitted's equation, your scenes may
appear washed out. Scale these factors until your ray traced image looks
roughly similar to the sample images in /usr/class/cs348b/proj1/tests.