22
33# Ligth Of Field 光场
44
5- ## Plenotic Function
65
7- VR 的原理: 全光函数
6+
7+ ## 全光函数 Plenotic Function
8+
9+ 全光函数, 也就是 VR 相机和全息影像的原理
10+
811![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/plenotic.jpg )
912
1013
@@ -15,4 +18,67 @@ t 表示时间, 用一个7 个维度的函数来描述的场景.
1518Vx Vy Vz 人的位置
1619
1720
18- 光场就是任何一个位置往任何一个方向光的强度.
21+ 光场就是任何一个位置往任何一个方向光的强度.
22+
23+ 通过两个平面来定义光场, 两个平面,各自取一个点来定义方向.
24+ u v 是一个平面上的坐标, s t 是另一个平面上的坐标.
25+
26+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/lumigraph.jpg )
27+
28+ ## 光场相机
29+ 光场相机不仅记录下光的强度信息, 还记录下光的方向信息.
30+
31+ 不同方向的光, 记录在不同的位置.
32+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/lfc.jpg )
33+
34+ 因为记录下了光的方向, 取不同方向的光线, 就可以做到虚拟的移动摄像机的位置.
35+
36+ 可以在这些不同方向的光线中按需查询, 最后就可以改变焦平面的位置.
37+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/lfc2.jpg )
38+
39+ 分辨率降低了, 原本一个像素记录一个信息. 现在可能要100个像素才记录原本一个像素的信息, 不过这100个像素是从不同方向的光得到的.
40+
41+
42+ # 颜色
43+ 光谱: 光线的能量在不同波长上的分布
44+
45+ 谱功率密度: 光的不同波长的强度
46+
47+ 加色系统 (计算机中的rgb)
48+
49+ 减色系统 (颜料)
50+
51+ ## 颜色匹配函数
52+
53+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color.jpg )
54+
55+ sRGB 缺点是色域不够广泛
56+
57+ 色域: 所有颜色空间能够显示的颜色.
58+
59+
60+ ### XYZ 色域 (CIE XYZ 色彩空间)
61+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color2.jpg )
62+
63+ 如何可视化一个三维的东西呢?
64+
65+ 对 XYZ 作归一化处理, 那么只要知道其中的两个维度, 剩下的一个维度的值就可以确定了.
66+
67+ 所以可以用一个 xy 这样的二维坐标来表示
68+
69+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color3.jpg )
70+
71+
72+ 下图说明 sRGB 的色域空间就是图中三角形划定的大小
73+
74+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color4.jpg )
75+
76+ 其他的一些色彩空间
77+
78+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color5.jpg )
79+
80+
81+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color6.jpg )
82+
83+ CMYK 减色系统
84+ ![ image] ( https://raw.githubusercontent.com/lumixraku/NotesForGraphics/master/images/color7.jpg )
0 commit comments