Homework #1. Due: Tuesday, March 9.

 

Download this Win32 Console Project containing quiz1.cpp as the basic framework in the quiz and use OpenGL to model and render the Jack-in-the-Box figure with the head, the torso, two eyes, two hands, and two legs. For each task, please write a separate .cpp file. (For example, task1.cpp, task2.cpp, task3.cpp), and send them as attachments of an email to me. Describe what you are able to accomplish and what troubles you have in that email too.

 

To avoid JIT runtime problems, create your project as a Win32 Console Project (instead of.NET project) and make it an Empty project as described below.

1.      Start Microsoft Visual Studio .NET.

2.      On the File menu, point to New, and then click Project.

3.      Under Project Types, click Visual C++ Projects.

4.      Under Templates, click Win32 Console Project.

5.      In the Name text box, type any name you give to the project.

6.      In the Location text box, type any location you choose, and then click OK.
The Win32 Application Wizard dialog box appears.

7.      In the Win32 Application Wizard dialog box, click Application Settings in the left pane.

8.      Under Application Type, click to select Console application.

9.      Under Additional options, click to select the Empty project check box.

10.  Click Finish.

 

 

Task 1: Model and render the figure with each of the head, the torso, two eyes, two hands, and two legs all modeled as a box (i.e. a parallelepiped):

 

Task 2: Use the geometric information you have from task 1, but model and render the figure with (i) the head and two eyes modeled as spheres and (ii) the torso, two hands, two legs, and a hat all modeled as cylinders.

 

 

Task 3: Model and render the Biola bell tower (including at least one bell with it).