Question: PLEASE SOLVE THESE QUESTIONS. Question 1 (a) Show the 44 matrix that is used to describe each of the following transformations: (i) A scaling operation
PLEASE SOLVE THESE QUESTIONS.
Question 1 (a) Show the 44 matrix that is used to describe each of the following transformations: (i) A scaling operation that doubles the size of an object in all dimensions in 3D. (ii) A translation of an object 3 units up the positive x-axis. (iii) A rotation of an object about the x-axis by 90 degrees. (6 marks) (b) Write the code you would add to an openGL draw function in order to rotate an object 45 degrees about the point (3,2,0) and about the z-axis. (6 marks) (c) Show the three transformations that make up the window to viewport transformation and show how they may be combined into a single matrix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
