source: trunk/VUT/Ogre/resources/VisibilityDemo.overlay @ 135

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