CS 420 Computer Graphics


Lab 2
Dr. Tong Yu, September 2004

Simple Draw

  1. Make a new directory called draw1. Copy the draw programs discussed in lab1 to your draw1 directory. Modify draw.cpp so that it displays a triangle and a rectangle.
  2. Make a new direcory called mouse_key. Copy the programs mouse_key from the intructor's demo subdirectory discussed in lab1. Compile and run the program. Examine the source codes of the programs and modify them to do something you desire.