1
0
Fork 0
fgdata/gui/dialogs/weather_scenario.xml
ehofman fec33019cb Harald JOHNSEN:
This is another update for the cloud code, a lot of lines but this time I have started to add the doxygen doc.

Misc
====

- corrected a bug when RTT is not available, the current rendering context was
  altered
- if RTT is not available then 3d clouds are not drawn at all
- impostors lighting is now recomputed when the sun changes position
- distant objects are no more seen in front of clouds
- blending of distant clouds is a bit better now
- litle optimization of code (uses a less cpu time)
- use layer wind speed and direction (no more hardcoded wind)
- fov is no more hardcoded

Changes
=======

- clouds (cu only) are dissipating/reforming (experimental)
- compute a turbulence factor that depends on surrounding clouds and type of
  clouds (experimental)
- clouds shapes are defined in cloudlayers.xml
- type of clouds present in a layer is also defined in cloudlayers.xml
- cloud layers are generated from metar and other misc. data (in progress)
- added a rain effect around the viewer (enabled in the rendering dialog and
  when the metar property says so)
- added a lightning effect (enabled in the rendering dialog) : cb clouds spawn
  new lightnings
- added a dialog to select from different weather source : metar/property,
  a 'fair weather' environment and a 'thunderstorm' environment.
2005-05-15 09:25:17 +00:00

67 lines
1.4 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>weather_scenario</name>
<modal>false</modal>
<layout>vbox</layout>
<text>
<label>___________Weather Scenario___________</label>
</text>
<text>
<label></label>
</text>
<group>
<layout>hbox</layout>
<text>
<label>Weather source</label>
<halign>left</halign>
</text>
<combo>
<pref-width>200</pref-width>
<property>/environment/weather-scenario</property>
<value>Fair weather</value>
<value>Thunderstorm</value>
<value>METAR</value>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
setprop("/environment/rebuild_layers", getprop("/environment/rebuild_layers")+1);
</script>
</binding>
</combo>
</group>
<text><label>Last metar used</label></text>
<input>
<pref-width>400</pref-width>
<live>true</live>
<property>/environment/metar/last-metar</property>
</input>
<text>
<label></label>
</text>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<button>
<legend>Close</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>