Computer Graphics Programming Assignment 03 Due Date: April 11, XXXXXXXXXX:59 PM) Total points: 10 In this programming assignment, you will transform an objects with OpenGL. You will use...

1 answer below »

Computer Graphics
Programming Assignment 03
Due Date: April 11, XXXXXXXXXX:59 PM)
Total points: 10
In this programming assignment, you will transform an objects with OpenGL. You will use
transformation matrices for all transformation. Show all the transformation in one window (Same as
previous assignment)
Programming Tasks:
1. Prompt from the user to get the four coordinate values of a Quadrilateral.
2. Fill that with any color of your choice
Do the following transformation
1. Transform the Quadrilateral by the composite transformation
P’=M3M2M1P
Where, P is the original Quadrilateral and P’ is the transformed Quadrilateral
M1 = Rotate about the origin by 900 Anti clockwise
M2 = Translate each point by (2,5) to the original coordinate
M3 = Scale each point by a scaling factor of (2,1)
Your output should be the object after performing all transformations.
Submission:
a. Submit your code file (.c /.cpp). No word or pdf
Answered 2 days AfterApr 06, 2022

Solution

Tanisha answered on Apr 08 2022
12 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here