Question: Question one: You need to write an Open GL program that will draw a polygon. The program should draw a 2D Polygon and fill it

Question one: You need to write an Open GL program that will draw a polygon. The program should draw a 2D Polygon and fill it with a color of your choice. The program will prompt the following menu to the user: 1: draw a triangle 2: draw a rectangle 3: draw a quad Based on user's choice a colored polygon will be drawn. At the beginning of the code write your name and student ID as a comment. Copy your code into a word document, and insert screenshots of the output in each case. In addition you need to submit a zip file of the word and the OpenGL code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
