Computer Science 215 Quiz 9 Name ______________________ 1. The type of lighting to be supported in version 1 on the raytracer is: a. ambient b. diffuse c. specular d. emissive 2. Suppose V is the view point and W is the world coordinates of the point on the screen through which the ray passes. A unit vector in the direction of the ray is given by: a. V / || V || b. W / || W || c. (V - W) / || (V - W)|| d. (W - V) / || (V - W) || 3. If the coordinates of the point at which the ray hits the object is H the distance from the viewpoint to the hitpoint is given by: a. H b. (H - V) c. || (H - V) || d. (W - V) 4. The mission of the raytrace function is to determine: a. the color of the first object b. the color of the closest object hit by the ray hit by the ray c. the color of the last object d. the average color of all objects hit by the ray hit by the ray. 5. Colors are represented within the raytrace function itself as: a. unsigned chars in the range b. unsigned chars in the range [0, 1] [0, 255] c. floating point values in the range [0, 1].