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

Revision 120, 9.7 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
242Example/Visibility/HelpOverlay
243{
244        zorder 600
245        // Stats block
246        container BorderPanel(Example/Visibility/HelpPanel)
247        {
248                metrics_mode pixels
249                horz_align left
250                vert_align top
251                width 600
252                height 315
253                left 200
254                top 200
255                material Core/StatsBlockCenter
256                //material Example/Visibility/Helpscreen
257                border_size 1 1 1 1
258                border_material Core/StatsBlockBorder
259                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
260                border_top_uv         0.0039 1.0000 0.9961 0.9961
261                border_topright_uv    0.9961 1.0000 1.0000 0.9961
262                border_left_uv        0.0000 0.9961 0.0039 0.0039
263                border_right_uv       0.9961 0.9961 1.0000 0.0039
264                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
265                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
266                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
267
268                container Panel(Example/Visibility/Help/BreakPanel)
269                {
270                        metrics_mode pixels
271                        left 5
272                        top 22
273                        width 590
274                        height 1
275                        material Core/StatsBreak
276                }
277
278                element TextArea(Example/Visibility/Help/Help)
279                {
280                        metrics_mode pixels
281                        left 5
282                        top 5
283                        width 90
284                        height 30
285                        font_name TrebuchetMSBold
286                        char_height 19
287                        caption Additional Options
288                        colour_top 1 1 0.7
289                        colour_bottom 1 1 0.7
290                }
291
292                element TextArea(Example/Visibility/Help/ShowHelpInfo): Example/Visibility/Templates/BasicText
293                {
294                        left 5
295                        top 40
296                        width 180
297                        height 30
298                        caption [F1] Show / Hide this screen
299                }
300                element TextArea(Example/Visibility/Help/StatsInfo): Example/Visibility/Templates/BasicText
301                {
302                        left 5
303                        top 55
304                        width 180
305                        height 30
306                        caption [F2] Show / Hide stats
307                }
308                element TextArea(Example/Visibility/Help/RecordedInfo): Example/Visibility/Templates/BasicText
309                {
310                        left 5
311                        top 70
312                        width 180
313                        height 30
314                        caption [F3] Start / End frame recording
315                }
316                element TextArea(Example/Visibility/Help/AppStateInfo): Example/Visibility/Templates/BasicText
317                {
318                        left 5
319                        top 85
320                        width 180
321                        height 30
322                        caption [F4] Toggle between interactive / recorded walkthrough
323                }
324                element TextArea(Example/Visibility/Help/ScreenshotsInfo): Example/Visibility/Templates/BasicText
325                {
326                        left 5
327                        top 115
328                        width 180
329                        height 30
330                        caption [F11] Screenshot
331                }
332                element TextArea(Example/Visibility/Help/WriteOutInfo): Example/Visibility/Templates/BasicText
333                {
334                        left 5
335                        top 130
336                        width 180
337                        height 30
338                        caption [F12] Write screen objects to file
339                }
340                //-- visualization
341                element TextArea(Example/Visibility/Help/VizInfo): Example/Visibility/Templates/BasicText
342                {
343                        left 5
344                        top 160
345                        width 180
346                        height 30
347                        caption [1] Show / hide visualization
348                }
349                element TextArea(Example/Visibility/Help/NextVizModeInfo): Example/Visibility/Templates/BasicText
350                {
351                        left 5
352                        top 175
353                        width 175
354                        height 30
355                        caption [2] Toggle visualization mode
356                }
357                element TextArea(Example/Visibility/Help/ZoomVizInfo): Example/Visibility/Templates/BasicText
358                {
359                        left 5
360                        top 190
361                        width 190
362                        height 30
363                        caption [3][4] Zoom in / out of visualization
364                }
365                element TextArea(Example/Visibility/Help/SceneDetailInfo): Example/Visibility/Templates/BasicText
366                {
367                        left 5
368                        top 220
369                        width 180
370                        height 30
371                        caption [R] Toggle between solid / wireframe / point based rendering
372                }
373                element TextArea(Example/Visibility/Help/DisplayCameraDetailsInfo): Example/Visibility/Templates/BasicText
374                {
375                        left 5
376                        top 235
377                        width 180
378                        height 30
379                        caption [P] Show / hide camera details
380                }
381                element TextArea(Example/Visibility/Help/DisplayOctreeInfo): Example/Visibility/Templates/BasicText
382                {
383                        left 5
384                        top 250
385                        width 180
386                        height 30
387                        caption [T] Show / hide octree
388                }
389                element TextArea(Example/Visibility/Help/UseShadowsInfo): Example/Visibility/Templates/BasicText
390                {
391                        left 5
392                        top 265
393                        width 180
394                        height 30
395                        caption [S] Show / hide shadows
396                }
397                element TextArea(Example/Visibility/Help/FilterInfo): Example/Visibility/Templates/BasicText
398                {
399                        left 5
400                        top 280
401                        width 180
402                        height 30
403                        caption [F] toggle filtering method (trilinear, anisotropic, bilinear)
404                }
405        }
406}
Note: See TracBrowser for help on using the repository browser.