You are on page 1of 6

MTD203

Timed Online Assignment – January Semester 2020

Advanced Graphics Design


Tuesday, 19 May 2020 1:00 pm – 3:30 pm

Time allowed: 2.5 hours

INSTRUCTIONS TO STUDENTS:

1. This Timed Online Assignment (TOA) contains FOUR (4) questions and
comprises SIX (6) pages (including cover page).

2. You must answer ALL questions.

3. If you have any queries about a question, or believe there is an error in the
question, while the assignment is in session, briefly explain your understanding
of and assumptions about that question before attempting it.

4. You are to include the following particulars in your submission: Course Code,
SUSS PI No., and Your Full Name. You will need to name your submission file
as CourseCode_FullName_StudentPI.

5. Please submit only ONE (1) file (<500 MB) within the time-limit via Canvas
[similar to Tutor Marked Assignment (TMA) submission]. If you do not submit
within the time-limit, you would be deemed to have withdrawn (W) from the
course. Appeal is NOT allowed.

6. To prevent plagiarism and collusion, your submission will be reviewed


thoroughly by Turnitin, The Turnitin report will only be made available to the
markers. The university takes a tough stance against plagiarism and collusion.
Serious cases will normally result in the student being referred to SUSS’s Student
Disciplinary Group. For other cases, significant marking penalties or expulsion
from the course will be imposed.

7. The formula sheet is found on Page 6.

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 1 of 6


TOA – January Semester 2020
8. Round your answer to the nearest three decimal places.

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 2 of 6


TOA – January Semester 2020
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) Given that two vectors in some basis are:

u = (2, 3, 4) and
v = (5, 6, 7)

Show that u and v are not orthogonal.


(5 marks)

(b) Find the vector n that is orthogonal to both u and v.


(5 marks)

(c) Find the vector w that is orthogonal to both u and n.


(5 marks)

(d) Show that the three vectors u, n and w are orthogonal to each other.
(5 marks)

3 6 −3
(e) Calculate the inverse of the matrix [−3 4 18 ].
6 −3 −6
(10 marks)

Question 2

(a) Describe the intersection between a straight path and the surface of a sphere. The
initial path of a fired bullet is defined by P(t) = S + tV where t ≥ 0, S = (5,1,4)
and V = (-3,2,-1). A spherical ball with radius 5 is centered at the origin.

(i) Calculate the intersection between the path of the bullet and the surface
of the sphere.
(10 marks)

(ii) Using your answer in part (i), determine the point where the bullet hits
the sphere.
(5 marks)

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 3 of 6


TOA – January Semester 2020
(b) A light ray hits a perfectly shiny surface with L = <3,4,5> and N = <5,3,1>.

(i) Normalise L and N.


(4 marks)

(ii) Calculate the reflection vector in this instance.


(6 marks)

Question 3

Solve the transformation operation that involves rotating an object by 30 o in a 3D space


about a line passing through the origin and the point (-3, 1, 2). The transformation
involves the following steps.

2
(a) Form the matrix Mx that rotates the line about the x-axis by 𝑐𝑜𝑠 −1 ( ).
√5
(5 marks)

√5
(b) Form the matrix My that rotates the line about the y-axis by 𝑐𝑜𝑠 −1 ( ).
√14
(5 marks)

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

−3 0
M[ 1 ] = [ 0 ].
2 √14
(8 marks)

(d) Form the matrix R that rotates the object by 30 o 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 ] = [ 1 ].
√14 2
(4 marks)

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 4 of 6


TOA – January Semester 2020
Question 4

Explain briefly how each of the FOUR (4) main types of light sources are used in 3D
graphics systems.

(a) Ambient Light


(5 marks)

(b) Directional Light


(5 marks)

(c) Point Light


(5 marks)

(d) Spot Light


(5 marks)

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 5 of 6


TOA – January Semester 2020
FORMULA SHEET

1) Formula for the reflection vector

R = L - 2(L●N)N

2) Rotation matrix

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

3) Trigonometric Identities

cos2θ + sin2θ = 1

cos-1() = sin-1(√1 − 2)

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

MTD203 Copyright © 2020 Singapore University of Social Sciences (SUSS) Page 6 of 6


TOA – January Semester 2020

You might also like