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

Revision 160, 15.7 KB checked in by mattausch, 19 years ago (diff)

added animation

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/CullStatsOverlay
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 430
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                        width 180
43                        caption [SPACE] Algorithm
44                }
45                element TextArea(Example/Visibility/AlgorithmInfo): Example/Visibility/Templates/BasicText
46                {
47                        left 210
48                        width 120
49                        height 30
50                        caption :
51                }
52
53                element TextArea(Example/Visibility/Threshold): Example/Visibility/Templates/BasicText
54                {
55                        left 5
56                        width 120
57                        height 30
58                        caption [-][+] Threshold
59                }
60                element TextArea(Example/Visibility/ThresholdInfo): Example/Visibility/Templates/BasicText
61                {
62                        left 210
63                        width 120
64                        height 30
65                        caption :
66                }
67                element TextArea(Example/Visibility/TestGeometryForVisibleLeaves): Example/Visibility/Templates/BasicText
68                {
69                        left 5
70                        width 120
71                        height 30
72                        caption [G] Test Geometry For Leaves
73                }
74                element TextArea(Example/Visibility/TestGeometryForVisibleLeavesInfo): Example/Visibility/Templates/BasicText
75                {
76                        left 210
77                        width 120
78                        height 30
79                        caption :
80                }
81                element TextArea(Example/Visibility/UseDepthPass): Example/Visibility/Templates/BasicText
82                {
83                        left 5
84                        width 120
85                        height 30
86                        caption [X] Depth pass
87                }
88                element TextArea(Example/Visibility/UseDepthPassInfo): Example/Visibility/Templates/BasicText
89                {
90                        left 210
91                        width 120
92                        height 30
93                        caption :
94                }
95                element TextArea(Example/Visibility/AssumedVisibility): Example/Visibility/Templates/BasicText
96                {
97                        left 5
98                        width 120
99                        height 30
100                        caption [8][9] Assumed Visibility
101                }
102               
103                element TextArea(Example/Visibility/AssumedVisibilityInfo): Example/Visibility/Templates/BasicText
104                {
105                        left 210
106                        width 120
107                        height 30
108                        caption :
109                }
110                element TextArea(Example/Visibility/CurrentObjectType): Example/Visibility/Templates/BasicText
111                {
112                        left 5
113                        width 120
114                        height 30
115                        caption [F7] Object type
116                }       
117                element TextArea(Example/Visibility/CurrentObjectTypeInfo): Example/Visibility/Templates/BasicText
118                {
119                        left 210
120                        width 90
121                        font_name TrebuchetMSBold
122                        caption :                       
123                }       
124        }
125
126        container BorderPanel(Example/Visibility/VisibilityStatsPanel)
127        {
128                metrics_mode pixels
129                vert_align top
130                horz_align right
131                left -250
132                top 5
133                width 320
134                height 135
135                material Core/StatsBlockCenter
136                border_size 1 1 1 1
137                border_material Core/StatsBlockBorder
138                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
139                border_top_uv         0.0039 1.0000 0.9961 0.9961
140                border_topright_uv    0.9961 1.0000 1.0000 0.9961
141                border_left_uv        0.0000 0.9961 0.0039 0.0039
142                border_right_uv       0.9961 0.9961 1.0000 0.0039
143                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
144                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
145                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
146
147                element TextArea(Example/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText
148                {
149                        left 5
150                        width 180
151                        height 30
152                        caption Frustum Culled Nodes
153                }
154                element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText
155                {
156                        left 180
157                        width 90
158                        height 30
159                        caption :
160                }
161                element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText
162                {
163                        left 5
164                        width 180
165                        height 30
166                        caption Query Culled Nodes
167                }       
168                element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText
169                {
170                        left 180
171                        width 90
172                        height 30
173                        caption :
174                }
175                element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText
176                {
177                        left 5
178                        width 180
179                        height 30
180                        caption Traversed Nodes
181                }       
182                element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText
183                {
184                        left 180
185                        width 90
186                        height 30
187                        caption :
188                }
189                element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText
190                {
191                        left 5
192                        width 180
193                        height 30
194                        caption Hierarchy Nodes
195                }       
196                element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText
197                {
198                        left 180
199                        width 90
200                        height 30
201                        caption :
202                }
203                element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText
204                {
205                        left 5
206                        width 180
207                        height 30
208                        caption Rendered Nodes
209                }       
210                element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText
211                {
212                        left 180
213                        width 90
214                        height 30
215                        caption :
216                }
217                element TextArea(Example/Visibility/ObjectsCount): Example/Visibility/Templates/BasicText
218                {
219                        left 5
220                        width 180
221                        height 30
222                        caption Number of objects
223                }       
224                element TextArea(Example/Visibility/ObjectsCountInfo): Example/Visibility/Templates/BasicText
225                {
226                        left 180
227                        width 90
228                        height 30
229                        caption :
230                }
231                element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText
232                {
233                        left 5
234                        width 180
235                        height 30
236                        caption Queries issued
237                }       
238                element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText
239                {
240                        left 180
241                        width 90
242                        font_name TrebuchetMSBold
243                        caption :                       
244                }
245               
246        }
247}
248
249
250Example/Visibility/HelpOverlay
251{
252        zorder 600
253        // Stats block
254        container BorderPanel(Example/Visibility/Help/HelpPanel)
255        {
256                metrics_mode pixels
257                horz_align left
258                vert_align top
259                width 600
260                height 300
261                left 200
262                top 200
263                material Core/StatsBlockCenter
264                //material Example/Visibility/Helpscreen
265                border_size 1 1 1 1
266                border_material Core/StatsBlockBorder
267                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
268                border_top_uv         0.0039 1.0000 0.9961 0.9961
269                border_topright_uv    0.9961 1.0000 1.0000 0.9961
270                border_left_uv        0.0000 0.9961 0.0039 0.0039
271                border_right_uv       0.9961 0.9961 1.0000 0.0039
272                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
273                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
274                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
275
276                container Panel(Example/Visibility/Help/BreakPanel)
277                {
278                        metrics_mode pixels
279                        left 5
280                        top 22
281                        width 590
282                        height 1
283                        material Core/StatsBreak
284                }
285
286                element TextArea(Example/Visibility/Help/HelpOptions)
287                {
288                        metrics_mode pixels
289                        left 5
290                        top 5
291                        width 90
292                        height 30
293                        font_name TrebuchetMSBold
294                        char_height 19
295                        caption Help: Additional Options
296                        colour_top 1 1 0.7
297                        colour_bottom 1 1 0.7
298                }
299
300                element TextArea(Example/Visibility/Help/ShowHelp): Example/Visibility/Templates/BasicText
301                {
302                        left 5
303                        width 180
304                        height 30
305                        caption [F1] Show / Hide this screen
306                }
307                element TextArea(Example/Visibility/Help/Stats): Example/Visibility/Templates/BasicText
308                {
309                        left 5
310                        width 180
311                        height 30
312                        caption [F2] Show / Hide stats
313                }
314                element TextArea(Example/Visibility/Help/AppState): Example/Visibility/Templates/BasicText
315                {
316                        left 5
317                        width 180
318                        height 30
319                        caption [F3] Toggle between interactive / recorded walkthrough
320                }
321                element TextArea(Example/Visibility/Help/Recorded): Example/Visibility/Templates/BasicText
322                {
323                        left 5
324                        width 180
325                        height 30
326                        caption [F4] Start / End frame recording
327                }
328                element TextArea(Example/Visibility/Help/Screenshots): Example/Visibility/Templates/BasicText
329                {
330                        left 5
331                        width 180
332                        height 30
333                        caption [F11] Screenshot
334                }
335                element TextArea(Example/Visibility/Help/WriteOut): Example/Visibility/Templates/BasicText
336                {
337                        left 5
338                        width 180
339                        height 30
340                        caption [F12] Write scene entities to file
341                }
342               
343                //-- visualization
344                element TextArea(Example/Visibility/Help/VizSection): Example/Visibility/Templates/BasicText
345                {
346                        left 5
347                        width 180
348                        height 30
349                        caption ****** Visualization ******
350                }
351                element TextArea(Example/Visibility/Help/Viz): Example/Visibility/Templates/BasicText
352                {
353                        left 5
354                        width 180
355                        height 30
356                        caption [1] Show / hide visualization
357                }
358                element TextArea(Example/Visibility/Help/NextVizMode): Example/Visibility/Templates/BasicText
359                {
360                        left 5
361                        width 175
362                        height 30
363                        caption [2] Toggle visualization mode
364                }
365                element TextArea(Example/Visibility/Help/ZoomViz): Example/Visibility/Templates/BasicText
366                {
367                        left 5
368                        width 190
369                        height 30
370                        caption [3][4] Zoom in / out of visualization
371                }
372                element TextArea(Example/Visibility/Help/SceneDetail): Example/Visibility/Templates/BasicText
373                {
374                        left 5
375                        width 180
376                        height 30
377                        caption [R] Toggle between solid / wireframe / point based rendering
378                }
379                element TextArea(Example/Visibility/Help/DisplayCameraDetails): Example/Visibility/Templates/BasicText
380                {
381                        left 5
382                        width 180
383                        height 30
384                        caption [P] Show / hide camera details
385                }
386                element TextArea(Example/Visibility/Help/DisplayOctree): Example/Visibility/Templates/BasicText
387                {
388                        left 5
389                        width 180
390                        height 30
391                        caption [T] Show / hide octree
392                }
393                element TextArea(Example/Visibility/Help/UseShadows): Example/Visibility/Templates/BasicText
394                {
395                        left 5
396                        width 180
397                        height 30
398                        caption [S] Show / hide shadows
399                }
400                element TextArea(Example/Visibility/Help/Filter): Example/Visibility/Templates/BasicText
401                {
402                        left 5
403                        width 180
404                        height 30
405                        caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
406                }
407                element TextArea(Example/Visibility/Help/VisQuery): Example/Visibility/Templates/BasicText
408                {
409                        left 5
410                        width 180
411                        height 30
412                        caption ****** Visibility Queries ******
413                }
414                element TextArea(Example/Visibility/Help/FromCameraQuery): Example/Visibility/Templates/BasicText
415                {
416                        left 5
417                        width 180
418                        height 30
419                        caption [F5] From camera visible pixels (+ SHIFT: relative visibility)
420                }
421                element TextArea(Example/Visibility/Help/FromPointQuery): Example/Visibility/Templates/BasicText
422                {
423                        left 5
424                        width 180
425                        height 30
426                        caption [F6] From camera visible pixels (+ SHIFT: relative visibility)
427                }
428                element TextArea(Example/Visibility/Help/QueryType): Example/Visibility/Templates/BasicText
429                {
430                        left 5
431                        width 180
432                        height 30
433                        caption [I] Change between occlusion query / item buffer visibility query
434                }
435                element TextArea(Example/Visibility/Help/QueryTarget): Example/Visibility/Templates/BasicText
436                {
437                        left 5
438                        width 180
439                        height 30
440                        caption [C] Mesh / Patch visibility (only item buffer)
441                }
442                element TextArea(Example/Visibility/Help/SceneObjects): Example/Visibility/Templates/BasicText
443                {
444                        left 5
445                        width 180
446                        height 30
447                        caption ******* Generation / Destruction of scene objects ******
448                }
449                element TextArea(Example/Visibility/Help/GenerateObjects): Example/Visibility/Templates/BasicText
450                {
451                        left 5
452                        width 180
453                        height 30
454                        caption [F8] Generate 500 objects
455                }
456                element TextArea(Example/Visibility/Help/RemoveObjects): Example/Visibility/Templates/BasicText
457                {
458                        left 5
459                        width 180
460                        height 30
461                        caption [DEL] Remove generated objects
462                }
463                element TextArea(Example/Visibility/Help/DropObject): Example/Visibility/Templates/BasicText
464                {
465                        left 5
466                        width 180
467                        height 30
468                        caption [MOUSE LEFT] Drop object on terrain
469                }
470        }
471}
472
473Example/Visibility/QueryOverlay
474{
475        zorder 650
476        // Stats block
477        container BorderPanel(Example/Visibility/Query/QueryPanel)
478        {
479                metrics_mode pixels
480                horz_align left
481                vert_align top
482                width 600
483                height 145
484                left 200
485                top 300
486                material Core/StatsBlockCenter
487               
488                border_size 1 1 1 1
489                border_material Core/StatsBlockBorder
490                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
491                border_top_uv         0.0039 1.0000 0.9961 0.9961
492                border_topright_uv    0.9961 1.0000 1.0000 0.9961
493                border_left_uv        0.0000 0.9961 0.0039 0.0039
494                border_right_uv       0.9961 0.9961 1.0000 0.0039
495                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
496                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
497                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
498
499                container Panel(Example/Visibility/Query/BreakPanel)
500                {
501                        metrics_mode pixels
502                        left 5
503                        top 22
504                        width 590
505                        height 1
506                        material Core/StatsBreak
507                }
508
509                element TextArea(Example/Visibility/Query/Headline)
510                {
511                        metrics_mode pixels
512                        left 5
513                        top 5
514                        width 90
515                        height 30
516                        font_name TrebuchetMSBold
517                        char_height 19
518                        caption Exact Visibility Query
519                        colour_top 1 1 0.7
520                        colour_bottom 1 1 0.7
521                }
522
523                element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText
524                {
525                        left 5
526                        width 90
527                        height 30
528                        caption Type
529                }
530               
531               
532                element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText
533                {
534                        left 180
535                        width 90
536                        height 30
537                        caption :
538                }
539
540                element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText
541                {
542                        left 5
543                        width 90
544                        height 30
545                        caption Visible nodes
546                }
547                element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText
548                {
549                        left 180
550                        width 90
551                        height 30
552                        caption :
553                }
554
555                element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText
556                {
557                        left 5
558                        width 90
559                        height 30
560                        caption Visible geometry
561                }
562                element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText
563                {
564                        left 180
565                        width 90
566                        height 30
567                        caption :
568                }
569
570
571                element TextArea(Example/Visibility/Query/VisiblePatches): Example/Visibility/Templates/BasicText
572                {
573                        left 5
574                        width 90
575                        height 30
576                        caption Visible patches
577                }
578                element TextArea(Example/Visibility/Query/VisiblePatchesInfo): Example/Visibility/Templates/BasicText
579                {
580                        left 180
581                        width 90
582                        height 30
583                        caption :
584                }
585
586                element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText
587                {
588                        left 5
589                        width 90
590                        height 30
591                        caption Avg. node visibility
592                }
593
594                element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText
595                {
596                        left 180
597                        width 90
598                        height 30
599                        caption :
600                }
601
602                element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText
603                {
604                        left 5
605                        width 90
606                        height 30
607                        caption Avg. geometry visibility
608                }
609
610                element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText
611                {
612                        left 180
613                        width 90
614                        height 30
615                        caption :
616                }
617                element TextArea(Example/Visibility/Query/PatchVisibility): Example/Visibility/Templates/BasicText
618                {
619                        left 5
620                        width 90
621                        height 30
622                        caption Avg. patch visibility
623                }
624
625                element TextArea(Example/Visibility/Query/PatchVisibilityInfo): Example/Visibility/Templates/BasicText
626                {
627                        left 180
628                        width 90
629                        height 30
630                        caption :
631                }
632                       
633
634        }
635}
Note: See TracBrowser for help on using the repository browser.