• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

CITS3003 exam || 100% no Error.

Document preview thumbnail
Preview 4 out of 31 pages

CITS3003 exam || 100% no Error.

Content preview

CITS3003 exam || 100% no Error.


An Affine Transformation has what characteristics? correct answers It preserves parallel lines
and allows for rigid body transformations as well as shear and scaling


Affine Transform Matrix has what form? And what Property? correct answers It has the form of
a non-singular 3x3 matrix with the translation vector and a 1x4 vector on the bottom with values
[0,0,0,1]


After one subdivision with catmull-clark there is? correct answers 1 vertex for each face, 1 for
each edge and 1 for each vertex. For a cube number of vertices is V0+F0+E0, Faces is 4F0,
edges 2E0+4F0


Attribute qualifier is used to? correct answers Declare variables shared between vertex shader
and application. These variables are immutable, in vertex shader.


Change of coordinates is done through? correct answers The use of a transformation matrix. This
is a matrix which takes one representation (using basis 1) and transforms it (via basis 2) into the
representation of the vector wrt basis 2.


Clipping is? correct answers The process of removing objects from the frame which are not in-
view of the camera and so 'clips' them out.


A coordinate frame is? correct answers A coordinate system with an arbitrary origin point.


A coordinate system allows us to? correct answers Represent vectors based off of the scalar
values required to form the vector from the basis vectors used in the system.


Default Orthographic projection of camera for point p = (x,y,z,1)^T is projected to where?
correct answers Projected to Pp = (xp,yp,0,1)^T, due to Pp = M*p. Where M is a 4D identity
matrix with no z component.

,Dimension is? correct answers Max number of linearly independent vectors in a set of vectors.


Each light source has how many components? What are these? correct answers Each have 9
components, made up of the 3 colours for each Specular, Diffuse and Ambient terms.


Elements involved in image formation? correct answers Viewer, Objects and light source/s


Fragment Processing step is when? correct answers Fragments are processed to determine colour
of pixels in frame buffer, which is determined by texture map or interpolation of vertex colours.


Fragment shaders do what? correct answers Their role is to add lighting to objects and to texture
map (e.g. bump map etc.)


Gouraud (Smooth shading) is performed how? What is an advantage of this? correct answers The
shading value at each vertex is calculated using the L,n & v vectors. Interior shading values are
interpolated based on these verticies shading values. It results in smooth shading but isnt as
computationally hard as Phong.


How do we convert from unit quarternion to rotation matrix in 3D? correct answers Use the
Rodriguez rotation formula.
R = I + sin(theta)skew(v) + (1-cos(theta))v*v^T
Theta taken from doing 2*arccos(a) on the a component of the quarternion. Skew is a matrix
which has all zeros on main diagonal, and for what ever component is on that column, that is not
present.


How do you calculate normals for vertices that have multiple triangles attached? correct answers
n = average of triangle normals. Then n = n/|n|

,How effective is the painters algorithm and what are some advantages? When doesnt it work?
correct answers The Painters algorithm is a very simple solution to hidden surface removal, but
is very inefficient compared to the Z-Buffer algo which works in hardware.
It doesnt work well in situations where you have piercing of polygons & when you have cyclic
overlapping of polygons.


How is backwards mapping performed? How is it different to forward mapping? correct answers
Given pixel on screen, we need to find its 3D point and then its (s,t) coordinates on the texture
map, then need to map from object to texture coords. In forward mapping we start from the
texture coords and apply that to the object on screen.


How is directional light modelled? correct answers Seen as parallel rays of light, acting some
distance away, where d = (x,y,z,0)^T, with the same intensity as point source.


How is movement represented in bones? correct answers Each bone has a 4x4 matrix with its
transformation and vectors it influences. THIS is expressed relative to the pose position.


How is texture mapping handled in OpenGL? correct answers Images and geometry go through
different pipelines and come together at the fragment shader.


How is the distance term in lighting calculated? correct answers Distance is inversely
proportional to the distance between light src and point on the surface.


How is the OpenGL camera initialised? correct answers Model view matrix is an identity matrix
and the camera is at the origin pointing in the negative z axis, and has a cube viewing volume
which is of length 2.


How is the total light intensity calculated? correct answers I = kdId(L.n)+ksIs(v.r)^alpha + kaIa


How is zbuffering enabled in OpenGL? correct answers 1. glutInitDisplayMode(GLUT_DEPTH
|| ...)

,glEnable(GL_DEPTH_TEST);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);


How many vectors needed to initialise a light source in OpenGL? correct answers You need 4
vectors. Position, Specular, Diffuse and Ambient.


How many vertex shaders will be created when rendering an object? correct answers Each vertex
will be processed by a vshader, so however many vertices are in the object is how many vshaders
ran.


How many ways can the second part of 2 part mapping occur and what are they? correct answers
3 ways.
Normals calculated from intermediate to actual.
Normals from actual to intermediate.
Vectors from centre of intermediate.


How would you move the camera? correct answers Using a 4x4 identity matrix, change the z
component of the translation vector to however far we need to move the camera.


If more than one bone has influence over a set of vertices how do you determine deformation
when animating? correct answers The computer averages the bone transformations according to
the bone weights on those vertices, and then applies the resultant transformation.


If we want to move the camera via any rotation and translation what order do we perform
actions? correct answers Rotate the camera first, then translate it. This is represented by the
model view matrix, so m = T*R (in matrix multiplication the last is the first).


In and Out qualifiers correct answers These superseded the attribute and varying qualifiers.
'attribute' is replaced by 'in'. 'varying' in vshader replaced by 'out'. 'varying' in fshader replaced by
'in'.

Document information

Uploaded on
November 29, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
811
Followers
438
Items
40316
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions