source: trunk/VUT/OcclusionCullingSceneManager/scripts/OcclusionDemo.overlay @ 32

Revision 32, 4.6 KB checked in by gametools, 19 years ago (diff)
Line 
1Example/OcclusionDemoOverlay
2{
3        zorder 500
4        // Stats block
5        container BorderPanel(Example/Occlusion/OcclusionPanel)
6        {
7                metrics_mode pixels
8                vert_align top
9                left 5
10                top 5
11                width 450
12                height 55
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/Occlusion/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 [A] Algorithm
36                        colour_top 0.5 0.7 0.5
37                        colour_bottom 0.3 0.5 0.3
38                }
39                element TextArea(Example/Occlusion/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/Occlusion/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/Occlusion/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        }
80
81        container BorderPanel(Example/Occlusion/OcclusionStatsPanel)
82        {
83                metrics_mode pixels
84                vert_align top
85                horz_align right
86                left -355
87                top 5
88                width 450
89                height 70
90                material Core/StatsBlockCenter
91                border_size 1 1 1 1
92                border_material Core/StatsBlockBorder
93                border_topleft_uv     0.0000 1.0000 0.0039 0.9961
94                border_top_uv         0.0039 1.0000 0.9961 0.9961
95                border_topright_uv    0.9961 1.0000 1.0000 0.9961
96                border_left_uv        0.0000 0.9961 0.0039 0.0039
97                border_right_uv       0.9961 0.9961 1.0000 0.0039
98                border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
99                border_bottom_uv      0.0039 0.0039 0.9961 0.0000
100                border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
101
102                element TextArea(Example/Occlusion/FrustumCulledNodes)
103                {
104                        metrics_mode pixels
105                        left 5
106                        top 5
107                        width 180
108                        height 30
109                        font_name TrebuchetMSBold
110                        char_height 16
111                        caption Frustum Culled Nodes
112                        colour_top 0.5 0.7 0.5
113                        colour_bottom 0.3 0.5 0.3
114                }
115                element TextArea(Example/Occlusion/FrustumCulledNodesInfo)
116                {
117                        metrics_mode pixels
118                        left 180
119                        top 5
120                        width 90
121                        height 30
122                        font_name TrebuchetMSBold
123                        char_height 16
124                        caption :
125                        colour_top 0.5 0.7 0.5
126                        colour_bottom 0.3 0.5 0.3
127                }
128                element TextArea(Example/Occlusion/QueryCulledNodes)
129                {
130                        metrics_mode pixels
131                        left 5
132                        top 20
133                        width 180
134                        height 30
135                        font_name TrebuchetMSBold
136                        char_height 16
137                        caption Query Culled Nodes
138                        colour_top 0.5 0.7 0.5
139                        colour_bottom 0.3 0.5 0.3
140                }       
141                element TextArea(Example/Occlusion/QueryCulledNodesInfo)
142                {
143                        metrics_mode pixels
144                        left 180
145                        top 20
146                        width 90
147                        height 30
148                        font_name TrebuchetMSBold
149                        char_height 16
150                        caption :
151                        colour_top 0.5 0.7 0.5
152                        colour_bottom 0.3 0.5 0.3
153                }
154                element TextArea(Example/Occlusion/TraversedNodes)
155                {
156                        metrics_mode pixels
157                        left 5
158                        top 35
159                        width 180
160                        height 30
161                        font_name TrebuchetMSBold
162                        char_height 16
163                        caption Traversed Nodes
164                        colour_top 0.5 0.7 0.5
165                        colour_bottom 0.3 0.5 0.3
166                }       
167                element TextArea(Example/Occlusion/TraversedNodesInfo)
168                {
169                        metrics_mode pixels
170                        left 180
171                        top 35
172                        width 90
173                        height 30
174                        font_name TrebuchetMSBold
175                        char_height 16
176                        caption :
177                        colour_top 0.5 0.7 0.5
178                        colour_bottom 0.3 0.5 0.3
179                }
180                element TextArea(Example/Occlusion/SceneNodes)
181                {
182                        metrics_mode pixels
183                        left 5
184                        top 50
185                        width 180
186                        height 30
187                        font_name TrebuchetMSBold
188                        char_height 16
189                        caption Scene Nodes
190                        colour_top 0.5 0.7 0.5
191                        colour_bottom 0.3 0.5 0.3
192                }       
193                element TextArea(Example/Occlusion/SceneNodesInfo)
194                {
195                        metrics_mode pixels
196                        left 180
197                        top 50
198                        width 90
199                        height 30
200                        font_name TrebuchetMSBold
201                        char_height 16
202                        caption :
203                        colour_top 0.5 0.7 0.5
204                        colour_bottom 0.3 0.5 0.3
205                }
206        }
207}
Note: See TracBrowser for help on using the repository browser.