当前位置:网站首页>GAMES101复习:着色(Shading)、渲染管线
GAMES101复习:着色(Shading)、渲染管线
2022-07-26 02:22:00 【老闫在努力】
In this course:The process of applying a material to an object.
目录
1.Blinn-Phong 反射模型(经验模型):Ambient+Diffuse+Specular
1.1.2 光本质是能量,与接受面大小有关(Lambert's cosine law)
1.1.3 Lamberian (Diffuse)Shading:与视线方向无关
1.2 Specular Term(高光) (Blinn-Phong)
1.2.2 半程向量:将视线与反射向量夹角 转换为 法线与半程向量的夹角
1.3 Ambient Term(环境光):constant
0. 光照模型中的一些基本定义:法线、光线、视线、表面参数
在某一个特定的点上着色:

0.1 shading ≠ shadow
1.Blinn-Phong 反射模型(经验模型):Ambient+Diffuse+Specular

1.1 Diffuse Reflection(漫反射)
1.1.1 从各个方向看颜色相同
1.1.2 光本质是能量,与接受面大小有关(Lambert's cosine law)


1.1.3 Lamberian (Diffuse)Shading:与视线方向无关


1.2 Specular Term(高光) (Blinn-Phong)
1.系数(高光颜色)、光能量吸收
2.反射向量的计算比半程向量计算量大很多
3.指数p,决定视线与半程向量角度大小影响的亮度
1.2.1 视线与反射向量夹角越小亮度越大

1.2.2 半程向量:将视线与反射向量夹角 转换为 法线与半程向量的夹角

1.2.3 cos指数p


1.3 Ambient Term(环境光):constant
1.跟实际光照方向没什么关系
2.跟视线方向没什么关系
基本上是一个常数,保证任何一个地方不是黑的

2.Shading Frequencies(着色频率)
3.渲染管线(Real-time Rendering)
也可以看这篇博客:计算机图形学:渲染管线_老闫在努力的博客-CSDN博客
1.输入一堆空间中的点
2.三维空间中的点投影到二维平面上
3.这些点会形成三角形
4.但屏幕是离散的,所以要对其进行光栅化,并做一些深度测试
5.对像素着色



现代计算机图形学允许顶点和像素部分是可编程的
4.纹理映射:不同点不同位置有不同的属性
希望有一种方法,能够定义物体中某一个点的属性,不同位置有不同的属性
在纹理上定义一个坐标系,称为UV坐标系,其中一般定义 ![U,V\in [0,1]](http://img.inotgo.com/imagesLocal/202207/26/202207260222171147_12.gif)

三维表面上的点,实际上展开就是一张二维平面图:



边栏推荐
- 墨天轮高分技术文档分享——数据库安全篇(共48个)
- 2. Login - verification code function and saving login status
- Digital warehouse: on the construction practice of digital warehouse in banking industry
- ggplot2学习总结
- [C]详解语言文件操作
- 1. Mx6ul core module serial WiFi test (VIII)
- 项目管理:精益管理法
- Business Intelligence BI full analysis, explore the essence and development trend of Bi
- 由一个数据增量处理问题看到技术人员的意识差距
- prometheus+blackbox-exporter+grafana 监控服务器端口及url地址
猜你喜欢

Wechat applet decryption and unpacking to obtain source code tutorial

Sword finger offer 28. symmetric binary tree

c# 单元测试

Prometheus + process exporter + grafana monitor the resource usage of the process

Kaggle registration method to solve the problem of man-machine verification

1. Mx6ul core module serial Ethernet test (VII)

EAM系统能帮助企业做什么?

Ti am335x industrial control module uses the Debian system of beaglebone (BBB)

1. Mx6ul core module use serial -rs485 test (x)

信息系统项目管理师---第十章沟通管理和干系人管理历年考题
随机推荐
18_请求文件
Business Intelligence BI full analysis, explore the essence and development trend of Bi
I came to the library applet one click sign in and one click grab location tool
BigDecimal use
[C language brush leetcode] 735. Planetary collision (m)
Brief introduction and use of NPM link
EAM系统能帮助企业做什么?
ggplot2学习总结
Is the securities account presented by qiniu true? How to open it safely and reliably?
I.MX6UL核心模块使用连载-RTC测试 (十二)
Error reporting caused by local warehouse
ERROR: could not extract tar starting at offset 000000000000020980+9231072+2
增删改查业务的快速上手
[red team] att & CK - using bits services to achieve persistence
我来图书馆小程序签到流程分析
[C language brush leetcode] 814. Binary tree pruning (m)
MySQL(4)
[C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
prometheus+blackbox-exporter+grafana 监控服务器端口及url地址
2022-07-17

