Debian Codegraph @

gui/dialogs/earthview.xml

raw symbols SCIP
1 <?xml version="1.0"?>
2
3 <PropertyList>
4
5 <name>earthview</name>
6 <layout>vbox</layout>
7 <default-padding>3</default-padding>
8 <modal>false</modal>
9
10 <group>
11 <layout>hbox</layout>
12 <default-padding>1</default-padding>
13
14 <text>
15 <label>Earthview Orbital Rendering</label>
16 </text>
17
18 <empty>
19 <stretch>true</stretch>
20 </empty>
21
22 <button>
23 <legend>X</legend>
24 <key>Esc</key>
25 <pref-width>20</pref-width>
26 <pref-height>20</pref-height>
27 <binding>
28 <command>dialog-close</command>
29 </binding>
30 </button>
31 </group>
32
33 <hrule/>
34
35 <group>
36 <layout>hbox</layout>
37
38 <!-- gap -->
39 <text>
40 <label> </label>
41 </text>
42
43 <group>
44 <layout>vbox</layout>
45 <checkbox>
46 <name>cloudsphere-flag</name>
47 <row>0</row>
48 <col>1</col>
49 <label> Show cloud layer</label>
50 <halign>left</halign>
51 <property>/earthview/cloudsphere-flag</property>
52 <binding>
53 <command>dialog-apply</command>
54 <object-name>cloudsphere-flag</object-name>
55 </binding>
56 </checkbox>
57 <checkbox>
58 <enable><property>/earthview/cloudsphere-flag</property></enable>
59 <name>cloud-shadow-flag</name>
60 <row>1</row>
61 <col>1</col>
62 <label> Show cloud shadows</label>
63 <halign>left</halign>
64 <property>/earthview/cloud-shadow-flag</property>
65 <binding>
66 <command>dialog-apply</command>
67 <object-name>cloud-shadow-flag</object-name>
68 <script>
69 if(getprop("/earthview/cloud-shadow-flag")==1) {setprop("/earthview/cloudsphere-angle",0.0);}
70 </script>
71 </binding>
72 </checkbox>
73 <checkbox>
74 <row>2</row>
75 <col>1</col>
76 <label> Automatic light scattering</label>
77 <halign>left</halign>
78 <property>/earthview/mrd-flag</property>
79 <binding>
80 <command>dialog-apply</command>
81 </binding>
82 </checkbox>
83 <checkbox>
84 <row>3</row>
85 <col>1</col>
86 <label> Overlay textures</label>
87 <halign>left</halign>
88 <property>/earthview/overlay-texture-flag</property>
89 <binding>
90 <command>dialog-apply</command>
91 </binding>
92 </checkbox>
93 <checkbox>
94 <row>4</row>
95 <col>1</col>
96 <label> Terrain normal mapping</label>
97 <halign>left</halign>
98 <property>/earthview/normal-flag</property>
99 <binding>
100 <command>dialog-apply</command>
101 </binding>
102 </checkbox>
103 <checkbox>
104 <row>5</row>
105 <col>1</col>
106 <label> Cloud normal mapping</label>
107 <halign>left</halign>
108 <property>/earthview/cloud-normal-flag</property>
109 <binding>
110 <command>dialog-apply</command>
111 </binding>
112 </checkbox>
113 </group>
114 </group>
115
116 <group>
117 <layout>hbox</layout>
118
119 <!-- gap -->
120 <text>
121 <label></label>
122 </text>
123
124 <empty>
125 <stretch>true</stretch>
126 </empty>
127
128 <button>
129 <row>3</row>
130 <col>1</col>
131 <legend> Start </legend>
132 <equal>true</equal>
133 <binding>
134 <command>nasal</command>
135 <script>earthview.start()</script>
136 </binding>
137 </button>
138
139 <button>
140 <row>3</row>
141 <col>2</col>
142 <legend> Stop </legend>
143 <equal>true</equal>
144 <binding>
145 <command>nasal</command>
146 <script>earthview.stop()</script>
147 </binding>
148 </button>
149 <empty>
150 <stretch>true</stretch>
151 </empty>
152
153 </group>
154
155 <group>
156 <layout>hbox</layout>
157 <default-padding>1</default-padding>
158 <!-- gap -->
159 <empty>
160 <stretch>true</stretch>
161 </empty>
162 </group>
163
164 <group>
165 <layout>hbox</layout>
166
167 <!-- gap -->
168 <text>
169 <label></label>
170 </text>
171
172 <text>
173 <label>Cloudsphere Rotation</label>
174 <halign>left</halign>
175 </text>
176 <hrule>
177 <stretch>true</stretch>
178 </hrule>
179 </group>
180
181 <group>
182 <layout>hbox</layout>
183 <halign>right</halign>
184
185 <!-- gap -->
186 <text>
187 <label></label>
188 </text>
189
190 <text>
191 <enable><not><property>/earthview/cloud-shadow-flag</property></not></enable>
192 <label>Rotation angle</label>
193 </text>
194 <slider>
195 <enable><not><property>/earthview/cloud-shadow-flag</property></not></enable>
196 <name>cloud-rotation-angle</name>
197 <min>0.0</min>
198 <max>360.0</max>
199 <step>0.1</step>
200 <live>true</live>
201 <property>/earthview/cloudsphere-angle</property>
202 <binding>
203 <command>dialog-apply</command>
204 <object-name>cloud-rotation-angle</object-name>
205 </binding>
206 <binding>
207 <command>nasal</command>
208 <script>earthview.adjust_cloud_tiles()</script>
209 </binding>
210 </slider>
211 <text>
212 <label>12345678</label>
213 <format>%.3f</format>
214 <live>true</live>
215 <property>/earthview/cloudsphere-angle</property>
216 </text>
217 </group>
218
219 <group>
220 <layout>hbox</layout>
221 <default-padding>1</default-padding>
222 <!-- gap -->
223 <empty>
224 <stretch>true</stretch>
225 </empty>
226 </group>
227
228 <group>
229 <layout>hbox</layout>
230
231 <!-- gap -->
232 <text>
233 <label></label>
234 </text>
235
236 <text>
237 <label>Atmospheric Effects</label>
238 <halign>left</halign>
239 </text>
240 <hrule>
241 <stretch>true</stretch>
242 </hrule>
243 </group>
244
245 <group>
246 <layout>hbox</layout>
247 <halign>right</halign>
248
249 <!-- gap -->
250 <text>
251 <label> </label>
252 </text>
253
254 <text>
255 <enable><not><property>/earthview/mrd-flag</property></not></enable>
256 <label>Mie factor</label>
257 </text>
258 <slider>
259 <enable><not><property>/earthview/mrd-flag</property></not></enable>
260 <name>mie-factor</name>
261 <min>0.0</min>
262 <max>0.01</max>
263 <step>0.001</step>
264 <live>true</live>
265 <property>/sim/rendering/mie</property>
266 <binding>
267 <command>dialog-apply</command>
268 <object-name>mie-factor</object-name>
269 </binding>
270 </slider>
271 <text>
272 <label>12345678</label>
273 <format>%.3f</format>
274 <live>true</live>
275 <property>/sim/rendering/mie</property>
276 </text>
277
278 <!-- gap -->
279 <text>
280 <label> </label>
281 </text>
282
283 </group>
284
285 <group>
286 <layout>hbox</layout>
287 <halign>right</halign>
288
289 <!-- gap -->
290 <text>
291 <label> </label>
292 </text>
293
294 <text>
295 <enable><not><property>/earthview/mrd-flag</property></not></enable>
296 <label>Rayleigh factor</label>
297 </text>
298 <slider>
299 <enable><not><property>/earthview/mrd-flag</property></not></enable>
300 <name>rayleigh-factor</name>
301 <min>0.0</min>
302 <max>0.001</max>
303 <step>0.00002</step>
304 <property>/sim/rendering/rayleigh</property>
305 <binding>
306 <command>dialog-apply</command>
307 <object-name>rayleigh-factor</object-name>
308 </binding>
309 </slider>
310 <text>
311 <label>12345678</label>
312 <format>%.5f</format>
313 <live>true</live>
314 <property>/sim/rendering/rayleigh</property>
315 </text>
316
317 <!-- gap -->
318 <text>
319 <label> </label>
320 </text>
321
322 </group>
323
324 <group>
325 <layout>hbox</layout>
326 <halign>right</halign>
327
328 <!-- gap -->
329 <text>
330 <label> </label>
331 </text>
332
333 <text>
334 <enable><not><property>/earthview/mrd-flag</property></not></enable>
335 <label>Density factor</label>
336 </text>
337 <slider>
338 <name>density-factor</name>
339 <enable><not><property>/earthview/mrd-flag</property></not></enable>
340 <min>0.0</min>
341 <max>1.0</max>
342 <step>0.1</step>
343 <property>/sim/rendering/dome-density</property>
344 <binding>
345 <command>dialog-apply</command>
346 <object-name>density-factor</object-name>
347 </binding>
348 </slider>
349 <text>
350 <label>12345678</label>
351 <format>%.1f</format>
352 <live>true</live>
353 <property>/sim/rendering/dome-density</property>
354 </text>
355
356 <!-- gap -->
357 <text>
358 <label> </label>
359 </text>
360
361 </group>
362
363 <group>
364 <layout>hbox</layout>
365 <halign>right</halign>
366
367 <!-- gap -->
368 <text>
369 <label> </label>
370 </text>
371
372 <text>
373 <label>Visibility</label>
374 </text>
375 <slider>
376 <name>visibility</name>
377 <min>30000.0</min>
378 <max>250000.0</max>
379 <step>10.0</step>
380 <property>/environment/visibility-m</property>
381 <binding>
382 <command>dialog-apply</command>
383 <object-name>visibility</object-name>
384 </binding>
385 <live>true</live>
386 </slider>
387 <text>
388 <label>12345678</label>
389 <format>%.1f</format>
390 <live>true</live>
391 <property>/environment/visibility-m</property>
392 </text>
393
394 <text>
395 <label> </label>
396 </text>
397
398 </group>
399
400 <group>
401 <layout>hbox</layout>
402 <halign>right</halign>
403
404 <!-- gap -->
405 <text>
406 <label> </label>
407 </text>
408
409 <text>
410 <label>Relative dust density</label>
411 </text>
412 <slider>
413 <name>air_pollution</name>
414 <min>0.0</min>
415 <max>1.0</max>
416 <property>/environment/air-pollution-norm</property>
417 <binding>
418 <command>dialog-apply</command>
419 <object-name>air_pollution</object-name>
420 </binding>
421 <live>true</live>
422 </slider>
423 <text>
424 <label>12345678</label>
425 <format>%.1f</format>
426 <live>true</live>
427 <property>/environment/air-pollution-norm</property>
428 </text>
429
430 <!-- gap -->
431 <text>
432 <label> </label>
433 </text>
434
435 </group>
436
437 <group>
438 <layout>hbox</layout>
439 <halign>right</halign>
440
441 <!-- gap -->
442 <text>
443 <label> </label>
444 </text>
445
446 <text>
447 <label>Cloudcover</label>
448 </text>
449 <slider>
450 <name>cloudcover</name>
451 <min>0.5</min>
452 <max>2.0</max>
453 <property>/earthview/cloudcover-bias</property>
454 <binding>
455 <command>dialog-apply</command>
456 <object-name>cloudcover</object-name>
457 </binding>
458 <live>true</live>
459 </slider>
460 <text>
461 <label>12345678</label>
462 <format>%.1f</format>
463 <live>true</live>
464 <property>/earthview/cloudcover-bias</property>
465 </text>
466
467 <!-- gap -->
468 <text>
469 <label> </label>
470 </text>
471
472 </group>
473
474 <group>
475 <layout>hbox</layout>
476 <default-padding>1</default-padding>
477 <!-- gap -->
478 <empty>
479 <stretch>true</stretch>
480 </empty>
481 </group>
482
483 <hrule/>
484
485 <group>
486 <layout>hbox</layout>
487
488 <empty>
489 <stretch>true</stretch>
490 </empty>
491
492 <button>
493 <legend>Cancel</legend>
494 <equal>true</equal>
495 <key>Esc</key>
496 <binding>
497 <command>dialog-close</command>
498 </binding>
499 </button>-->
500
501 <empty>
502 <stretch>true</stretch>
503 </empty>
504
505 </group>
506
507 </PropertyList>