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

Revision 115, 7.3 KB checked in by mattausch, 19 years ago (diff)

added depth pass algorithm + delayed transparent object rendering (so depth ordering is right)

Line 
1Example/VisibilityDemoOverlay
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Example/Visibility/VisibilityPanel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 400
12                height 75
13                material Core/StatsBlockCenter
14                border_size 1 1 1 1
15                border_material Core/StatsBlockBorder
16                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
17                border_top_uv         0.0039 1.0000 0.9961 0.9961
18                border_topright_uv    0.9961 1.0000 1.0000 0.9961
19                border_left_uv        0.0000 0.9961 0.0039 0.0039
20                border_right_uv       0.9961 0.9961 1.0000 0.0039
21                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
22                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
23                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
24
25
26                element TextArea(Example/Visibility/Algorithm)
27                {
28                        metrics_mode pixels
29                        left 5
30                        top 5
31                        width 180
32                        height 30
33                        font_name TrebuchetMSBold
34                        char_height 16
35                        caption [SPACE] Algorithm
36                        colour_top 0.5 0.7 0.5
37                        colour_bottom 0.3 0.5 0.3
38                }
39                element TextArea(Example/Visibility/AlgorithmInfo)
40                {
41                        metrics_mode pixels
42                        left 155
43                        top 5
44                        width 90
45                        height 30
46                        font_name TrebuchetMSBold
47                        char_height 16
48                        caption :
49                        colour_top 0.5 0.7 0.5
50                        colour_bottom 0.3 0.5 0.3
51                }
52
53                element TextArea(Example/Visibility/Threshold)
54                {
55                        metrics_mode pixels
56                        left 5
57                        top 20
58                        width 90
59                        height 30
60                        font_name TrebuchetMSBold
61                        char_height 16
62                        caption [-][+] Threshold
63                        colour_top 0.5 0.7 0.5
64                        colour_bottom 0.3 0.5 0.3
65                }
66                element TextArea(Example/Visibility/ThresholdInfo)
67                {
68                        metrics_mode pixels
69                        left 155
70                        top 20
71                        width 90
72                        height 30
73                        font_name TrebuchetMSBold
74                        char_height 16
75                        caption :
76                        colour_top 0.5 0.7 0.5
77                        colour_bottom 0.3 0.5 0.3
78                }
79                element TextArea(Example/Visibility/UseOptimization)
80                {
81                        metrics_mode pixels
82                        left 5
83                        top 35
84                        width 90
85                        height 30
86                        font_name TrebuchetMSBold
87                        char_height 16
88                        caption [O] Optimization
89                        colour_top 0.5 0.7 0.5
90                        colour_bottom 0.3 0.5 0.3
91                }
92                element TextArea(Example/Visibility/UseOptimizationInfo)
93                {
94                        metrics_mode pixels
95                        left 155
96                        top 35
97                        width 90
98                        height 30
99                        font_name TrebuchetMSBold
100                        char_height 16
101                        caption :
102                        colour_top 0.5 0.7 0.5
103                        colour_bottom 0.3 0.5 0.3
104                }
105                element TextArea(Example/Visibility/UseDepthPass)
106                {
107                        metrics_mode pixels
108                        left 5
109                        top 50
110                        width 90
111                        height 30
112                        font_name TrebuchetMSBold
113                        char_height 16
114                        caption [X] Depth pass
115                        colour_top 0.5 0.7 0.5
116                        colour_bottom 0.3 0.5 0.3
117                }
118                element TextArea(Example/Visibility/UseDepthPassInfo)
119                {
120                        metrics_mode pixels
121                        left 155
122                        top 50
123                        width 90
124                        height 30
125                        font_name TrebuchetMSBold
126                        char_height 16
127                        caption :
128                        colour_top 0.5 0.7 0.5
129                        colour_bottom 0.3 0.5 0.3
130                }
131
132        }
133
134        container BorderPanel(Example/Visibility/VisibilityStatsPanel)
135        {
136                metrics_mode pixels
137                vert_align top
138                horz_align right
139                left -250
140                top 5
141                width 320
142                height 120
143                material Core/StatsBlockCenter
144                border_size 1 1 1 1
145                border_material Core/StatsBlockBorder
146                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
147                border_top_uv         0.0039 1.0000 0.9961 0.9961
148                border_topright_uv    0.9961 1.0000 1.0000 0.9961
149                border_left_uv        0.0000 0.9961 0.0039 0.0039
150                border_right_uv       0.9961 0.9961 1.0000 0.0039
151                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
152                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
153                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
154
155                element TextArea(Example/Visibility/FrustumCulledNodes)
156                {
157                        metrics_mode pixels
158                        left 5
159                        top 5
160                        width 180
161                        height 30
162                        font_name TrebuchetMSBold
163                        char_height 16
164                        caption Frustum Culled Nodes
165                        colour_top 0.5 0.7 0.5
166                        colour_bottom 0.3 0.5 0.3
167                }
168                element TextArea(Example/Visibility/FrustumCulledNodesInfo)
169                {
170                        metrics_mode pixels
171                        left 180
172                        top 5
173                        width 90
174                        height 30
175                        font_name TrebuchetMSBold
176                        char_height 16
177                        caption :
178                        colour_top 0.5 0.7 0.5
179                        colour_bottom 0.3 0.5 0.3
180                }
181                element TextArea(Example/Visibility/QueryCulledNodes)
182                {
183                        metrics_mode pixels
184                        left 5
185                        top 20
186                        width 180
187                        height 30
188                        font_name TrebuchetMSBold
189                        char_height 16
190                        caption Query Culled Nodes
191                        colour_top 0.5 0.7 0.5
192                        colour_bottom 0.3 0.5 0.3
193                }       
194                element TextArea(Example/Visibility/QueryCulledNodesInfo)
195                {
196                        metrics_mode pixels
197                        left 180
198                        top 20
199                        width 90
200                        height 30
201                        font_name TrebuchetMSBold
202                        char_height 16
203                        caption :
204                        colour_top 0.5 0.7 0.5
205                        colour_bottom 0.3 0.5 0.3
206                }
207                element TextArea(Example/Visibility/TraversedNodes)
208                {
209                        metrics_mode pixels
210                        left 5
211                        top 35
212                        width 180
213                        height 30
214                        font_name TrebuchetMSBold
215                        char_height 16
216                        caption Traversed Nodes
217                        colour_top 0.5 0.7 0.5
218                        colour_bottom 0.3 0.5 0.3
219                }       
220                element TextArea(Example/Visibility/TraversedNodesInfo)
221                {
222                        metrics_mode pixels
223                        left 180
224                        top 35
225                        width 90
226                        height 30
227                        font_name TrebuchetMSBold
228                        char_height 16
229                        caption :
230                        colour_top 0.5 0.7 0.5
231                        colour_bottom 0.3 0.5 0.3
232                }
233                element TextArea(Example/Visibility/HierarchyNodes)
234                {
235                        metrics_mode pixels
236                        left 5
237                        top 50
238                        width 180
239                        height 30
240                        font_name TrebuchetMSBold
241                        char_height 16
242                        caption Hierarchy Nodes
243                        colour_top 0.5 0.7 0.5
244                        colour_bottom 0.3 0.5 0.3
245                }       
246                element TextArea(Example/Visibility/HierarchyNodesInfo)
247                {
248                        metrics_mode pixels
249                        left 180
250                        top 50
251                        width 90
252                        height 30
253                        font_name TrebuchetMSBold
254                        char_height 16
255                        caption :
256                        colour_top 0.5 0.7 0.5
257                        colour_bottom 0.3 0.5 0.3
258                }
259                element TextArea(Example/Visibility/RenderedNodes)
260                {
261                        metrics_mode pixels
262                        left 5
263                        top 65
264                        width 180
265                        height 30
266                        font_name TrebuchetMSBold
267                        char_height 16
268                        caption Rendered Nodes
269                        colour_top 0.5 0.7 0.5
270                        colour_bottom 0.3 0.5 0.3
271                }       
272                element TextArea(Example/Visibility/RenderedNodesInfo)
273                {
274                        metrics_mode pixels
275                        left 180
276                        top 65
277                        width 90
278                        height 30
279                        font_name TrebuchetMSBold
280                        char_height 16
281                        caption :
282                        colour_top 0.5 0.7 0.5
283                        colour_bottom 0.3 0.5 0.3
284                }
285                element TextArea(Example/Visibility/Objects)
286                {
287                        metrics_mode pixels
288                        left 5
289                        top 80
290                        width 180
291                        height 30
292                        font_name TrebuchetMSBold
293                        char_height 16
294                        caption Number of objects
295                        colour_top 0.5 0.7 0.5
296                        colour_bottom 0.3 0.5 0.3
297                }       
298                element TextArea(Example/Visibility/ObjectsInfo)
299                {
300                        metrics_mode pixels
301                        left 180
302                        top 80
303                        width 90
304                        height 30
305                        font_name TrebuchetMSBold
306                        char_height 16
307                        caption :
308                        colour_top 0.5 0.7 0.5
309                        colour_bottom 0.3 0.5 0.3
310                }
311                element TextArea(Example/Visibility/QueriesIssued)
312                {
313                        metrics_mode pixels
314                        left 5
315                        top 95
316                        width 180
317                        height 30
318                        font_name TrebuchetMSBold
319                        char_height 16
320                        caption Queries issued
321                        colour_top 0.5 0.7 0.5
322                        colour_bottom 0.3 0.5 0.3
323                }       
324                element TextArea(Example/Visibility/QueriesIssuedInfo)
325                {
326                        metrics_mode pixels
327                        left 180
328                        top 95
329                        width 90
330                        height 30
331                        font_name TrebuchetMSBold
332                        char_height 16
333                        caption :
334                        colour_top 0.5 0.7 0.5
335                        colour_bottom 0.3 0.5 0.3
336                }                       
337        }
338}
Note: See TracBrowser for help on using the repository browser.