代写CS 3233-01 Homework #4 Fall 2024代做留学生C/C++语言
- 首页 >> OS编程CS 3233-01 Homework #4
Fall 2024
Due: October 23 Assignment
Write a C++ program that uses OpenGL to draw a lighted 3D scene chosen from this list with at least five objects in the scene:
• A still life. The primary objects in the scene are items that one might find on a ta- ble or desk such as flowers, pieces of fruit, or common office products.
• A transportation scene. The primary objects in the scene are cars, trucks, boats, or other mechanized conveyances.
• An architectural scene. The primary objects in the scene are buildings. At least one of the buildings should have an open door or window that allows the viewer to see inside. There should be an object inside for the viewer to see.
• Your choice. A scene of your own choosing, subject to my approval.
Your program should incorporate Eck’s camera API so the viewer can use a mouse or other pointing device to rotate the scene and view it from various directions. You may use your prism-drawing function if you find it helpful.
Your program should set a location for the light source other than the default location.
Also, exercise your own inventiveness to include a feature in your program that will sur- prise me. Include a README file that tells me what the surprise is. I will test your pro- gram and look for the surprise before I read the README.
Submission Requirements
To receive credit for the assignment, your submission must fulfill these requirements:
• It must include all the source code files necessary for your application.
• Each source code file must begin with a box comment that identifies you, the course, the project, and the due date.
• It must include a makefile that builds your application on the SoC server when I enter the one-word command make on the Linux command line. There must be no build-time errors. Building must produce an executable application called a.out.
• The makefile must not auto-run the application after it finishes building.
• The makefile must include a clean entry.