天天看点

《OpenGL编程指南》一导读

《OpenGL编程指南》一导读

opengl图形系统是图形硬件的一种软件接口(gl表示graphics library,即图形库)。它使得用户可以创建交互式的程序以产生运动的3维对象的颜色图像。通过opengl,我们可以使用计算机图形学技术来产生逼真的图像,或者通过一些虚构的方式产生虚拟的图像。这本指南将告诉你如何使用opengl图形系统进行编程,得到你所期望的视觉效果。

<a href="https://yq.aliyun.com/articles/117332">第1章 opengl概述</a>

<a href="https://yq.aliyun.com/articles/117335">1.1 什么是opengl</a>

<a href="https://yq.aliyun.com/articles/117339">1.2 初识opengl程序</a>

<a href="https://yq.aliyun.com/articles/117342">1.3 opengl语法</a>

<a href="https://yq.aliyun.com/articles/117345">1.4 opengl渲染管线</a>

<a href="https://yq.aliyun.com/articles/117350">1.5 第一个程序:深入分析</a>

<a href="https://yq.aliyun.com/articles/117352">第2章 着色器基础</a>

<a href="https://yq.aliyun.com/articles/117354">2.1 着色器与opengl</a>

<a href="https://yq.aliyun.com/articles/117359">2.2 opengl的可编程管线</a>

<a href="https://yq.aliyun.com/articles/117378">2.3 opengl着色语言概述</a>

<a href="https://yq.aliyun.com/articles/117386">2.4 数据块接口</a>

<a href="https://yq.aliyun.com/articles/117391">2.5 着色器的编译</a>

<a href="https://yq.aliyun.com/articles/117392">2.6 着色器子程序</a>

<a href="https://yq.aliyun.com/articles/117394">2.7 独立的着色器对象</a>

<a href="https://yq.aliyun.com/articles/117396">第3章 opengl绘制方式</a>

<a href="https://yq.aliyun.com/articles/117401">3.1 opengl图元</a>

<a href="https://yq.aliyun.com/articles/117410">3.2 opengl缓存数据</a>

<a href="https://yq.aliyun.com/articles/117415">3.3 顶点规范</a>

<a href="https://yq.aliyun.com/articles/117427">3.4 opengl的绘制命令</a>

<a href="https://yq.aliyun.com/articles/117438">3.5 多实例渲染</a>

第4章 颜色、像素和帧缓存

4.1 基本颜色理论

4.2 缓存及其用途

4.2.1 缓存的清除

4.2.2 缓存的掩码

4.3 颜色与opengl

4.3.1 颜色的表达与opengl

4.3.2 顶点颜色

4.3.3 光栅化

4.4 多重采样

4.4.1 采样着色

4.5 片元的测试与操作

4.5.1 剪切测试

4.5.2 多重采样的片元操作

4.5.3 模板测试

4.5.4 模板的例子

4.5.5 深度测试

4.5.6 融混

4.5.7 融混参数

4.5.8 控制融混的参数

4.5.9 融混方程

4.5.10 抖动

4.5.11 逻辑操作

4.5.12 遮挡查询

4.5.13 条件渲染

4.6 逐图元的反走样

4.6.1 线段的反走样

4.6.2 多边形的反走样

4.7 帧缓存对象

4.7.1 渲染缓存

4.7.2 创建渲染缓存的存储空间

4.7.3 帧缓存附件

4.7.4 帧缓存的完整性

4.7.5 帧缓存的无效化

4.8 多重渲染缓存的同步写入

4.8.1 选择颜色缓存来进行读写操作

4.8.2 双源融混

4.9 像素数据的读取和拷贝

4.10 拷贝像素矩形

继续阅读