Texts:
Write a C++ program to draw the following shape using the OpenGL polygon function (or any other suitable function). Use Visual Studio and the OpenGL library commands to draw the shape according to the correct and suitable coordinates.
27
You must show a screenshot. Do not give an example, you must do the coding work following the instructions.
Instructions:
Name: Wafa bint Yahya bin Abdullah Al-Murshidi
MINIPROJECT: GRADING SCHEME
1. Each student must do an OpenGL program to get the image allotted for them.
2. Different images are allowed.
3. The output screen window must contain the heading as follows:
ACADEMIC NUMBER:
NAME:
SECTION NUMBER:
MINIPROJECT
4. Any OpenGL primitives or geometric transformations can be applied to get the image.
5. The position of the image can be anywhere inside the window.
6. There is no constraint about the size.
7. Colors can have a little change in shading.
8. The aspect ratio (length/width) must be maintained.