Q1. Illustrate the term ray-tracing? What is it used for? In brief describe the basic ray-trace algorithm.
Q2. Describe in detail, how diffuse reflections are computed.
a) Describe how hidden surface removal is carried out by using the scan line method.
b) Describe the Depth Buffer algorithm for the Hidden Surface Elimination.
a) Digitize a line from (10, 12) to (20, 18) on raster screen by using Bresenham’s straight line algorithm. Show the outcome on a Cartesian graph.
b) prepare Pseudocode for DDA algorithm. By using an appropriate illustration, describe the working of this algorithm.