《opengl计算机维图形程序设计》三维程序设计-opengl.ppt

《opengl计算机维图形程序设计》三维程序设计-opengl.ppt

《opengl计算机维图形程序设计》三维程序设计-opengl

FBO的使用 当所有上述的准备工作都完成之后,就可以调用glBindFramebufferEXT()来绑定一个FBO。随后,就可一像操作窗体系统提供的帧缓冲区一样操作当前绑定的FBO了。日常的3D渲染操作这里不再赘述。这里主要强调像素操作的使用。OpenGL提供了 glBlitFramebufferEXT()函数进行像素操作。 Chapter 6 Blending, Antialiasing, Fog, and Polygon Offset Blending Blending occurs after your scene has been rasterized and converted to fragments, but just before the final pixels are drawn in the framebuffer. Alpha values can also be used in the alpha test to accept or reject a fragment based on its alpha value. Color blending lies at the heart of techniques such as transparency, digital compositing, and painting. Transparent o

文档评论(0)

1亿VIP精品文档

相关文档