1
0
Fork 0
fgdata/gui/dialogs/rendering.xml
ehofman 26fc44aa32 Harald JOHNSEN:
Changes
=======

- shadowvolume.cxx, renderer.cxx :
  - reduced the polygon offset a bit to eliminate some artifact ;
  - changed again the cleanup code for objects inside a tile because it could crash on rare occasion ;
  - the culling of shadow casters has been rewritten to traverse the scene graph, it should be
    a bit faster when there is a lot of objects ;
  - the range selector was not correctly handled, sometimes the wrong LOD was casting shadows.
  - added the option to display aircraft's transparent objects after the shadows, this will
    reduce the problem of shadows being hidden by the transparent object (propeller disk,
    rotor, etc). A side effect is that aircraft's transparent objects won't receive shadows
    anymore. This is usually a good thing except when the aircraft use a 'transparent'
    texture where it should not. A transparent texture in the plib context is a texture
    with an alpha channel or a material with alpha <= 0.99.

- model.cxx, animation.cxx, shadowvolume.cxx :
  - added an optional <condition> under the <noshadow> animation

- tower.cxx
  - correct a rare bug where all occurences of the aircraft are not deleted from the
  departure list causing a crash in FGTower::CheckDepartureList function.
2005-07-18 16:58:52 +00:00

269 lines
6.3 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<name>rendering</name>
<modal>false</modal>
<layout>vbox</layout>
<text>
<label>Rendering Options</label>
</text>
<hrule><dummy/></hrule>
<group>
<layout>vbox</layout>
<halign>center</halign>
<checkbox>
<halign>left</halign>
<label>Show frame rate</label>
<property>/sim/hud/draw-fps</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Sun/Moon horizon effect</label>
<property>/sim/rendering/horizon-effect</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Enhanced runway lighting</label>
<property>/sim/rendering/enhanced-lighting</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Runway light distance attenuation</label>
<property>/sim/rendering/distance-attenuation</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Specular reflections on objects</label>
<property>/sim/rendering/specular-highlight</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Precipitation</label>
<property>/sim/rendering/precipitation-enable</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Lightning</label>
<property>/sim/rendering/lightning-enable</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Bump mapped clouds</label>
<property>/sim/rendering/bump-mapping</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Enable 3d clouds</label>
<property>/sim/rendering/clouds3d-enable</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<hrule><dummy/></hrule>
<group>
<padding>8</padding>
<layout>vbox</layout>
<text>
<padding>-6</padding>
<halign>left</halign>
<label>3D Clouds</label>
<color>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
</color>
</text>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Visibility range</label></text>
<slider>
<min>1000</min>
<max>50000</max>
<property>/sim/rendering/clouds3d-vis-range</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.0f m</format>
<live>true</live>
<property>/sim/rendering/clouds3d-vis-range</property>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Cloud density</label></text>
<slider>
<min>0</min>
<max>100</max>
<property>/sim/rendering/clouds3d-density</property>
<binding>
<command>dialog-apply</command>
</binding>
</slider>
<text>
<label>12345678</label>
<format>%.0f%%</format>
<live>true</live>
<property>/sim/rendering/clouds3d-density</property>
</text>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Cache size in Kbytes</label></text>
<input>
<property>/sim/rendering/clouds3d-cache-size</property>
<binding>
<command>dialog-apply</command>
</binding>
</input>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text><label>Texture resolution</label></text>
<combo>
<property>/sim/rendering/clouds3d-cache-resolution</property>
<value>64</value>
<value>128</value>
<value>256</value>
<binding>
<command>dialog-apply</command>
</binding>
</combo>
</group>
</group>
<hrule><dummy/></hrule>
<group>
<padding>8</padding>
<layout>hbox</layout>
<group>
<layout>vbox</layout>
<valign>top</valign>
<halign>left</halign>
<text>
<padding>-6</padding>
<label>Shadows</label>
<color>
<red>0.5</red>
<green>0.5</green>
<blue>0.5</blue>
</color>
</text>
</group>
<group>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<checkbox>
<halign>left</halign>
<label>Aircraft</label>
<property>/sim/rendering/shadows-ac</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Transparency</label>
<property>/sim/rendering/shadows-ac-transp</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
<checkbox>
<halign>left</halign>
<label>Scenery objects</label>
<property>/sim/rendering/shadows-to</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>AI objects</label>
<property>/sim/rendering/shadows-ai</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
<checkbox>
<halign>left</halign>
<label>Silhouette (debug)</label>
<property>/sim/rendering/shadows-debug</property>
<binding>
<command>dialog-apply</command>
</binding>
</checkbox>
</group>
</group>
<group>
<layout>hbox</layout>
<empty><stretch>true</stretch></empty>
<button>
<legend>Close</legend>
<default>true</default>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<empty><stretch>true</stretch></empty>
</group>
</PropertyList>