

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Instructions: Answer THREE QUESTIONS ONLY Show all your work. All questions carry equal marks.
Examiners: Mr. J. Culloty Dr. D. Chambers Mr. P. O’Connor Mr. E. A. Parslow
Q1. a) Describe how perspective projections are calculated. [6 marks]
b) Describe how a camera is defined for viewing 3D scenes. How is it defined in OpenGL? [8 marks] c) Describe the operation of 3D clipping for both Orthographic and Perspective projections. [6 marks]
Q2. a) Contrast the RGB and CMYK colour models. [4 marks]
b) Define each of the following terms.
Q3. a) Using a Run Length Encoding system on an 8x8 pixel image produced the following data file: 3, 2, 2, 1, 5, 2, 4, 1, 2, 2, 8, 1, -5, 2, 2, 1, 2, 2, 1, 1, 3, 2, -2, 2, 1, 2, 2, -4, 1, 2, 2, 1, 7, 1, 2, 2, 4, 1, 3, 2, -7, 2, 1, 1, 1, 1, 2, 2
If colour 1 is Black and colour 2 is white, reproduce the original 8x8 image. . [ 6 marks ] b) Describe double-buffering, why is it required? [ 5 marks ] c) Briefly explain the term anti-aliasing. [4 marks] d) Describe the process of texture mapping. [5 marks]
Q4. a) Show the transformation matrices for the following 2-dimensional co-ordinate transformations: i ) Scale x by 5, and y by 2.5, ii ) Rotate clockwise by 45°, iii ) Translate x by +4.3, y by -2.2. Show OpenGL commands for performing each operation. [ 9 marks ] b) Explain how the object shown in the diagram can be scaled as required. Calculate a matrix that will perform the rotation in a single operation.
[ 8 marks ] d) What is the difference between a left-handed and a right-handed co-ordinate system? [3 mark ]