Python code questions

• Answer each question in the order: – Matrices used to perform perspective projections, rotations, and zooming.
– Figures generated from Python.
– Python codes for all computations and plots.
• No hand-writing is needed. Use a Word document to answer all questions and then convert it into a PDF file.
Answer the following four questions in your report.
1. (20 points for each) Find the perspective projection using the Toyota data in matrix D using the following points as centers of projection. Sketch the results using Python. (a) (b, c, d) = (−5, 10, 10) (b) (b, c, d) = (0, 10, 25)
2. (20 points) Rotate the Toyota 30◦ about the y-axis, then perform the perspective projection with center of projection (0, 10, 25). Sketch the result using Python. How does this sketch compare with that in Question 1(b)?
3. (20 points) Rotate the Toyota 45◦ about the z-axis, then perform the perspective projection with center of projection (0, 10, 25). Sketch the result using Python. How does this sketch compare with that in Question 1(b)?
4. (20 points) Zoom in on the Toyota with a zoom factor of 150%, then perform the perspective projection with center of projection (0, 10, 25). Sketch the result using Python. How does this sketch compare with that in Question 1(b)?

Don't use plagiarized sources. Get Your Custom Essay on
Python code questions
Just from $13/Page
Order Essay
Still struggling to complete your homework?
Get instant homework help from our expert academic writers!