Computer Graphics Past Paper
Computer Graphics Past Paper
ORDINARY EXAMINATIONS
i) Ray casting
ii) Ambient light
iii) Mesh (6 Marks)
e) Draw the graphics rendering pipeline and explain each stage of this pipeline (6 Marks)
1
QUESTION TWO [20 MARKS]
a) Explain the concept of rasterization as it is used in computer graphics (1 Mark)
b) Using the DDA algorithm, find the intermediate points that can be drawn between the
endpoints (2,1) and (8,6) to generate a line. Show your calculations. (5 Marks)
c) Distinguish between the X-shear and Y-shear and use appropriate diagrams to illustrate each
of these (4 Marks)
d) Explain in detail the following procedures for hidden surface elimination:
i) Object precision (5 Marks)
ii) Image precision (5 Marks)
b) Identify any FOUR properties that a graphics model might contain (4 Marks)
2
d) The Cohen-Sutherland line clipping algorithm divides the viewport into regions defined by
viewport edges and assign each region a 4-bit outcode. Draw a diagram to illustrate these
regions and explain how each of the outcodes is derived. (4 Marks)
e) Define the following terms and use a diagram to illustrate each term
i) Global illumination
ii) Local illumination (6 Marks)
(3 Marks)