随笔分类 -  opengl

摘要:1. OpenGL ES 2.0可编程管道 OpenGL负责把三维空间中的对象通过投影、光栅化转换为二维图像,然后呈现到屏幕上。 上图黄色部分(Vertex Shader和Fragment Shader)为此管道的可编程部分。整个管道包含以下两个规范: 1) OpenGL ES 2.0 ... 阅读全文
posted @ 2014-08-04 15:05 丛林小阁楼 阅读(666) 评论(0) 推荐(0) 编辑
摘要:1 #include 2 #include 3 #include 4 #include 5 6 #pragma comment( lib, "glut.lib" ) 7 8 void display() 9 {10 glClear( GL_COLOR_BUFFER_BIT ... 阅读全文
posted @ 2014-08-01 17:38 丛林小阁楼 阅读(189) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示