20170218:将chapter 15:Specular Reflection(Phong)相关的代码移植上来,并生成chapter 15对应的图形; 20170217:将《ray tracing from the ground up》的部分代码移植到CodeBlocks。生成的图形对应书本chapter 14: Lights and materials;
一、 1.Please download and install the glut library. 2.Write a complete program using the following codes to draw a Sierpinski gasket. void myinit() { // attributes glClearColor(1.0,1.0,1.0,1.0); glColor3f(1.0,0.0,0.0); // set up viewing glMatrixMode(