一、步骤和语句 建立点画数组:表示32*32位图 像素颜色 1黑0白 GLubyte stippleArray[] = {};//?? 启用点画模式 glEnable(GL_POLYGON_STIPPLE); 调用点画函数 glPolygonStipple( stippleArray ); 画多边形 Read More
posted @ 2017-04-30 13:10 皓琪 Views(798) Comments(0) Diggs(0)
通过调整RGB值 用渐变色填充的圆 实现月食效果 Read More
posted @ 2017-04-12 19:33 皓琪 Views(2820) Comments(0) Diggs(0)
用尽可能少的代码,画一个颜色渐变的五边形 Read More
posted @ 2017-04-11 22:34 皓琪 Views(3842) Comments(0) Diggs(0)