forked from ElvisQin/youridea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled Diagram.drawio
203 lines (203 loc) · 16.3 KB
/
Untitled Diagram.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<mxfile host="app.diagrams.net" modified="2021-06-28T08:48:42.578Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36" etag="v9U9PhlKu6isEe2E-7gM" version="14.8.1" type="github">
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
<mxGraphModel dx="1422" dy="762" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
<mxCell id="0wVWBR_AB99_waObOdWN-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="0wVWBR_AB99_waObOdWN-1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="90" />
<mxPoint x="420" y="170" />
<mxPoint x="240" y="170" />
<mxPoint x="240" y="210" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-4" value="

<span style="color: rgb(0, 0, 0); font-family: helvetica; font-style: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; background-color: rgb(248, 249, 250); font-size: 10.5pt;">分两次降采样,尺寸变为原来的</span><span lang="EN-US" style="color: rgb(0, 0, 0); font-style: normal; font-weight: 400; letter-spacing: normal; text-align: center; text-indent: 0px; text-transform: none; word-spacing: 0px; background-color: rgb(248, 249, 250); font-size: 10.5pt; font-family: calibri, sans-serif;">1/4</span>

" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="WIyWlLk6GJQsqaUBKTNV-3" target="0wVWBR_AB99_waObOdWN-2">
<mxGeometry x="0.3125" y="40" relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="90" />
<mxPoint x="420" y="170" />
<mxPoint x="600" y="170" />
</Array>
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="WIyWlLk6GJQsqaUBKTNV-3" value="<span style="font-size: 10.5pt">当前</span><span lang="EN-US" style="font-size: 10.5pt ; font-family: &#34;calibri&#34; , sans-serif">back depth buffer</span>" style="rounded=1;whiteSpace=wrap;html=1;fontSize=12;glass=0;strokeWidth=1;shadow=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
<mxGeometry x="360" y="20" width="120" height="70" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-24" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-1" target="0wVWBR_AB99_waObOdWN-26">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="370" as="targetPoint" />
<Array as="points">
<mxPoint x="240" y="320" />
<mxPoint x="280" y="320" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-1" value="原始16像素块内最大深度图" style="whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="200" y="200" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-12" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-2" target="0wVWBR_AB99_waObOdWN-27">
<mxGeometry relative="1" as="geometry">
<mxPoint x="600" y="360" as="targetPoint" />
<Array as="points">
<mxPoint x="600" y="320" />
<mxPoint x="560" y="320" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-2" value="<span>原始16像素块内最小深度图</span>" style="whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="560" y="200" width="80" height="80" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-29" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-5" target="0wVWBR_AB99_waObOdWN-28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="560" y="360" as="targetPoint" />
<Array as="points">
<mxPoint x="420" y="320" />
<mxPoint x="560" y="320" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-5" target="0wVWBR_AB99_waObOdWN-26">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="420" y="320" />
<mxPoint x="280" y="320" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-5" value="需要降低分辨率绘制的特效" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="320" y="200" width="200" height="80" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-7" value="基于最大深度图绘制的特效RT" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="280" y="365" width="120" height="70" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-31" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-26" target="0wVWBR_AB99_waObOdWN-33">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="560" as="targetPoint" />
<Array as="points">
<mxPoint x="220" y="480" />
<mxPoint x="360" y="480" />
<mxPoint x="360" y="530" />
<mxPoint x="230" y="530" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-26" target="0wVWBR_AB99_waObOdWN-47">
<mxGeometry relative="1" as="geometry">
<mxPoint x="210" y="830" as="targetPoint" />
<Array as="points">
<mxPoint x="280" y="510" />
<mxPoint x="150" y="510" />
<mxPoint x="150" y="870" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-26" value="经过深度测试的最大深度图" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="160" y="365" width="120" height="70" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-27" value="基于最小深度图绘制的特效RT" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="560" y="365" width="120" height="70" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-28" target="0wVWBR_AB99_waObOdWN-33">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="560" as="targetPoint" />
<Array as="points">
<mxPoint x="500" y="480" />
<mxPoint x="360" y="480" />
<mxPoint x="360" y="530" />
<mxPoint x="230" y="530" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-48" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-28" target="0wVWBR_AB99_waObOdWN-50">
<mxGeometry relative="1" as="geometry">
<mxPoint x="850" y="840" as="targetPoint" />
<Array as="points">
<mxPoint x="560" y="480" />
<mxPoint x="690" y="480" />
<mxPoint x="690" y="870" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-28" value="经过深度测试的最小深度图" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="440" y="365" width="120" height="70" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-35" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-33" target="0wVWBR_AB99_waObOdWN-34">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-33" value="提取边缘点区域" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="170" y="560" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-37" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-34" target="0wVWBR_AB99_waObOdWN-36">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-34" value="边缘点区域膨胀(只允许向depth更小的像素点流动)" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="370" y="560" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-39" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-36" target="0wVWBR_AB99_waObOdWN-38">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-41" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-36" target="0wVWBR_AB99_waObOdWN-40">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-43" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-36" target="0wVWBR_AB99_waObOdWN-42">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-36" value="区域分类" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="370" y="700" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-38">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="729.8620689655172" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-38" value="非边缘区域" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="170" y="700" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-52" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-40" target="0wVWBR_AB99_waObOdWN-51">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-40" value="原始边缘区域" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="370" y="840" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-42">
<mxGeometry relative="1" as="geometry">
<mxPoint x="690" y="730" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-42" value="膨胀边缘区域" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="540" y="700" width="130" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-54" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-47" target="0wVWBR_AB99_waObOdWN-55">
<mxGeometry relative="1" as="geometry">
<mxPoint x="360" y="1090" as="targetPoint" />
<Array as="points">
<mxPoint x="230" y="1090" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-47" value="按照最大深度图混合到最终rt" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="170" y="840" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-58" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-50" target="0wVWBR_AB99_waObOdWN-55">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-50" value="按照最小深度图混合到最终rt" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="545" y="840" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-57" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="0wVWBR_AB99_waObOdWN-51" target="0wVWBR_AB99_waObOdWN-55">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-51" value="主depth buffer深度按比例混合max depth rt 和min depth rt到最终rt" style="whiteSpace=wrap;html=1;rounded=0;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="370" y="940" width="120" height="90" as="geometry" />
</mxCell>
<mxCell id="0wVWBR_AB99_waObOdWN-55" value="最终结果" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-1">
<mxGeometry x="370" y="1060" width="120" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>