CS 420 Computer Graphics
Lab 15
Dr. Tong Yu, Fall 2007
Coloring
Login and open two windows, one for editing and one for compiling
and executing programs.
Copy the program smooth.cpp from the lecture notes. Compile and execute it.
Modify the program with different vertex colors to see the color effects.
What happens if you use GL_FLAT in glShadowModel()? Try different
colors with GL_FLAT mode.
Repeat the experiment with rectangles, pentagons and an arbitrary
polygon.