2015年12月15日
摘要: glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);format和type取值如下/* PixelCopyType */#define G... 阅读全文
posted @ 2015-12-15 17:38 3D入魔 阅读(1846) 评论(0) 推荐(0) 编辑
摘要: http://www.cppblog.com/kongque/archive/2010/08/26/124754.htmlFBO一个最常见的应用就是:渲染到纹理(render to texture),通过这项技术可以实现发光效果,环境映射,阴影映射等很炫的效果。OpenGL中的Frame Buffe... 阅读全文
posted @ 2015-12-15 14:08 3D入魔 阅读(1100) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/xiajun07061225/article/details/7283929/OpenGL Frame BufferObject(FBO)Overview: 在OpenGL渲染管线中,几何数据和纹理经过多次转化和多次测试,最后以二维像素的形式显示在屏幕上。O... 阅读全文
posted @ 2015-12-15 09:51 3D入魔 阅读(919) 评论(0) 推荐(0) 编辑