摘要:
开启自动纹理坐标功能glEnable(GL_TEXTURE_GEN_S)glEnable(GL_TEXTURE_GEN_T)自动生成纹理坐标glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP)glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP)gl1.1的三个GEN_MODEGL_SPHERE_MAPGL_OBJECT_LINERGL_EYE_LINER* gl后续版本还有更多MODE申请一个二次对象GLUquadricObj *quadraticquadratic=gluNewQuadric( 阅读全文
posted @ 2011-05-04 17:45 mumuliang 阅读(1564) 评论(0) 推荐(0) 编辑