Question: CSCI 4550 Homework 2 In this assignment, I expect you to create a static image on OpenGL. This image will contain several primitive shapes with

 CSCI 4550 Homework 2 In this assignment, I expect you to

CSCI 4550 Homework 2 In this assignment, I expect you to create a static image on OpenGL. This image will contain several primitive shapes with colors. Please set your window size to 500x500 and use the orthographic projection. You are free to determine size (and location) of the viewing cube and the size of each object. I only expect you follow the ratio between these objects as shown below. You are free to choose any n" value as long as it is consistent with your viewing cube. n i + 3n 7n n The image is similar to a compass including four shapes (blue triangle, red cross, yellow diamond, and green star) located at four directions (north, east, south, and west) and a brown arrow at the center pointing to the north. All shapes are in a gray ring shape. Please keep in mind that you will reuse your program for the next assignment, so try to write your code as modular as possible. For instance, it is a good idea to create a function (for each shape) that allows drawing the shape at any location in the scene. CSCI 4550 Homework 2 In this assignment, I expect you to create a static image on OpenGL. This image will contain several primitive shapes with colors. Please set your window size to 500x500 and use the orthographic projection. You are free to determine size (and location) of the viewing cube and the size of each object. I only expect you follow the ratio between these objects as shown below. You are free to choose any n" value as long as it is consistent with your viewing cube. n i + 3n 7n n The image is similar to a compass including four shapes (blue triangle, red cross, yellow diamond, and green star) located at four directions (north, east, south, and west) and a brown arrow at the center pointing to the north. All shapes are in a gray ring shape. Please keep in mind that you will reuse your program for the next assignment, so try to write your code as modular as possible. For instance, it is a good idea to create a function (for each shape) that allows drawing the shape at any location in the scene

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!