Introduction - If you have any usage issues, please Google them yourself
opengl Advanced Programming Guide, I will tell you how to use color. You will understand the two kinds of colored patterns, in left, the triangle is used for smooth shading, using a quadrilateral flat shading.
Packet : 9927386703_co.rar filelist
03_Co
03_Co\03_Color.cpp
03_Co\03_Color.sln
03_Co\03_Color.suo
03_Co\03_Color.vcproj
03_Co\Debug
03_Co\GLAUX.H
03_Co\GLAUX.LIB
03_Co\glew.h
03_Co\glew32.lib
03_Co\GlU32.Lib
03_Co\glut.h
03_Co\glut32.lib
03_Co\OpenGL32.Lib
03_Co\wglew.h