1 | template element TextArea(Example/Visibility/Templates/BasicText)
|
---|
2 | {
|
---|
3 | metrics_mode pixels
|
---|
4 | left 5
|
---|
5 | top 5
|
---|
6 | width 180
|
---|
7 | height 30
|
---|
8 | font_name TrebuchetMSBold
|
---|
9 | char_height 16
|
---|
10 | colour_top 0.5 0.7 0.5
|
---|
11 | colour_bottom 0.3 0.5 0.3
|
---|
12 | }
|
---|
13 |
|
---|
14 | Example/Visibility/DemoOverlay
|
---|
15 | {
|
---|
16 | zorder 500
|
---|
17 | // Stats block
|
---|
18 | container BorderPanel(Example/Visibility/VisibilityPanel)
|
---|
19 | {
|
---|
20 | metrics_mode pixels
|
---|
21 | vert_align top
|
---|
22 | left 5
|
---|
23 | top 5
|
---|
24 | width 400
|
---|
25 | height 90
|
---|
26 | material Core/StatsBlockCenter
|
---|
27 | border_size 1 1 1 1
|
---|
28 | border_material Core/StatsBlockBorder
|
---|
29 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
30 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
31 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
32 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
33 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
34 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
35 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
36 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
37 |
|
---|
38 |
|
---|
39 | element TextArea(Example/Visibility/Algorithm): Example/Visibility/Templates/BasicText
|
---|
40 | {
|
---|
41 | left 5
|
---|
42 | top 5
|
---|
43 | width 180
|
---|
44 | caption [SPACE] Algorithm
|
---|
45 | }
|
---|
46 | element TextArea(Example/Visibility/AlgorithmInfo): Example/Visibility/Templates/BasicText
|
---|
47 | {
|
---|
48 | left 170
|
---|
49 | top 5
|
---|
50 | width 90
|
---|
51 | height 30
|
---|
52 | caption :
|
---|
53 | }
|
---|
54 |
|
---|
55 | element TextArea(Example/Visibility/Threshold): Example/Visibility/Templates/BasicText
|
---|
56 | {
|
---|
57 | left 5
|
---|
58 | top 20
|
---|
59 | width 90
|
---|
60 | height 30
|
---|
61 | caption [-][+] Threshold
|
---|
62 | }
|
---|
63 | element TextArea(Example/Visibility/ThresholdInfo): Example/Visibility/Templates/BasicText
|
---|
64 | {
|
---|
65 | left 170
|
---|
66 | top 20
|
---|
67 | width 90
|
---|
68 | height 30
|
---|
69 | caption :
|
---|
70 | }
|
---|
71 | element TextArea(Example/Visibility/UseOptimization): Example/Visibility/Templates/BasicText
|
---|
72 | {
|
---|
73 | left 5
|
---|
74 | top 35
|
---|
75 | width 90
|
---|
76 | height 30
|
---|
77 | caption [O] Optimization
|
---|
78 | }
|
---|
79 | element TextArea(Example/Visibility/UseOptimizationInfo): Example/Visibility/Templates/BasicText
|
---|
80 | {
|
---|
81 | left 170
|
---|
82 | top 35
|
---|
83 | width 90
|
---|
84 | height 30
|
---|
85 | caption :
|
---|
86 | }
|
---|
87 | element TextArea(Example/Visibility/UseDepthPass): Example/Visibility/Templates/BasicText
|
---|
88 | {
|
---|
89 | left 5
|
---|
90 | top 50
|
---|
91 | width 90
|
---|
92 | height 30
|
---|
93 | caption [X] Depth pass
|
---|
94 | }
|
---|
95 | element TextArea(Example/Visibility/UseDepthPassInfo): Example/Visibility/Templates/BasicText
|
---|
96 | {
|
---|
97 | left 170
|
---|
98 | top 50
|
---|
99 | width 90
|
---|
100 | height 30
|
---|
101 | caption :
|
---|
102 | }
|
---|
103 | element TextArea(Example/Visibility/AssumedVisibility): Example/Visibility/Templates/BasicText
|
---|
104 | {
|
---|
105 | left 5
|
---|
106 | top 65
|
---|
107 | width 90
|
---|
108 | height 30
|
---|
109 | caption [8][9] Assumed Visibility
|
---|
110 | }
|
---|
111 |
|
---|
112 | element TextArea(Example/Visibility/AssumedVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
113 | {
|
---|
114 | left 170
|
---|
115 | top 65
|
---|
116 | width 90
|
---|
117 | height 30
|
---|
118 | caption :
|
---|
119 | }
|
---|
120 | }
|
---|
121 |
|
---|
122 | container BorderPanel(Example/Visibility/VisibilityStatsPanel)
|
---|
123 | {
|
---|
124 | metrics_mode pixels
|
---|
125 | vert_align top
|
---|
126 | horz_align right
|
---|
127 | left -250
|
---|
128 | top 5
|
---|
129 | width 320
|
---|
130 | height 120
|
---|
131 | material Core/StatsBlockCenter
|
---|
132 | border_size 1 1 1 1
|
---|
133 | border_material Core/StatsBlockBorder
|
---|
134 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
135 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
136 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
137 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
138 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
139 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
140 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
141 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
142 |
|
---|
143 | element TextArea(Example/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText
|
---|
144 | {
|
---|
145 | left 5
|
---|
146 | top 5
|
---|
147 | width 180
|
---|
148 | height 30
|
---|
149 | caption Frustum Culled Nodes
|
---|
150 | }
|
---|
151 | element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText
|
---|
152 | {
|
---|
153 | left 180
|
---|
154 | top 5
|
---|
155 | width 90
|
---|
156 | height 30
|
---|
157 | caption :
|
---|
158 | }
|
---|
159 | element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText
|
---|
160 | {
|
---|
161 | left 5
|
---|
162 | top 20
|
---|
163 | width 180
|
---|
164 | height 30
|
---|
165 | caption Query Culled Nodes
|
---|
166 | }
|
---|
167 | element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText
|
---|
168 | {
|
---|
169 | left 180
|
---|
170 | top 20
|
---|
171 | width 90
|
---|
172 | height 30
|
---|
173 | caption :
|
---|
174 | }
|
---|
175 | element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText
|
---|
176 | {
|
---|
177 | left 5
|
---|
178 | top 35
|
---|
179 | width 180
|
---|
180 | height 30
|
---|
181 | caption Traversed Nodes
|
---|
182 | }
|
---|
183 | element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText
|
---|
184 | {
|
---|
185 | left 180
|
---|
186 | top 35
|
---|
187 | width 90
|
---|
188 | height 30
|
---|
189 | caption :
|
---|
190 | }
|
---|
191 | element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText
|
---|
192 | {
|
---|
193 | left 5
|
---|
194 | top 50
|
---|
195 | width 180
|
---|
196 | height 30
|
---|
197 | caption Hierarchy Nodes
|
---|
198 | }
|
---|
199 | element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText
|
---|
200 | {
|
---|
201 | left 180
|
---|
202 | top 50
|
---|
203 | width 90
|
---|
204 | height 30
|
---|
205 | caption :
|
---|
206 | }
|
---|
207 | element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText
|
---|
208 | {
|
---|
209 | left 5
|
---|
210 | top 65
|
---|
211 | width 180
|
---|
212 | height 30
|
---|
213 | caption Rendered Nodes
|
---|
214 | }
|
---|
215 | element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText
|
---|
216 | {
|
---|
217 | left 180
|
---|
218 | top 65
|
---|
219 | width 90
|
---|
220 | height 30
|
---|
221 | caption :
|
---|
222 | }
|
---|
223 | element TextArea(Example/Visibility/Objects): Example/Visibility/Templates/BasicText
|
---|
224 | {
|
---|
225 | left 5
|
---|
226 | top 80
|
---|
227 | width 180
|
---|
228 | height 30
|
---|
229 | caption Number of objects
|
---|
230 | }
|
---|
231 | element TextArea(Example/Visibility/ObjectsInfo): Example/Visibility/Templates/BasicText
|
---|
232 | {
|
---|
233 | left 180
|
---|
234 | top 80
|
---|
235 | width 90
|
---|
236 | height 30
|
---|
237 | caption :
|
---|
238 | }
|
---|
239 | element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText
|
---|
240 | {
|
---|
241 | left 5
|
---|
242 | top 95
|
---|
243 | width 180
|
---|
244 | height 30
|
---|
245 | caption Queries issued
|
---|
246 | }
|
---|
247 | element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText
|
---|
248 | {
|
---|
249 | left 180
|
---|
250 | top 95
|
---|
251 | width 90
|
---|
252 | font_name TrebuchetMSBold
|
---|
253 | caption :
|
---|
254 | }
|
---|
255 | }
|
---|
256 | }
|
---|
257 |
|
---|
258 |
|
---|
259 | Example/Visibility/HelpOverlay
|
---|
260 | {
|
---|
261 | zorder 600
|
---|
262 | // Stats block
|
---|
263 | container BorderPanel(Example/Visibility/Help/HelpPanel)
|
---|
264 | {
|
---|
265 | metrics_mode pixels
|
---|
266 | horz_align left
|
---|
267 | vert_align top
|
---|
268 | width 600
|
---|
269 | height 300
|
---|
270 | left 200
|
---|
271 | top 200
|
---|
272 | material Core/StatsBlockCenter
|
---|
273 | //material Example/Visibility/Helpscreen
|
---|
274 | border_size 1 1 1 1
|
---|
275 | border_material Core/StatsBlockBorder
|
---|
276 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
277 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
278 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
279 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
280 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
281 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
282 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
283 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
284 |
|
---|
285 | container Panel(Example/Visibility/Help/BreakPanel)
|
---|
286 | {
|
---|
287 | metrics_mode pixels
|
---|
288 | left 5
|
---|
289 | top 22
|
---|
290 | width 590
|
---|
291 | height 1
|
---|
292 | material Core/StatsBreak
|
---|
293 | }
|
---|
294 |
|
---|
295 | element TextArea(Example/Visibility/Help/HelpOptions)
|
---|
296 | {
|
---|
297 | metrics_mode pixels
|
---|
298 | left 5
|
---|
299 | top 5
|
---|
300 | width 90
|
---|
301 | height 30
|
---|
302 | font_name TrebuchetMSBold
|
---|
303 | char_height 19
|
---|
304 | caption Additional Options
|
---|
305 | colour_top 1 1 0.7
|
---|
306 | colour_bottom 1 1 0.7
|
---|
307 | }
|
---|
308 |
|
---|
309 | element TextArea(Example/Visibility/Help/ShowHelpInfo): Example/Visibility/Templates/BasicText
|
---|
310 | {
|
---|
311 | left 5
|
---|
312 | top 30
|
---|
313 | width 180
|
---|
314 | height 30
|
---|
315 | caption [F1] Show / Hide this screen
|
---|
316 | }
|
---|
317 | element TextArea(Example/Visibility/Help/StatsInfo): Example/Visibility/Templates/BasicText
|
---|
318 | {
|
---|
319 | left 5
|
---|
320 | top 45
|
---|
321 | width 180
|
---|
322 | height 30
|
---|
323 | caption [F2] Show / Hide stats
|
---|
324 | }
|
---|
325 | element TextArea(Example/Visibility/Help/AppStateInfo): Example/Visibility/Templates/BasicText
|
---|
326 | {
|
---|
327 | left 5
|
---|
328 | top 75
|
---|
329 | width 180
|
---|
330 | height 30
|
---|
331 | caption [F3] Toggle between interactive / recorded walkthrough
|
---|
332 | }
|
---|
333 | element TextArea(Example/Visibility/Help/RecordedInfo): Example/Visibility/Templates/BasicText
|
---|
334 | {
|
---|
335 | left 5
|
---|
336 | top 60
|
---|
337 | width 180
|
---|
338 | height 30
|
---|
339 | caption [F4] Start / End frame recording
|
---|
340 | }
|
---|
341 | element TextArea(Example/Visibility/Help/ScreenshotsInfo): Example/Visibility/Templates/BasicText
|
---|
342 | {
|
---|
343 | left 5
|
---|
344 | top 105
|
---|
345 | width 180
|
---|
346 | height 30
|
---|
347 | caption [F11] Screenshot
|
---|
348 | }
|
---|
349 | element TextArea(Example/Visibility/Help/WriteOutInfo): Example/Visibility/Templates/BasicText
|
---|
350 | {
|
---|
351 | left 5
|
---|
352 | top 120
|
---|
353 | width 180
|
---|
354 | height 30
|
---|
355 | caption [F12] Write screen objects to file
|
---|
356 | }
|
---|
357 | //-- visualization
|
---|
358 | element TextArea(Example/Visibility/Help/VizInfo): Example/Visibility/Templates/BasicText
|
---|
359 | {
|
---|
360 | left 5
|
---|
361 | top 150
|
---|
362 | width 180
|
---|
363 | height 30
|
---|
364 | caption [1] Show / hide visualization
|
---|
365 | }
|
---|
366 | element TextArea(Example/Visibility/Help/NextVizModeInfo): Example/Visibility/Templates/BasicText
|
---|
367 | {
|
---|
368 | left 5
|
---|
369 | top 165
|
---|
370 | width 175
|
---|
371 | height 30
|
---|
372 | caption [2] Toggle visualization mode
|
---|
373 | }
|
---|
374 | element TextArea(Example/Visibility/Help/ZoomVizInfo): Example/Visibility/Templates/BasicText
|
---|
375 | {
|
---|
376 | left 5
|
---|
377 | top 180
|
---|
378 | width 190
|
---|
379 | height 30
|
---|
380 | caption [3][4] Zoom in / out of visualization
|
---|
381 | }
|
---|
382 | element TextArea(Example/Visibility/Help/SceneDetailInfo): Example/Visibility/Templates/BasicText
|
---|
383 | {
|
---|
384 | left 5
|
---|
385 | top 210
|
---|
386 | width 180
|
---|
387 | height 30
|
---|
388 | caption [R] Toggle between solid / wireframe / point based rendering
|
---|
389 | }
|
---|
390 | element TextArea(Example/Visibility/Help/DisplayCameraDetailsInfo): Example/Visibility/Templates/BasicText
|
---|
391 | {
|
---|
392 | left 5
|
---|
393 | top 225
|
---|
394 | width 180
|
---|
395 | height 30
|
---|
396 | caption [P] Show / hide camera details
|
---|
397 | }
|
---|
398 | element TextArea(Example/Visibility/Help/DisplayOctreeInfo): Example/Visibility/Templates/BasicText
|
---|
399 | {
|
---|
400 | left 5
|
---|
401 | top 240
|
---|
402 | width 180
|
---|
403 | height 30
|
---|
404 | caption [T] Show / hide octree
|
---|
405 | }
|
---|
406 | element TextArea(Example/Visibility/Help/UseShadowsInfo): Example/Visibility/Templates/BasicText
|
---|
407 | {
|
---|
408 | left 5
|
---|
409 | top 255
|
---|
410 | width 180
|
---|
411 | height 30
|
---|
412 | caption [S] Show / hide shadows
|
---|
413 | }
|
---|
414 | element TextArea(Example/Visibility/Help/FilterInfo): Example/Visibility/Templates/BasicText
|
---|
415 | {
|
---|
416 | left 5
|
---|
417 | top 270
|
---|
418 | width 180
|
---|
419 | height 30
|
---|
420 | caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
|
---|
421 | }
|
---|
422 | }
|
---|
423 | }
|
---|
424 |
|
---|
425 | Example/Visibility/QueryOverlay
|
---|
426 | {
|
---|
427 | zorder 650
|
---|
428 | // Stats block
|
---|
429 | container BorderPanel(Example/Visibility/Query/QueryPanel)
|
---|
430 | {
|
---|
431 | metrics_mode pixels
|
---|
432 | horz_align left
|
---|
433 | vert_align top
|
---|
434 | width 600
|
---|
435 | height 120
|
---|
436 | left 200
|
---|
437 | top 300
|
---|
438 | material Core/StatsBlockCenter
|
---|
439 |
|
---|
440 | border_size 1 1 1 1
|
---|
441 | border_material Core/StatsBlockBorder
|
---|
442 | border_topleft_uv 0.0000 1.0000 0.0039 0.9961
|
---|
443 | border_top_uv 0.0039 1.0000 0.9961 0.9961
|
---|
444 | border_topright_uv 0.9961 1.0000 1.0000 0.9961
|
---|
445 | border_left_uv 0.0000 0.9961 0.0039 0.0039
|
---|
446 | border_right_uv 0.9961 0.9961 1.0000 0.0039
|
---|
447 | border_bottomleft_uv 0.0000 0.0039 0.0039 0.0000
|
---|
448 | border_bottom_uv 0.0039 0.0039 0.9961 0.0000
|
---|
449 | border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
|
---|
450 |
|
---|
451 | container Panel(Example/Visibility/Query/BreakPanel)
|
---|
452 | {
|
---|
453 | metrics_mode pixels
|
---|
454 | left 5
|
---|
455 | top 22
|
---|
456 | width 590
|
---|
457 | height 1
|
---|
458 | material Core/StatsBreak
|
---|
459 | }
|
---|
460 |
|
---|
461 | element TextArea(Example/Visibility/Query/Headline)
|
---|
462 | {
|
---|
463 | metrics_mode pixels
|
---|
464 | left 5
|
---|
465 | top 5
|
---|
466 | width 90
|
---|
467 | height 30
|
---|
468 | font_name TrebuchetMSBold
|
---|
469 | char_height 19
|
---|
470 | caption Exact Visibility Query
|
---|
471 | colour_top 1 1 0.7
|
---|
472 | colour_bottom 1 1 0.7
|
---|
473 | }
|
---|
474 |
|
---|
475 | element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText
|
---|
476 | {
|
---|
477 | left 5
|
---|
478 | top 30
|
---|
479 | width 90
|
---|
480 | height 30
|
---|
481 | caption Type
|
---|
482 | }
|
---|
483 |
|
---|
484 |
|
---|
485 | element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText
|
---|
486 | {
|
---|
487 | left 180
|
---|
488 | top 30
|
---|
489 | width 90
|
---|
490 | height 30
|
---|
491 | caption :
|
---|
492 | }
|
---|
493 |
|
---|
494 | element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText
|
---|
495 | {
|
---|
496 | left 5
|
---|
497 | top 45
|
---|
498 | width 90
|
---|
499 | height 30
|
---|
500 | caption Visible nodes
|
---|
501 | }
|
---|
502 | element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText
|
---|
503 | {
|
---|
504 | left 180
|
---|
505 | top 45
|
---|
506 | width 90
|
---|
507 | height 30
|
---|
508 | caption :
|
---|
509 | }
|
---|
510 |
|
---|
511 | element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText
|
---|
512 | {
|
---|
513 | left 5
|
---|
514 | top 60
|
---|
515 | width 90
|
---|
516 | height 30
|
---|
517 | caption Visible geometry
|
---|
518 | }
|
---|
519 | element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText
|
---|
520 | {
|
---|
521 | left 180
|
---|
522 | top 60
|
---|
523 | width 90
|
---|
524 | height 30
|
---|
525 | caption :
|
---|
526 | }
|
---|
527 |
|
---|
528 | element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText
|
---|
529 | {
|
---|
530 | left 5
|
---|
531 | top 75
|
---|
532 | width 90
|
---|
533 | height 30
|
---|
534 | caption Avg. node visibility
|
---|
535 | }
|
---|
536 |
|
---|
537 | element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
538 | {
|
---|
539 | left 180
|
---|
540 | top 75
|
---|
541 | width 90
|
---|
542 | height 30
|
---|
543 | caption:
|
---|
544 | }
|
---|
545 |
|
---|
546 | element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText
|
---|
547 | {
|
---|
548 | left 5
|
---|
549 | top 90
|
---|
550 | width 90
|
---|
551 | height 30
|
---|
552 | caption Avg. geometry visibility
|
---|
553 | }
|
---|
554 |
|
---|
555 | element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText
|
---|
556 | {
|
---|
557 | left 180
|
---|
558 | top 90
|
---|
559 | width 90
|
---|
560 | height 30
|
---|
561 | caption:
|
---|
562 | }
|
---|
563 |
|
---|
564 | }
|
---|
565 | }
|
---|