100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

COS3712 Exam pack 2024(Computer Graphics)

Beoordeling
-
Verkocht
-
Pagina's
111
Cijfer
A+
Geüpload op
04-10-2024
Geschreven in
2024/2025

COS3712 Exam pack 2024(Computer Graphics) With accurate answers and assurance that they are in the exam

Instelling
Vak











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
4 oktober 2024
Aantal pagina's
111
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

COS3712 EXAM PACK
2024

QUESTIONS AND
ANSWERS
FOR ASSISTANCE CONTACT
EMAIL:

, lOMoARcPSD|31863004




2 COS340-A
October/November 2009

QUESTION 1 [10]
a) OpenGL uses z-buffering for hidden surface removal. Explain how the z-buffer algorithm
and give one advantage of using this method. (5)

Answer:

OpenGL uses a hidden-surface method called z-buffering
that saves depth information into an extra
buffer which is used as objects are rendered so that parts of objects that are behind other ob
appear in the image. The z-buffer records the depth or the distance from the Thus,
COPas of a pixel.
polygons are scan-converted in random order, the algorithm checks the z-value of the pixel
coordinates (in the frame buffer) that it is trying to draw to. If the existing pixel at these coo
(i.e. if there already was a pixel) has a z-value further from the viewer than the pixel we are
draw, then the colour and depth of the existing pixel are updated, otherwise it continues wit
to the colour buffer or the depth buffer.

Advantages:(1 mark for either answer)
easy to implement in either software or hardware
it is compatible with pipeline architectures - can execute at the same speed at which vertice




b) Orthogonal, oblique and axonometric view scenes are all parallel view scenes. Define th
parallel view and explain the differences between orthogonal, axonometric, and oblique
scenes. (5)


Answer:

Parallel views - views with the COP at infinity.

Orthogonal views - projectors are perpendicular to the projection plane and projection plane
to one of the principal faces of an object. A single orthogonal view is restricted to one princi
of an object.

Axonometric view - projectors are perpendicular to the projection plane but projection plane
any orientation with respect to object.

Oblique projection - projectors are parallel but can make an arbitrary angle to the projection
and projection plane can have any orientation with respect to object.




[TURN OVER]

, lOMoARcPSD|31863004




3 COS340-A
October/November 2009

QUESTION 2 [8]
a) Define the term homogeneous coordinates and explain why they are used in computer

Answer:

Homogeneous coordinates are four dimensional column matrices used to represent both po
vectors in three dimensions.
When points and vectors are represented using 3-dimensional colum
matrices one cannot distinguish between a point and a vector, with homogeneous coordinat
can make this distinction.

marks can be awarded for any of the points mentioned below:
A matrix multiplication in 3-dimensions cannot represent a change in frames, while this can
using homogeneous coordinates.
All affine transformations can be represented as matrix multiplications in homogeneous coo
Less arithmetic work is involved when using homogeneous coordinates.
The uniform representation of all affine transformations makes carrying out successive tran
far easier than in 3 dimensional space.
Modern hardware implements homogeneous coordinates operations directly, using paralleli
achieve high speed calculations.

b) Consider the line segment with endpoints a and b at (1, 2, 3) and (2, 1, 0) respectively.
the coordinates of vertices a and b that result after an anticlockwise rotation by 15 abo
axis.(Show your workings) (4)

Hint: The transformation matrix for rotation around the z-axis is

(where θ is the angle of anticlockwise rotation).




[TURN OVER]




Downloaded by Gabriel Musyoka ()

, lOMoARcPSD|31863004




4 COS340-A
October/November 2009

Then, to rotate a' and b' by 15 about the z-axis, we use the rotation matrix




Similarly




So a'' = (0.448, 2.191, 3)
and b'' = (1.673, 1.484, 0) (4)


QUESTION 3 [8]

OpenGL is a pipeline model. In a typical OpenGL application, a vertex will go through a seque
transformations or change of frames. In each frame the vertex has different coordinates.

a) Name these coordinates in the order that they occur in the OpenGL vertex transformation
[5]




[TURN OVER]




Downloaded by Gabriel Musyoka ()

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
gabrielmusyoka940 db
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
1461
Lid sinds
2 jaar
Aantal volgers
247
Documenten
1488
Laatst verkocht
5 dagen geleden
Bstudy

provides latest exam paper

3,2

214 beoordelingen

5
68
4
28
3
49
2
20
1
49

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Veelgestelde vragen