Question: Using C language and OpenGL, design a program to display a house in 3D with the following requirements : The house should have a red

Using C language and OpenGL, design a program to display a house in 3D with the following requirements :

The house should have a red roof and bright sides with windows and a main door. You can use your artistic imagination in designing the house using the basic OpenGL primitives.

The house set of primitives should be stored in a separate text file.

When the left button of the mouse is pressed the eye is re-positioned roughly at the X-Y location in the window without affecting its Z-ccordinate.

The right button of the mouse should be attached to a menu with these options:

1. Increment Z-ccordinate of the eye (the camera gets farther from the house),

2. Decrement Z-ccordinate of the eye (the camera gets closer to the house),

3. Quit: When selected, the program terminates.

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 Databases Questions!