Computer Graphics, Lab Assignment 9

35.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: solution files instantly, after Payment

Securely Powered by: Secure Checkout

Description

Rate this product

Computer Graphics, Lab Assignment 9

+ LabAssignment2/

+ 1/

  • py

+ 2/

  • py

+ 3/

  • py

 

  • The submission time is determined not when the commit is made but when the git push is made.

 

  1. Write down a Python program to visualize ZXZ Euler angles.
  2. This is how ZXZ Euler angles works
    1. Rotate along Z-axis by α ii. Rotate along X-axis of the new frame by β iii.   Rotate along Z-axis of the new frame by γ
  3. Start from 9-Orientation&Rotation practice code, implement ZXZ Euler angles and add code to change α, β, γ values in the following way.
    1. If you press or repeat a key, the value of α, β, γ should be changed as shown in the table:
Key Transformation
A Increase α by 10°
Z Decrease α by 10°
S Increase β by 10°
X Decrease β by 10°
D Increase γ by 10°
C Decrease γ by 10°
V Initialize orientation
  1. Hint: You do not need to store a composed rotation matrix as a global variable. You can just store α, β, γ as global variables.
  2. Set the window title to your student ID and the window size to (480,480).
  3. Expected result: Uploaded LabAssignment9-1.mp4
  4. Files to submit: A Python source file (Name the file whatever you want (in English). Extension should be .py)