Question: Write a C/C++ OpenGL program to display a 3D box with some items in it. Put this box on a 3D table. Allow the user

Write a C/C++ OpenGL program to display a 3D box with some items in it. Put this box on a 3D table. Allow the user to move/rotate this box on the table freely. The box has to remain on the table, and the items inside the box move with the box. Try to use the mouse events for this operation. The goals of this assignments are: To use your 3d geometry knowledge to create complex structures. To use model view projection matrices effectively in your applications. To use your geometry knowledge to chain transformations to create complex structures. What you should do for this assignment: 1. (20 pts) The box should have five closed sides and one open side. The close sides should have visible thickness. There should be at least 3 items in the box. 2. (20 pts) The table should have a 3d surface and four legs. 3. (30 pts) The user should be able to move the box in each direction he likes, as long as the box remains perfectly on the table. 4. (30 pts) The user should be able to rotate the box as long as the box remains perfectly on the table. Write a C/C++ OpenGL program to display a 3D box with some items in it. Put this box on a 3D table. Allow the user to move/rotate this box on the table freely. The box has to remain on the table, and the items inside the box move with the box. Try to use the mouse events for this operation. The goals of this assignments are: To use your 3d geometry knowledge to create complex structures. To use model view projection matrices effectively in your applications. To use your geometry knowledge to chain transformations to create complex structures. What you should do for this assignment: 1. (20 pts) The box should have five closed sides and one open side. The close sides should have visible thickness. There should be at least 3 items in the box. 2. (20 pts) The table should have a 3d surface and four legs. 3. (30 pts) The user should be able to move the box in each direction he likes, as long as the box remains perfectly on the table. 4. (30 pts) The user should be able to rotate the box as long as the box remains perfectly on the table
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
