You are on page 1of 5

MTD203e

Examination – January Semester 2019

Advanced Graphics Design


Tuesday, 21 May 2019 1:00 pm - 3:00 pm

____________________________________________________________________________________

Time allowed: 2 hours


____________________________________________________________________________________

INSTRUCTIONS TO STUDENTS:

1. This examination contains FOUR (4) questions and comprises FIVE (5) printed
pages (including cover page).

2. You must answer ALL questions.

3. All answers must be written in the answer book.

4. This is a closed-book examination.

5. The formula sheet is found on Page 5.

6. Round your answer to the nearest three decimal places.

At the end of the examination


Please ensure that you have written your examination number on each answer book used.

Failure to do so will mean that your work cannot be identified.

If you have used more than one answer book, please tie them together with the string
provided.

THE UNIVERSITY RESERVES THE RIGHT NOT TO MARK YOUR


SCRIPT IF YOU FAIL TO FOLLOW THESE INSTRUCTIONS.

MTD203e Copyright © 2019 Singapore University of Social Sciences (SUSS) Page 1 of 5


Examination – January Semester 2019
Answer all questions. (Total 100 marks)

Question 1

Discuss the operations and properties of vectors and matrices, including the geometrical
meaning of the operations. Answer part (a) to (e) using cross product and dot product of
vectors.

(a) In the diagram given below, P, Q, and R are points in 3D space such that PQR is
a triangle. P = (1,5,9), Q = (5,6,7) and R = (1,1,4). u and v are vectors indicated
by arrows in the diagram.

(i) Solve for u, v and u+v


(6 marks)

(ii) Calculate the length of u and v.


(4 marks)

(iii) Calculate the angle PRQ (measured in degrees).


(8 marks)

(iv) Solve for the length of the cross product u × (u+v). Explain how the
geometrical interpretation of this length relates to the given triangle PQR.
(7 marks)

(b) Calculate the inverse of the matrix

2 4 −8
[−2 3 8]
1 −3 −3

(10 marks)

MTD203e Copyright © 2019 Singapore University of Social Sciences (SUSS) Page 2 of 5


Examination – January Semester 2019
Question 2

The vertices of a triangle are P0(7, 6, 5), P1(3, 4, 7) and P2(5, 9, 3). A ray starts from S(1,
2, 3) and moves in the direction of V(1, 1, 1). Describe the intersection between the ray
and the triangle by completing the following steps.

(a) Determine the plane on which the triangle lies.


(6 marks)

(b) Calculate the point of intersection between the ray and the plane.
(6 marks)

(c) Determine if the intersection lies within the triangle.


(13 marks)

Question 3

Solve the transformation operation that involves rotating an object by 45o in a 3D space
about a line passing through the origin and the point (3, 5, 8). The transformation involves
the following steps.

(a) Form the matrix Mx that rotates the line about the x-axis so that the line lies in
the x-z plane meaning the y-coordinate is zero.
(5 marks)

(b) Form the matrix My that rotates the line about the y-axis to that the line lies on
the z-axes.
(5 marks)

(c) Compute M = MyMx and verify that M rotates the line onto the z-axis, that

3 0
M[5] = [ 0 ] .
8 √98
(8 marks)

(d) Form the matrix R that rotates the object by 45o about the z axis.
(3 marks)

(e) Form the matrix M-1 and verify that M-1 rotates the line from the z-axis back to
0 3
its original position, that is M-1[ 0 ] = [5].
√98 8
(4 marks)

MTD203e Copyright © 2019 Singapore University of Social Sciences (SUSS) Page 3 of 5


Examination – January Semester 2019
Question 4

(a) A light ray travelling in a medium with refraction index 1.33 hits another medium
with refraction index 1. N = (3,7,5) is a normal vector to the surface between the
two mediums. L = (5,7,3) is a vector pointing towards the source of the ray.
Explain the result by calculating the refraction vector T.
(10 marks)

(b) A light ray hits a perfectly shiny surface with L=(5,7,3) and N=(3,7,5). Calculate
the reflection vector in this instance.
(5 marks)

MTD203e Copyright © 2019 Singapore University of Social Sciences (SUSS) Page 4 of 5


Examination – January Semester 2019
FORMULA SHEET

1) Formula for the reflection vector

R = 2(N.L)N - L

2) Formula for the refraction vector

Ƞ𝐿 Ƞ𝐿 2 Ƞ𝐿

𝑇 = ( 𝑁. 𝐿 − 1 − 2 [1 − (𝑁. 𝐿)2 ]) 𝑁 − 𝐿
Ƞ𝑇 Ƞ𝑇 Ƞ𝑇

3) Rotation matrix

1 0 0
Rx(A) = [0 𝑐𝑜𝑠𝐴 −𝑠𝑖𝑛𝐴]
0 𝑠𝑖𝑛𝐴 𝑐𝑜𝑠𝐴
𝑐𝑜𝑠𝐵 0 𝑠𝑖𝑛𝐵
Ry(B) = [ 0 1 0 ]
−𝑠𝑖𝑛𝐵 0 𝑐𝑜𝑠𝐵
𝑐𝑜𝑠𝐶 −𝑠𝑖𝑛𝐶 0
Rz(C) = [ 𝑠𝑖𝑛𝐶 𝑐𝑜𝑠𝐶 0]
0 0 1

----- END OF PAPER -----

MTD203e Copyright © 2019 Singapore University of Social Sciences (SUSS) Page 5 of 5


Examination – January Semester 2019

You might also like