1
0
Fork 0

Harald Johnson:

- new and updated sources for the new volumetric clouds
- 2 new textures for the clouds
- an update to the render dialog to enable/disable and change a few parameters
  for the new clouds
This commit is contained in:
ehofman 2005-04-24 11:18:27 +00:00
parent 7cecba5024
commit 8c641c44e3
3 changed files with 147 additions and 101 deletions

BIN
Textures/Sky/cl_cumulus.rgb Normal file

Binary file not shown.

BIN
Textures/Sky/cl_stratus.rgb Normal file

Binary file not shown.

View file

@ -1,101 +1,147 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<PropertyList> <PropertyList>
<name>rendering</name> <name>rendering</name>
<modal>false</modal> <modal>false</modal>
<layout>vbox</layout> <layout>vbox</layout>
<text> <text>
<label>Rendering Options</label> <label>Rendering Options</label>
</text> </text>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<halign>center</halign> <halign>center</halign>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Sun/Moon horizon effect</label> <label>Sun/Moon horizon effect</label>
<property>/sim/rendering/horizon-effect</property> <property>/sim/rendering/horizon-effect</property>
</checkbox> </checkbox>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Enhanced runway lighting</label> <label>Enhanced runway lighting</label>
<property>/sim/rendering/enhanced-lighting</property> <property>/sim/rendering/enhanced-lighting</property>
</checkbox> </checkbox>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Runway light distance attenuation</label> <label>Runway light distance attenuation</label>
<property>/sim/rendering/distance-attenuation</property> <property>/sim/rendering/distance-attenuation</property>
</checkbox> </checkbox>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Specular reflections on objects</label> <label>Specular reflections on objects</label>
<property>/sim/rendering/specular-highlight</property> <property>/sim/rendering/specular-highlight</property>
</checkbox> </checkbox>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Bump mapped clouds</label> <label>Bump mapped clouds</label>
<property>/sim/rendering/bump-mapping</property> <property>/sim/rendering/bump-mapping</property>
</checkbox> </checkbox>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Show frame rate</label> <label>Show frame rate</label>
<property>/sim/hud/draw-fps</property> <property>/sim/hud/draw-fps</property>
</checkbox> </checkbox>
</group>
<checkbox>
<group> <halign>left</halign>
<layout>hbox</layout> <label>Enable 3d clouds</label>
<empty><stretch>true</stretch></empty> <property>/sim/rendering/clouds3d-enable</property>
</checkbox>
<button> </group>
<legend>OK</legend>
<equal>true</equal>
<binding> <group>
<command>dialog-apply</command> <layout>hbox</layout>
</binding> <halign>right</halign>
<binding> <text><label>Visibility range (1km...50km)</label></text>
<command>dialog-close</command> <slider>
</binding> <min>1000</min>
<default>true</default> <max>50000</max>
</button>
<property>/sim/rendering/clouds3d-vis-range</property>
<empty><stretch>true</stretch></empty> <binding>
<command>dialog-apply</command>
<button> </binding>
<legend>Apply</legend> </slider>
<equal>true</equal> </group>
<binding>
<command>dialog-apply</command> <group>
</binding> <layout>hbox</layout>
</button> <halign>right</halign>
<text><label>Cloud density</label></text>
<empty><stretch>true</stretch></empty> <slider>
<min>0</min>
<button> <max>100</max>
<legend>Reset</legend>
<equal>true</equal> <property>/sim/rendering/clouds3d-density</property>
<binding> <binding>
<command>dialog-update</command> <command>dialog-apply</command>
</binding> </binding>
</button> </slider>
</group>
<empty><stretch>true</stretch></empty>
<group>
<button> <layout>hbox</layout>
<legend>Cancel</legend> <text><label>3D Clouds cache size in Kbytes</label></text>
<equal>true</equal> <input>
<binding> <property>/sim/rendering/clouds3d-cache-size</property>
<command>dialog-close</command> </input>
</binding> </group>
</button>
<empty><stretch>true</stretch></empty> <group>
</group> <layout>hbox</layout>
</PropertyList> <empty><stretch>true</stretch></empty>
<button>
<legend>OK</legend>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Apply</legend>
<equal>true</equal>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Reset</legend>
<equal>true</equal>
<binding>
<command>dialog-update</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
<button>
<legend>Cancel</legend>
<equal>true</equal>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>