source: OGRE/trunk/resources/overlays/VisibilityDemo.overlay @ 941

Revision 941, 18.8 KB checked in by mattausch, 18 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/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        }
127
128        container BorderPanel(Example/Visibility/VisibilityStatsPanel)
129        {
130                metrics_mode pixels
131                vert_align top
132                horz_align right
133                left -250
134                top 5
135                width 320
136                height 135
137                material Core/StatsBlockCenter
138                border_size 1 1 1 1
139                border_material Core/StatsBlockBorder
140                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
141                border_top_uv         0.0039 1.0000 0.9961 0.9961
142                border_topright_uv    0.9961 1.0000 1.0000 0.9961
143                border_left_uv        0.0000 0.9961 0.0039 0.0039
144                border_right_uv       0.9961 0.9961 1.0000 0.0039
145                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
146                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
147                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
148
149                element TextArea(Example/Visibility/FrustumCulledNodes): Example/Visibility/Templates/BasicText
150                {
151                        left 5
152                        width 180
153                        height 30
154                        caption Frustum Culled Nodes
155                }
156                element TextArea(Example/Visibility/FrustumCulledNodesInfo): Example/Visibility/Templates/BasicText
157                {
158                        left 180
159                        width 90
160                        height 30
161                        caption :
162                }
163                element TextArea(Example/Visibility/QueryCulledNodes): Example/Visibility/Templates/BasicText
164                {
165                        left 5
166                        width 180
167                        height 30
168                        caption Query Culled Nodes
169                }       
170                element TextArea(Example/Visibility/QueryCulledNodesInfo): Example/Visibility/Templates/BasicText
171                {
172                        left 180
173                        width 90
174                        height 30
175                        caption :
176                }
177                element TextArea(Example/Visibility/TraversedNodes): Example/Visibility/Templates/BasicText
178                {
179                        left 5
180                        width 180
181                        height 30
182                        caption Traversed Nodes
183                }       
184                element TextArea(Example/Visibility/TraversedNodesInfo): Example/Visibility/Templates/BasicText
185                {
186                        left 180
187                        width 90
188                        height 30
189                        caption :
190                }
191                element TextArea(Example/Visibility/HierarchyNodes): Example/Visibility/Templates/BasicText
192                {
193                        left 5
194                        width 180
195                        height 30
196                        caption Hierarchy Nodes
197                }       
198                element TextArea(Example/Visibility/HierarchyNodesInfo): Example/Visibility/Templates/BasicText
199                {
200                        left 180
201                        width 90
202                        height 30
203                        caption :
204                }
205                element TextArea(Example/Visibility/RenderedNodes): Example/Visibility/Templates/BasicText
206                {
207                        left 5
208                        width 180
209                        height 30
210                        caption Rendered Nodes
211                }       
212                element TextArea(Example/Visibility/RenderedNodesInfo): Example/Visibility/Templates/BasicText
213                {
214                        left 180
215                        width 90
216                        height 30
217                        caption :
218                }
219                element TextArea(Example/Visibility/ObjectsCount): Example/Visibility/Templates/BasicText
220                {
221                        left 5
222                        width 180
223                        height 30
224                        caption Number of objects
225                }       
226                element TextArea(Example/Visibility/ObjectsCountInfo): Example/Visibility/Templates/BasicText
227                {
228                        left 180
229                        width 90
230                        height 30
231                        caption :
232                }
233                element TextArea(Example/Visibility/QueriesIssued): Example/Visibility/Templates/BasicText
234                {
235                        left 5
236                        width 180
237                        height 30
238                        caption Queries issued
239                }       
240                element TextArea(Example/Visibility/QueriesIssuedInfo): Example/Visibility/Templates/BasicText
241                {
242                        left 180
243                        width 90
244                        font_name TrebuchetMSBold
245                        caption :                       
246                }
247               
248        }
249}
250
251
252Example/Visibility/HelpOverlay
253{
254        zorder 600
255        // Stats block
256        container BorderPanel(Example/Visibility/Help/HelpPanel)
257        {
258                metrics_mode pixels
259                horz_align left
260                vert_align top
261                width 600
262                height 300
263                left 200
264                top 200
265                material Core/StatsBlockCenter
266                //material Example/Visibility/Helpscreen
267                border_size 1 1 1 1
268                border_material Core/StatsBlockBorder
269                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
270                border_top_uv         0.0039 1.0000 0.9961 0.9961
271                border_topright_uv    0.9961 1.0000 1.0000 0.9961
272                border_left_uv        0.0000 0.9961 0.0039 0.0039
273                border_right_uv       0.9961 0.9961 1.0000 0.0039
274                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
275                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
276                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
277
278                container Panel(Example/Visibility/Help/BreakPanel)
279                {
280                        metrics_mode pixels
281                        left 5
282                        top 22
283                        width 590
284                        height 1
285                        material Core/StatsBreak
286                }
287
288                element TextArea(Example/Visibility/Help/HelpOptions)
289                {
290                        metrics_mode pixels
291                        left 5
292                        top 5
293                        width 90
294                        height 30
295                        font_name TrebuchetMSBold
296                        char_height 19
297                        caption Help: Additional Options
298                        colour_top 1 1 0.7
299                        colour_bottom 1 1 0.7
300                }
301
302                element TextArea(Example/Visibility/Help/ShowHelp): Example/Visibility/Templates/BasicText
303                {
304                        left 5
305                        width 180
306                        height 30
307                        caption [F1] Show / Hide this screen
308                }
309                element TextArea(Example/Visibility/Help/Stats): Example/Visibility/Templates/BasicText
310                {
311                        left 5
312                        width 180
313                        height 30
314                        caption [F2] Show / Hide stats
315                }
316                element TextArea(Example/Visibility/Help/AppState): Example/Visibility/Templates/BasicText
317                {
318                        left 5
319                        width 180
320                        height 30
321                        caption [F3] Toggle between interactive / recorded walkthrough
322                }
323                element TextArea(Example/Visibility/Help/Recorded): Example/Visibility/Templates/BasicText
324                {
325                        left 5
326                        width 180
327                        height 30
328                        caption [F4] Start / End frame recording
329                }
330                element TextArea(Example/Visibility/Help/Animation): Example/Visibility/Templates/BasicText
331                {
332                        left 5
333                        width 180
334                        height 30
335                        caption [F9] Start / End animation
336                }
337                element TextArea(Example/Visibility/Help/Video): Example/Visibility/Templates/BasicText
338                {
339                        left 5
340                        width 180
341                        height 30
342                        caption [F10] Write out video (i.e., one image per frame)
343                }
344                element TextArea(Example/Visibility/Help/Screenshots): Example/Visibility/Templates/BasicText
345                {
346                        left 5
347                        width 180
348                        height 30
349                        caption [F11] Screenshot
350                }
351                element TextArea(Example/Visibility/Help/WriteOut): Example/Visibility/Templates/BasicText
352                {
353                        left 5
354                        width 180
355                        height 30
356                        caption [F12] Write scene entities to file
357                }
358               
359                //-- visualization
360                element TextArea(Example/Visibility/Help/VizSection): Example/Visibility/Templates/BasicText
361                {
362                        left 5
363                        width 180
364                        height 30
365                        caption ****** Visualization ******
366                }
367                element TextArea(Example/Visibility/Help/Viz): Example/Visibility/Templates/BasicText
368                {
369                        left 5
370                        width 180
371                        height 30
372                        caption [1] Show / hide visualization
373                }
374                element TextArea(Example/Visibility/Help/NextVizMode): Example/Visibility/Templates/BasicText
375                {
376                        left 5
377                        width 175
378                        height 30
379                        caption [2] Toggle visualization mode
380                }
381                element TextArea(Example/Visibility/Help/ZoomViz): Example/Visibility/Templates/BasicText
382                {
383                        left 5
384                        width 190
385                        height 30
386                        caption [3][4] Zoom in / out of visualization
387                }
388                element TextArea(Example/Visibility/Help/SceneDetail): Example/Visibility/Templates/BasicText
389                {
390                        left 5
391                        width 180
392                        height 30
393                        caption [R] Toggle between solid / wireframe / point based rendering
394                }
395                element TextArea(Example/Visibility/Help/DisplayCameraDetails): Example/Visibility/Templates/BasicText
396                {
397                        left 5
398                        width 180
399                        height 30
400                        caption [P] Show / hide camera details
401                }
402                element TextArea(Example/Visibility/Help/DisplayOctree): Example/Visibility/Templates/BasicText
403                {
404                        left 5
405                        width 180
406                        height 30
407                        caption [T] Show / hide octree
408                }
409                element TextArea(Example/Visibility/Help/UseShadows): Example/Visibility/Templates/BasicText
410                {
411                        left 5
412                        width 180
413                        height 30
414                        caption [H] Show / hide shadows
415                }
416                element TextArea(Example/Visibility/Help/Filter): Example/Visibility/Templates/BasicText
417                {
418                        left 5
419                        width 180
420                        height 30
421                        caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
422                }
423                element TextArea(Example/Visibility/Help/VisQuery): Example/Visibility/Templates/BasicText
424                {
425                        left 5
426                        width 180
427                        height 30
428                        caption ****** Visibility Queries ******
429                }
430                element TextArea(Example/Visibility/Help/FromCameraQuery): Example/Visibility/Templates/BasicText
431                {
432                        left 5
433                        width 180
434                        height 30
435                        caption [F5] From camera visible pixels (+ SHIFT: relative visibility)
436                }
437                element TextArea(Example/Visibility/Help/FromPointQuery): Example/Visibility/Templates/BasicText
438                {
439                        left 5
440                        width 180
441                        height 30
442                        caption [F6] From camera visible pixels (+ SHIFT: relative visibility)
443                }
444                element TextArea(Example/Visibility/Help/QueryType): Example/Visibility/Templates/BasicText
445                {
446                        left 5
447                        width 180
448                        height 30
449                        caption [I] Change between occlusion query / item buffer visibility query
450                }
451                element TextArea(Example/Visibility/Help/QueryTarget): Example/Visibility/Templates/BasicText
452                {
453                        left 5
454                        width 180
455                        height 30
456                        caption [C] Mesh / Patch visibility (only item buffer)
457                }
458               
459                element TextArea(Example/Visibility/Help/SceneObjects): Example/Visibility/Templates/BasicText
460                {
461                        left 5
462                        width 180
463                        height 30
464                        caption ******* Generation / Destruction of scene objects ******
465                }
466                element TextArea(Example/Visibility/Help/PlaceObjects): Example/Visibility/Templates/BasicText
467                {
468                        left 5
469                        width 180
470                        height 30
471                        caption [O] Start / Stop object placing mode
472                }
473                element TextArea(Example/Visibility/Help/GenerateObjects): Example/Visibility/Templates/BasicText
474                {
475                        left 5
476                        width 180
477                        height 30
478                        caption [F8] Generate 500 objects
479                }
480                element TextArea(Example/Visibility/Help/RemoveObjects): Example/Visibility/Templates/BasicText
481                {
482                        left 5
483                        width 180
484                        height 30
485                        caption [DEL] Remove generated objects
486                }
487                element TextArea(Example/Visibility/Help/DropObject): Example/Visibility/Templates/BasicText
488                {
489                        left 5
490                        width 180
491                        height 30
492                        caption [MOUSE LEFT] Drop object on terrain if in object placing mode
493                }
494        }
495}
496
497Example/Visibility/QueryOverlay
498{
499        zorder 650
500        // Stats block
501        container BorderPanel(Example/Visibility/Query/QueryPanel)
502        {
503                metrics_mode pixels
504                horz_align left
505                vert_align top
506                width 600
507                height 145
508                left 200
509                top 300
510                material Core/StatsBlockCenter
511               
512                border_size 1 1 1 1
513                border_material Core/StatsBlockBorder
514                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
515                border_top_uv         0.0039 1.0000 0.9961 0.9961
516                border_topright_uv    0.9961 1.0000 1.0000 0.9961
517                border_left_uv        0.0000 0.9961 0.0039 0.0039
518                border_right_uv       0.9961 0.9961 1.0000 0.0039
519                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
520                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
521                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
522
523                container Panel(Example/Visibility/Query/BreakPanel)
524                {
525                        metrics_mode pixels
526                        left 5
527                        top 22
528                        width 590
529                        height 1
530                        material Core/StatsBreak
531                }
532
533                element TextArea(Example/Visibility/Query/Headline)
534                {
535                        metrics_mode pixels
536                        left 5
537                        top 5
538                        width 90
539                        height 30
540                        font_name TrebuchetMSBold
541                        char_height 19
542                        caption Exact Visibility Query
543                        colour_top 1 1 0.7
544                        colour_bottom 1 1 0.7
545                }
546
547                element TextArea(Example/Visibility/Query/QueryType): Example/Visibility/Templates/BasicText
548                {
549                        left 5
550                        width 90
551                        height 30
552                        caption Type
553                }
554               
555               
556                element TextArea(Example/Visibility/Query/QueryTypeInfo): Example/Visibility/Templates/BasicText
557                {
558                        left 180
559                        width 90
560                        height 30
561                        caption :
562                }
563
564                element TextArea(Example/Visibility/Query/VisibleNodes): Example/Visibility/Templates/BasicText
565                {
566                        left 5
567                        width 90
568                        height 30
569                        caption Visible nodes
570                }
571                element TextArea(Example/Visibility/Query/VisibleNodesInfo): Example/Visibility/Templates/BasicText
572                {
573                        left 180
574                        width 90
575                        height 30
576                        caption :
577                }
578
579                element TextArea(Example/Visibility/Query/VisibleGeometry): Example/Visibility/Templates/BasicText
580                {
581                        left 5
582                        width 90
583                        height 30
584                        caption Visible geometry
585                }
586                element TextArea(Example/Visibility/Query/VisibleGeometryInfo): Example/Visibility/Templates/BasicText
587                {
588                        left 180
589                        width 90
590                        height 30
591                        caption :
592                }
593
594
595                element TextArea(Example/Visibility/Query/VisiblePatches): Example/Visibility/Templates/BasicText
596                {
597                        left 5
598                        width 90
599                        height 30
600                        caption Visible patches
601                }
602                element TextArea(Example/Visibility/Query/VisiblePatchesInfo): Example/Visibility/Templates/BasicText
603                {
604                        left 180
605                        width 90
606                        height 30
607                        caption :
608                }
609
610                element TextArea(Example/Visibility/Query/NodeVisibility): Example/Visibility/Templates/BasicText
611                {
612                        left 5
613                        width 90
614                        height 30
615                        caption Avg. node visibility
616                }
617
618                element TextArea(Example/Visibility/Query/NodeVisibilityInfo): Example/Visibility/Templates/BasicText
619                {
620                        left 180
621                        width 90
622                        height 30
623                        caption :
624                }
625
626                element TextArea(Example/Visibility/Query/GeometryVisibility): Example/Visibility/Templates/BasicText
627                {
628                        left 5
629                        width 90
630                        height 30
631                        caption Avg. geometry visibility
632                }
633
634                element TextArea(Example/Visibility/Query/GeometryVisibilityInfo): Example/Visibility/Templates/BasicText
635                {
636                        left 180
637                        width 90
638                        height 30
639                        caption :
640                }
641                element TextArea(Example/Visibility/Query/PatchVisibility): Example/Visibility/Templates/BasicText
642                {
643                        left 5
644                        width 90
645                        height 30
646                        caption Avg. patch visibility
647                }
648
649                element TextArea(Example/Visibility/Query/PatchVisibilityInfo): Example/Visibility/Templates/BasicText
650                {
651                        left 180
652                        width 90
653                        height 30
654                        caption :
655                }
656        }
657}
658
659
660
661
662template element TextArea(Example/Visibility/Templates/HeaderText)
663{
664        metrics_mode pixels
665        left 5
666        top 5
667        width 180
668        height 30
669        font_name TrebuchetMSBold
670        char_height 50
671        colour_top 0.5 0.7 0.5
672        colour_bottom 0.3 0.5 0.3
673}
674
675
676Example/Visibility/MyStatsOverlay
677{
678        zorder 500
679
680        // Stats block
681        container BorderPanel(Example/Visibility/MyStatsPanel)
682        {
683                metrics_mode pixels
684                vert_align top
685                left 5
686                top 5
687                #width 620
688                width 200
689                height 110
690                material Core/StatsBlockCenter
691                border_size 1 1 1 1
692                border_material Core/StatsBlockBorder
693                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
694                border_top_uv         0.0039 1.0000 0.9961 0.9961
695                border_topright_uv    0.9961 1.0000 1.0000 0.9961
696                border_left_uv        0.0000 0.9961 0.0039 0.0039
697                border_right_uv       0.9961 0.9961 1.0000 0.0039
698                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
699                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
700                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
701
702
703                element TextArea(Example/Visibility/MyAlgorithmInfo): Example/Visibility/Templates/HeaderText
704                {
705                        left 5
706                        width 180
707                        height 30
708                        top 10
709                        caption Algorithm
710                }
711                element TextArea(Example/Visibility/MyFps): Example/Visibility/Templates/HeaderText
712                {
713                        left 5
714                        width 180
715                        height 30
716                        top 60
717                        caption FPS
718                }
719                element TextArea(Example/Visibility/MyFpsInfo): Example/Visibility/Templates/HeaderText
720                {
721                        left 80
722                        width 180
723                        height 30
724                        top 60
725                        caption :
726                }
727        }
728}
729
730
731Example/Visibility/LoadingOverlay
732{
733        zorder 500
734
735        // Stats block
736        container BorderPanel(Example/Visibility/Loading/LoadingPanel)
737        {
738                metrics_mode pixels
739                vert_align top
740                left 5
741                top 5
742                #width 620
743                width 200
744                height 110
745                material Core/StatsBlockCenter
746                border_size 1 1 1 1
747                border_material Core/StatsBlockBorder
748                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
749                border_top_uv         0.0039 1.0000 0.9961 0.9961
750                border_topright_uv    0.9961 1.0000 1.0000 0.9961
751                border_left_uv        0.0000 0.9961 0.0039 0.0039
752                border_right_uv       0.9961 0.9961 1.0000 0.0039
753                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
754                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
755                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
756
757
758                element TextArea(Example/Visibility/Loading/MyLoadingInfo): Example/Visibility/Templates/HeaderText
759                {
760                        left 5
761                        width 180
762                        height 30
763                        top 10
764                        caption Loading
765                }
766        }
767}
Note: See TracBrowser for help on using the repository browser.