CS602-Computer Graphics Assignment no. 3 Solution FALL 2019 Due date: 22 January, 2020 | SUPERSTARWEBTECH

Subject: CS602-Computer Graphics

Semester: FALL 2019
Assignment No. 3

Due date: 22 Jan 2020

CS602-Computer Graphics Assignment 3 #Questions

Question no. 1:
Suppose a Movie maker wants to create a night vision effect in a scene. The scene has light grey colored chair having RGB components (0.5,0.7,0.8).6 He has used four light sources. In terms of RGB the intensities of light sources are l1(0.4,0.7,0), l2(0.2,0.1,0.5), l3(-0.5,-0.6,0.5) and l4(-0.1,-0.2,0 ) ; Light source 3 and light source 4 are dark lights having negative colors.

a) What will be the final light intensity? (5 marks)

b) Calculate the overall color contribution of light in relation to the object surface? (5 marks)

c) What color component(s) will remain absent from the scene? (3 marks)

d) Which color the object will look like in the presence of the light sources? (2 marks)

Hint: (You may check final color intensities given in color.pdf file)

Question no. 2:
Fiber Optics are widely used as optic cables to transmit light signals over long distances with minimal loss of data. It works on the principle of total internal reflection.

In order to simulate the fiber optic in computer graphics, calculate the critical angle where the inner core of fiber has index of refraction 1.5 while the cladding has index of 1.3.

CS602-Computer Graphics Assignment no. 3 Solution SPRING 2019 Due date: 23 July, 2019 | SUPERSTARWEBTECH

Subject: CS602-Computer Graphics

Semester: SPRING 2019
Assignment No. 3

Due date: 23 JULY 2019

CS602-Computer Graphics Assignment 3 #Question

Question No:1 Marks=10

Suppose a TV setup has a “fresh green” light source which is throwing light on a “dark purple” canvas to make a scene. The light source has an intensity of (0,0.9,0.1) in terms of RGB components. The intensity of canvas is (0.4,0,0.7).

1. Calculate the overall color contribution of light in relation to the canvas surface? (5 marks)

2. What color component(s) will remain absent from the scene? (3 marks)

3. Which color the canvas will look like in presence of the light source? (2 marks)

Hint: (Use piece wise multiplication method. You may check color intensities given in color. pdf file)

Question No 2: Marks=10

Consider an animated movie scene in which the animator is trying to create a pink colored scene of a doll house controlled by combining the lights from white light and red light sources. Everything in a scene is in varying shades of “pink color” which are achieved by controlling RGB components of light sources. White light at its saturation has an intensity of (1,1,1) and red light has (1,0,0).

1. Which technique is better to deal the saturation in relation to the resulting color? (Clamping/ Scaling). Give reason. (5 marks)

2. Calculate the resulting color from the technique selected. (5 marks)