CS 3233-01 Exam #2 Fall 2024

Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due

CS 3233-01 Exam #2

Fall 2024

 

Due: November 13

Assignment

Do this programming problem, and submit your solution to Canvas by the designated deadline. The deadline will be strictly enforced. You should not communicate with anyone about the problem except the professor.

Draw a 3D image of a round dartboard. It should be essentially a very thin prism of high enough degree that its appearance approaches roundness. Draw and animate an image of a dart travelling through the air and sticking into the dartboard. The trajectory and speed of the dart are not required to be realistic according to the laws of physics. A dart that moves at constant speed in a straight line is adequate for this assignment.

Implementation Details

· Apply Eck’s camera API to your scene so the user can twirl it with a mouse while the dart is flying. It’s preferable for the dart to travel slowly enough that one can twirl the scene a bit while the dart is in flight.

· Instead of drawing the usual bulls-eye pattern on the front of the dartboard, texture map it with a photograph of my face. Use the texture image that accompanies this document. The image is rectangular, but the dartboard is essentially round. You should use texture coordinates such that your texture matches the round surface of the dartboard, and my face is not distorted.

Submission Requirements

To receive credit for the assignment, your submission must fulfill these requirements:

· It must include all the source code necessary for your application, including code provided by the professor such as Eck’s camera API and Barrett’s image loader.

· Do not include the texture image of my face. I will provide a copy of the image when I test your application.

· If you use additional texture images not provided by the assignment, you must include them in your submission.

· Each source code file you write must begin with a box comment identifying you, the course, the project, and the due date.

· Each function must be preceded by a box comment that includes the name of the function and a brief abstract of what the function does.

· 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.

Instructions for Turning in Your Program

Zip your source code and submit it to Canvas by the designated deadline.

发表评论

电子邮件地址不会被公开。 必填项已用*标注