Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Computer Graphics Exam for Software Development and Computer Networking Students, Exams of Computer Graphics

The instructions and questions for a 2-hour computer graphics exam for students enrolled in the bachelor of science (honours) in software development and computer networking program at cork institute of technology. The exam covers topics such as opengl programming, transformations, window to viewport transformation, perspective projection, line clipping, and lighting models.

Typology: Exams

2012/2013

Uploaded on 03/24/2013

anishay
anishay 🇮🇳

4.2

(25)

121 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download Computer Graphics Exam for Software Development and Computer Networking Students 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 (NFQ Level 8) Summer 2006 Computer Graphics (Time: 2 Hours) Instructions Answer FOUR questions. All questions carry equal marks. Examiners: Ms. H. Fagan Dr. J. Buckley Dr. A. Kinsella Q1 (i) Write a display method for an openGL program that draws a two unit squares. The squares should be centred at (1,1) (-1,1) respectively. You should use a single method to draw the unit square. (8 marks) (ii) What code is required to set the projection plane so that all the above squares are visible? (4 marks) (iii) What code would you add so that all the squares rotate 5 degrees each time the ‘r’ key is hit? (6 marks) (iv) Describe with the aid of an example why you would use glPushMatrix and glPopMatrix in an openGL program? (7 marks) Q2. (i) Describe the three transformations that make up the window to viewport transformation and show how they are combined into a single matrix. (12 marks) (ii) What code would you add to an openGL program to guarantee that the viewport is always square? (6 marks) (iii) Explain what is meant by double buffering. Why is it used in animation? How would you modify an openGL program to use double buffering? (7 marks)
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved