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

Revision 135, 12.8 KB checked in by mattausch, 19 years ago (diff)
RevLine 
[120]1template element TextArea(Example/Visibility/Templates/BasicText)
[59]2{
[120]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{
[59]16        zorder 500
17        // Stats block
[74]18        container BorderPanel(Example/Visibility/VisibilityPanel)
[59]19        {
20                metrics_mode pixels
21                vert_align top
22                left 5
23                top 5
[87]24                width 400
[115]25                height 75
[59]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
[120]39                element TextArea(Example/Visibility/Algorithm): Example/Visibility/Templates/BasicText
[59]40                {
41                        left 5
42                        top 5
43                        width 180
[87]44                        caption [SPACE] Algorithm
[59]45                }
[120]46                element TextArea(Example/Visibility/AlgorithmInfo): Example/Visibility/Templates/BasicText
[59]47                {
48                        left 155
49                        top 5
50                        width 90
51                        height 30
52                        caption :
53                }
54
[120]55                element TextArea(Example/Visibility/Threshold): Example/Visibility/Templates/BasicText
[59]56                {
57                        left 5
58                        top 20
59                        width 90
60                        height 30
61                        caption [-][+] Threshold
62                }
[120]63                element TextArea(Example/Visibility/ThresholdInfo): Example/Visibility/Templates/BasicText
[59]64                {
65                        left 155
66                        top 20
67                        width 90
68                        height 30
69                        caption :
70                }
[120]71                element TextArea(Example/Visibility/UseOptimization): Example/Visibility/Templates/BasicText
[86]72                {
73                        left 5
74                        top 35
75                        width 90
76                        height 30
77                        caption [O] Optimization
78                }
[120]79                element TextArea(Example/Visibility/UseOptimizationInfo): Example/Visibility/Templates/BasicText
[86]80                {
81                        left 155
82                        top 35
83                        width 90
84                        height 30
85                        caption :
86                }
[120]87                element TextArea(Example/Visibility/UseDepthPass): Example/Visibility/Templates/BasicText
[115]88                {
89                        left 5
90                        top 50
91                        width 90
92                        height 30
93                        caption [X] Depth pass
94                }
[120]95                element TextArea(Example/Visibility/UseDepthPassInfo): Example/Visibility/Templates/BasicText
[115]96                {
97                        left 155
98                        top 50
99                        width 90
100                        height 30
101                        caption :
102                }
103
[59]104        }
105
[74]106        container BorderPanel(Example/Visibility/VisibilityStatsPanel)
[59]107        {
108                metrics_mode pixels
109                vert_align top
110                horz_align right
[87]111                left -250
[59]112                top 5
[87]113                width 320
114                height 120
[59]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
[120]127                element TextArea(Example/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText
[59]128                {
129                        left 5
130                        top 5
131                        width 180
132                        height 30
133                        caption Frustum Culled Nodes
134                }
[120]135                element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText
[59]136                {
137                        left 180
138                        top 5
139                        width 90
140                        height 30
141                        caption :
142                }
[120]143                element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText
[59]144                {
145                        left 5
146                        top 20
147                        width 180
148                        height 30
149                        caption Query Culled Nodes
150                }       
[120]151                element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText
[59]152                {
153                        left 180
154                        top 20
155                        width 90
156                        height 30
157                        caption :
158                }
[120]159                element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText
[59]160                {
161                        left 5
162                        top 35
163                        width 180
164                        height 30
165                        caption Traversed Nodes
166                }       
[120]167                element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText
[59]168                {
169                        left 180
170                        top 35
171                        width 90
172                        height 30
173                        caption :
174                }
[120]175                element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText
[59]176                {
177                        left 5
178                        top 50
179                        width 180
180                        height 30
[74]181                        caption Hierarchy Nodes
[59]182                }       
[120]183                element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText
[59]184                {
185                        left 180
186                        top 50
187                        width 90
188                        height 30
189                        caption :
190                }
[120]191                element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText
[59]192                {
193                        left 5
194                        top 65
195                        width 180
196                        height 30
[74]197                        caption Rendered Nodes
[59]198                }       
[120]199                element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText
[59]200                {
201                        left 180
202                        top 65
203                        width 90
204                        height 30
205                        caption :
206                }
[120]207                element TextArea(Example/Visibility/Objects): Example/Visibility/Templates/BasicText
[84]208                {
209                        left 5
210                        top 80
211                        width 180
212                        height 30
213                        caption Number of objects
214                }       
[120]215                element TextArea(Example/Visibility/ObjectsInfo): Example/Visibility/Templates/BasicText
[84]216                {
217                        left 180
218                        top 80
219                        width 90
220                        height 30
221                        caption :
222                }
[120]223                element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText
[87]224                {
225                        left 5
226                        top 95
227                        width 180
228                        height 30
229                        caption Queries issued
230                }       
[120]231                element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText
[87]232                {
233                        left 180
234                        top 95
235                        width 90
236                        font_name TrebuchetMSBold
[120]237                        caption :                       
[87]238                }                       
[59]239        }
240}
[120]241
[135]242
[120]243Example/Visibility/HelpOverlay
244{
245        zorder 600
246        // Stats block
[135]247        container BorderPanel(Example/Visibility/Help/HelpPanel)
[120]248        {
249                metrics_mode pixels
250                horz_align left
251                vert_align top
252                width 600
[135]253                height 300
[120]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
[135]279                element TextArea(Example/Visibility/Help/HelpOptions)
[120]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
[135]296                        top 30
[120]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
[135]304                        top 45
[120]305                        width 180
306                        height 30
307                        caption [F2] Show / Hide stats
308                }
[121]309                element TextArea(Example/Visibility/Help/AppStateInfo): Example/Visibility/Templates/BasicText
[120]310                {
311                        left 5
[135]312                        top 75
[120]313                        width 180
314                        height 30
[121]315                        caption [F3] Toggle between interactive / recorded walkthrough
[120]316                }
[121]317                element TextArea(Example/Visibility/Help/RecordedInfo): Example/Visibility/Templates/BasicText
[120]318                {
319                        left 5
[135]320                        top 60
[120]321                        width 180
322                        height 30
[121]323                        caption [F4] Start / End frame recording
[120]324                }
325                element TextArea(Example/Visibility/Help/ScreenshotsInfo): Example/Visibility/Templates/BasicText
326                {
327                        left 5
[135]328                        top 105
[120]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
[135]336                        top 120
[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
[135]345                        top 150
[120]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
[135]353                        top 165
[120]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
[135]361                        top 180
[120]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
[135]369                        top 210
[120]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
[135]377                        top 225
[120]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
[135]385                        top 240
[120]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
[135]393                        top 255
[120]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
[135]401                        top 270
[120]402                        width 180
403                        height 30
404                        caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
405                }
406        }
[135]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.