Skip to content

Commit ad3d845

Browse files
author
Nan Luo
committed
add lecture 10
1 parent ff64e17 commit ad3d845

15 files changed

+65
-0
lines changed

GAMES101_Lecture_04.pdf

4.72 MB
Binary file not shown.

GAMES101_Lecture_08.pdf

42.6 MB
Binary file not shown.

GAMES101_Lecture_09.pdf

29 MB
Binary file not shown.

GAMES101_Lecture_10.pdf

41.7 MB
Binary file not shown.

GAMES101_Lecture_11.pdf

20.4 MB
Binary file not shown.

Notes10.md

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Lecture 10
2+
3+
## 一些经典模型
4+
犹他茶壶
5+
斯坦福兔子
6+
斯坦福龙
7+
康奈尔盒子
8+
9+
## 纹理贴图只能表示纹理吗
10+
环境贴图 (把环境光描述在一张图上)
11+
环境光记录在球上 (Spherical Environment Map)
12+
凹凸贴图 (Bump Mapping) (定义了一个点的在平面的高度)
13+
凹凸贴图的进化版 位移贴图( Displacement mapping )
14+
15+
### 球体映射到立方体
16+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/texture10.png)
17+
18+
19+
### 位移贴图
20+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/texture11.png)
21+
22+
位移贴图真的移动了顶点, 凹凸贴图只是改了法线,那么在物体的边缘上就会穿帮(边缘还是很光滑)
23+
24+
## 3D 纹理
25+
定义了三维空间中的点的颜色
26+
27+
https://zh.wikipedia.org/wiki/Perlin%E5%99%AA%E5%A3%B0
28+
29+
30+
## 物体几何表示
31+
32+
### 隐式表示
33+
34+
f(x, y, z) = 0
35+
36+
不容易看出物体张啥样, 但是可以通过表达式 =0 >0 <0 判断出点在物体外还是物体内
37+
38+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/geometry1.png)
39+
40+
### 显式表示
41+
42+
点云 OR 参数映射
43+
44+
R^2 => R^3 二维到三维的映射
45+
46+
虽然很容易看出图形的形状, 但是却不好判断点是否在图形内还是外
47+
48+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/geometry2.png)
49+
50+
### 构造实体几何 CSG
51+
52+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/geometry3.png)
53+
54+
## 距离函数
55+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/distance.png)

Notes9.md

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313

1414
这里还可以看 [重心坐标](https://zhuanlan.zhihu.com/p/58199366)
1515

16+
### 几何性质
17+
18+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/barycentric2.jpg)
19+
20+
α β γ 和对面三角形的面积有关
21+
22+
那么三角形重心的 重心坐标就是 α β γ 都等于 1/3 的时候, 也就是三个划分的三角形面积相同的时候.
23+
24+
![image](https://github.com/lumixraku/NotesForGraphics/raw/master/images/barycentric2.jpg)
25+
1626

1727
### 用途
1828

images/barycentric4.jpg

198 KB
Loading

images/barycentric5.png

247 KB
Loading

images/distance.png

312 KB
Loading

images/geometry1.png

355 KB
Loading

images/geometry2.png

470 KB
Loading

images/geometry3.png

493 KB
Loading

images/texture10.png

617 KB
Loading

images/texture11.png

802 KB
Loading

0 commit comments

Comments
 (0)