3673 Tut 04

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

AAMS3673 MATHEMATICS FOR GAMES TECHNOLOGY II

Tutorial 4 – Three Dimensional Transformations

Q1. Find the Cartesian coordinate for the following homogeneous vectors.
(a) ( 1 6 7.6  5) (b) (1 7 6 0.25)
(c) (6 0 0 8) (d) ( 2  3 5 2)

Q2. (a) Scale the rectangular parallelepiped with vertices A(0, 0, 1) , B(2, 0, 1) , C (2, 3, 1) ,
D(0, 3, 1) , E (0, 0, 0) , F (2, 0, 0) , G(2, 3, 0) and H (0, 3, 0) into one-unit cube.
(b) Scale the one-unit cube obtained in (a) into three-unit cube.

Q3. Find the matrix that shift (0, 6, 1) to (9, 1, 7) . Find the image of the rectangular parallelepiped
in Q2 (a) under this transformation.

Q4. Consider a chamfered block with vertices A(10,  3,  4) , B(10, 1,  4) , C (8.5, 3,  4) ,


D(10, 3,  4) , E(10,  3,  4) , F (10,  3, 4) , G(10, 1, 4) , H (8.5, 3, 4) , I (10, 3, 4) and
J (10,  3, 4) . Rotate the block so that the bottom plane AEJF is parallel to the xy -plane.

Q5. Rotate the rectangular parallelepiped with vertices A(0, 0, 1) , B(3, 0, 1) , C (3, 2, 1) ,
D(0, 2, 1) , E (0, 0, 0) , F (3, 0, 0) , G(3, 2, 0) and H (0, 2, 0) about the y -axis through an
angle 90 o CCW. Sketch the results obtained.

Q6. Transform the rectangular parallelepiped with vertices A(0, 0, 1) , B(3, 0, 1) , C (3, 2, 1) ,
D(0, 2, 1) , E (0, 0, 0) , F (3, 0, 0) , G(3, 2, 0) and H (0, 2, 0) by applying the matrices
 1 1 0 0   1 0 1 0   1 1 1 0 
     
 0 1 0 0   0 1 0 0   0 1 0 0 
(a)  0 0 1 0 
(b)  0 0 1 0 
(c)  0 0 1 0 
     
 0 0 0 1   0 0 0 1   0 0 0 1 
  
 1 0 0 0   1 1 1 0   1 1 1 0 
     
 0 1 0 0   0 1 0 0   2 1 2 0 
(d)  0.5 0.5 1 0 
(e)  0.5 0.5 1 0 
(f)  0.5 0.5 1 0 
     
 0 0 1   0 0 1   0 0 1 
 0  0  0
For each transformation, sketch the result in a graph.

Q7. Reflect the rectangular parallelepiped with vertices A(1, 0, 1) , B(2, 0, 1) , C (2, 1,  1) ,
D(1, 1,  1) , E (1, 0,  2) , F (2, 0,  2) , G(2, 1,  2) and H (1, 1,  2) about the
(a) xz -plane (b) yz -plane (c) x -axis
(d) y -axis (e) z -axis (f) origin

You might also like