56:246 The Design of Virtual Environments
Homework #8: First Open GL Program
Submit a .c file and an executable to WebCT by 5 pm on Monday.
Create an openGL program based on a console application in Visual C++.
Open an Open GL window and draw four squares. One of the squares
should be a different color than the other three squares. The user
should type a key (t, y, g, or h) to indicate which square has a
different
color in it. If the user types b, the amount of blue in all the colors
is
decreased. If the user types 'B', the amount of blue is increased. If
the
user types 'r', the amount of red is increased. If the user types 'R',
the
amount of red is decreased.
Revised: August 22, 2004 by Geb Thomas