CS3500 Computer Graphics Homework Assignment 10 Due: April 28, 2009 1. A light source is at (0, 10, 0) and has a colour of (0.2, 0.8, 0.2) in RGB. Ambient colour of (0.3, 0.3, 0.3) is present everywhere. An object with diffuse colour (0.8, 0.2, 0.2) is being viewed from (10, 10, 10). The material has the following properties: k_a = 0.9, k_d = 0.7, k_s = 0.3. The shininess (exponent) factor for specular reflection is 3. Compute the individual and total colour at the following object surface points due to ambient, specular, and diffuse reflection. (i) What are the normalized N, L, V, R, and H vectors at a surface point (10, 0, 10) with normal (0, 1, 0). What are the individual and total colour at this point due to ambient, diffuse and specular reflections? (ii) Repeat the above for a surface point (0, 0, 0) with normal (0.325, 0.888, 0.325) 2. A model consists of 200 points, 300 edges, and 400 triangles. Points are represented using floating point coordinates, edges as (V1, V2, P1, P2) using indexes into points and the polygons that the edge is associated with, and triangles using the edges that make it up. (As discussed in the class). Compute the total number of bytes needed to represent the model using (i) Explicit representation (ii) Vertex list representation (iii) Vertex and edge list representation. 3. A Bezier curve is defined by P1 = (1, 2, 3), P2 = (1, 3, 5), P3 = (7, 4, 6), and P4 = (7, 1, 0). Compute the points corresponding to t = 0.2, t = 1/3, t = 0.5, t = 0.75, and t = 0.9.