当前位置:网站首页>OPENGL学习(二)OPENGL渲染管线
OPENGL学习(二)OPENGL渲染管线
2022-07-24 18:42:00 【季马宝宝】

Vertex processor:对顶点进行预处理,原始点都是三维的,最终我们看到的点都是二维的。这个映射过程和点的实际位置,和我们从哪个视角去看都有关系。需要通过一系列矩阵调整点的坐标。另外,还需要确定点的颜色,这个和点到镜头的距离和光照情况都有关系。总之,最终得到的是我们视图上每个点的位置以及它的颜色。
Cipper:我们的视图是有限的,在视图以外的点可以通过算法预先处理掉,不需要进行后续计算。
primitive assemble:图元装配。就是使用一个个小的网格去将表示。
Rasterization:栅格化。就是把一个个几何图形变成像素格形式。
Fragment processor:通过纹理和插值算法给每个像素上色。
第一步 Vertex processor得到所有点和颜色。第二部clip删掉视角外的点,并且用小的网格把点都连起来,得到左边的兔子。第三步把每个网格rasterization变成像素。最后上色。
边栏推荐
- 1. Typeof view variable type?
- Show or hide password plaintext + password box verification information
- 全国职业院校技能大赛网络安全竞赛之数据分析数字取证-A
- 暑期牛客多校1: I Chiitoitsu(期望dp,求逆元)
- Getaverse,走向Web3的远方桥梁
- Principle and application of database
- Understand corners_ Align, two perspectives for viewing pixels
- Date function format conversion
- 【TkInter】常用组件(一)
- We have to understand the four scopes: application, session, request and page
猜你喜欢

Ionic4 learning notes 5-- custom public module

Valentine's Day gift ----- use her photos and our chat records to generate word clouds~

卷积神经网络感受野计算指南

Make C #

网络安全80端口—-PHP CGI参数注入执行漏洞

Leetcode memory deep search / dynamic planning V2

全国职业院校技能大赛网络安全竞赛——Apache安全配置详解

Is the validity period of the root certificate as long as the server SSL certificate?

Inoic4 learning notes 2

National vocational college skills competition network security competition -- detailed explanation of Apache security configuration
随机推荐
04-分布式资源管理系统YARN
JVM方法调用
全国职业院校技能大赛网络安全竞赛——Apache安全配置详解
[Tkinter] common components (I)
Encapsulate function basedata.js
线段树合并板子
空间三点画圆代码
2022杭电多校第一场Dragon slayer(dfs+状态压缩)
Calling startActivity() from outside of an Activity context requires the FLAG_ ACTIVITY_ NEW_ TASK flag
7. Character coding?
树链剖分板子
Ionic4 learning notes 8 -- UI component 2 list (no practice, direct excerpt)
Show or hide password plaintext + password box verification information
缺失值处理
Type-C PD protocol chip while charging and listening
线程的生命周周期和基本方法
[Tkinter] layout management and event system
CF lomsat gelral (heuristic merge)
无关的表进行关联查询及null=null条件
Ionic4 learning notes 10 rotation map of an East Project