Docsity

Computer Graphics Exam for BSc in Software Development & Computer Networking, Exams of Computer Graphics

Toggle sidebar
bg1
Cork Institute of Technology
Bachelor of Science (Honours) in Software Development and
Computer Networking – Award
(Bachelor of Science in Software Development and Computer Networking – Award)
Bachelor of Science (Honours) in Software Development with a
Language – Award
(Bachelor of Science in Software Development with a Language – Award)
(NFQ – Level 8)
Autumn 2005
Computer Graphics
(Time: 2 Hours)
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.
1. Palette,
2. Vanishing Points,
3. Foreshortening,
4. Halftoning. [4 marks]
c) What is a gamut and what is it used for? [2 marks]
d) Describe the Cohen-Sutherland line clipping algorithm. [10 marks]
pf3

Partial preview of the text

Download Computer Graphics Exam for BSc in Software Development & Computer Networking and more Exams Computer Graphics in PDF only on Docsity!

Cork Institute of Technology

Bachelor of Science (Honours) in Software Development and

Computer Networking – Award

(Bachelor of Science in Software Development and Computer Networking – Award)

Bachelor of Science (Honours) in Software Development with a

Language – Award

(Bachelor of Science in Software Development with a Language – Award)

(NFQ – Level 8)

Autumn 2005

Computer Graphics

(Time: 2 Hours)

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.

  1. Palette,
  2. Vanishing Points,
  3. Foreshortening,
  4. Halftoning. [4 marks] c) What is a gamut and what is it used for? [2 marks] d) Describe the Cohen-Sutherland line clipping algorithm. [10 marks]

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 ]