Lab 1

Lab 1: Hello, OpenGL

Due: Thursday, August 26, 2010 (before lab session ends)

Create the program, hello, that opens a window and displays two rectangles of different color, one inside the other, as shown below.

lab_01/hello.png

Include your name, indicate the course, and provide a description of the assignment as comments at the top of your program. The following would suffice:

// Peter Bui
// CSE 40166 Computer Graphics (Fall 2010)
// Lab 1: simple hello, world program

Create Makefile for your program and use it to build hello.

Submission

Demonstrate the hello executable to the instructor or TA before the lab session is over. Once verified, place the source code and Makefile in your course dropbox:

/afs/nd.edu/coursefa.10/cse/cse40166.01/dropbox/<afsid>/lab1

Solution

Peter Bui: