792 lines
18 KiB
XML
792 lines
18 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
<name>rendering</name>
|
|
<modal>false</modal>
|
|
<layout>vbox</layout>
|
|
<padding>20</padding>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<empty>
|
|
<stretch>1</stretch>
|
|
</empty>
|
|
|
|
<text>
|
|
<label>Rendering options</label>
|
|
</text>
|
|
|
|
<empty>
|
|
<stretch>1</stretch>
|
|
</empty>
|
|
|
|
<button>
|
|
<pref-width>16</pref-width>
|
|
<pref-height>16</pref-height>
|
|
<legend></legend>
|
|
<keynum>27</keynum>
|
|
<border>2</border>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<group>
|
|
<halign>center</halign>
|
|
<layout>hbox</layout>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>General</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Wireframe</label>
|
|
<name>wireframe</name>
|
|
<property>/sim/rendering/wireframe</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>wireframe</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<!--
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Lighting</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<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>Use point sprites for runway lights (requires restart)</label>
|
|
<property>/sim/rendering/point-sprites</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>
|
|
-->
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<row>1</row>
|
|
<col>0</col>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Throttle frame rate</label>
|
|
<name>frame-rate-throttle</name>
|
|
<property>/sim/gui/frame-rate-throttled</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>frame-rate-throttle</object-name>
|
|
</binding>
|
|
<binding>
|
|
<command>nasal</command>
|
|
<script>
|
|
var throttled = getprop("/sim/gui/frame-rate-throttled");
|
|
if (throttled)
|
|
setprop("/sim/frame-rate-throttle-hz", 50);
|
|
else
|
|
setprop("/sim/frame-rate-throttle-hz", 0);
|
|
</script>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<visible>
|
|
<greater-than>
|
|
<property>/sim/frame-rate-throttle-hz</property>
|
|
<value>0</value>
|
|
</greater-than>
|
|
</visible>
|
|
|
|
<slider>
|
|
<name>frame-rate</name>
|
|
<min>15.0</min>
|
|
<max>70.0</max>
|
|
<step>1.0</step>
|
|
<property>/sim/frame-rate-throttle-hz</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>frame-rate</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<halign>left</halign>
|
|
<label>99 Hz</label>
|
|
<format>%2.0f Hz</format>
|
|
<live>true</live>
|
|
<property>/sim/frame-rate-throttle-hz</property>
|
|
</text>
|
|
</group>
|
|
</group>
|
|
|
|
<!--
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Lightning</label>
|
|
<property>/sim/rendering/lightning-enable</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
-->
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Scenery objects</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Animated jetways</label>
|
|
<name>jetways</name>
|
|
<property>/nasal/jetways/enabled</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>jetways</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Random objects</label>
|
|
<name>random-objects</name>
|
|
<property>/sim/rendering/random-objects</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>random-objects</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Random vegetation</label>
|
|
<name>random-vegetation</name>
|
|
<property>/sim/rendering/random-vegetation</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>random-vegetation</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Vegetation density</label>
|
|
<enable>
|
|
<property>/sim/rendering/random-vegetation</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>vegetation-density</name>
|
|
<min>0</min>
|
|
<max>10.0</max>
|
|
<property>/sim/rendering/vegetation-density</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>vegetation-density</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<label>12345678</label>
|
|
<format>%.2f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/vegetation-density</property>
|
|
<enable>
|
|
<property>/sim/rendering/random-vegetation</property>
|
|
</enable>
|
|
</text>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Random buildings</label>
|
|
<name>random-buildings</name>
|
|
<property>/sim/rendering/random-buildings</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>random-buildings</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Building density</label>
|
|
<enable>
|
|
<property>/sim/rendering/random-buildings</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>building-density</name>
|
|
<min>0</min>
|
|
<max>5.0</max>
|
|
<property>/sim/rendering/building-density</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>building-density</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<label>12345678</label>
|
|
<format>%.2f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/building-density</property>
|
|
<enable>
|
|
<property>/sim/rendering/random-buildings</property>
|
|
</enable>
|
|
</text>
|
|
</group>
|
|
|
|
<button>
|
|
<legend>Reload Scenery</legend>
|
|
<binding>
|
|
<command>reinit</command>
|
|
<subsystem>tile-manager</subsystem>
|
|
</binding>
|
|
</button>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<stretch>1</stretch>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Atmospheric effects</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Particles (smoke, dust, spray)</label>
|
|
<name>particles</name>
|
|
<property>/sim/rendering/particles</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>particles</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Precipitation</label>
|
|
<name>precipitation</name>
|
|
<property>/sim/rendering/precipitation-gui-enable</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>precipitation</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<!--
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>2D clouds</label>
|
|
<property>/sim/rendering/bump-mapping</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
-->
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>3D clouds</label>
|
|
<name>3d-clouds</name>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>3d-clouds</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Cloud density</label>
|
|
<enable>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>cloud-density</name>
|
|
<min>0</min>
|
|
<max>1.0</max>
|
|
<property>/sim/rendering/clouds3d-density</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>cloud-density</object-name>
|
|
</binding>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</binding>
|
|
<binding>
|
|
<command>property-toggle</command>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<enable>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</enable>
|
|
<label>12345678</label>
|
|
<format>%.2f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/clouds3d-density</property>
|
|
</text>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Cloud visibility range</label>
|
|
<enable>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>cloud-vis-range</name>
|
|
<min>1000.0</min>
|
|
<max>45000.0</max>
|
|
<property>/sim/rendering/clouds3d-vis-range</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>cloud-vis-range</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<enable>
|
|
<property>/sim/rendering/clouds3d-enable</property>
|
|
</enable>
|
|
<label>12345678</label>
|
|
<format>%.fm</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/clouds3d-vis-range</property>
|
|
</text>
|
|
</group>
|
|
|
|
</group>
|
|
|
|
<vrule/>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Shader effects</label>
|
|
<halign>left</halign>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>table</layout>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<row>0</row>
|
|
<col>0</col>
|
|
<label>Custom settings (fine-tuning)</label>
|
|
<name>custom-settings</name>
|
|
<property>/sim/rendering/shaders/custom-settings</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>custom-settings</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<row>1</row>
|
|
<col>0</col>
|
|
<visible>
|
|
<not>
|
|
<property>/sim/rendering/shaders/custom-settings</property>
|
|
</not>
|
|
</visible>
|
|
|
|
<text>
|
|
<label>Performance</label>
|
|
</text>
|
|
<slider>
|
|
<name>quality-level</name>
|
|
<min>0.0</min>
|
|
<max>5.0</max>
|
|
<step>1.0</step>
|
|
<fraction>0.17</fraction>
|
|
<property>/sim/rendering/shaders/quality-level-internal</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>quality-level</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<label>Quality</label>
|
|
</text>
|
|
<text>
|
|
<label>12345678</label>
|
|
<format>(%1.0f)</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/shaders/quality-level-internal</property>
|
|
</text>
|
|
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<row>1</row>
|
|
<col>0</col>
|
|
<visible>
|
|
<property>/sim/rendering/shaders/custom-settings</property>
|
|
</visible>
|
|
|
|
<button>
|
|
<legend>Shader Options</legend>
|
|
<halign>left</halign>
|
|
<binding>
|
|
<command>dialog-show</command>
|
|
<dialog-name>shaders</dialog-name>
|
|
</binding>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
<dialog-name>rendering</dialog-name>
|
|
</binding>
|
|
<pref-width>200</pref-width>
|
|
</button>
|
|
|
|
</group>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
|
|
<text>
|
|
<label>Rembrandt</label>
|
|
<halign>left</halign>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
</hrule>
|
|
</group>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Bloom</label>
|
|
<name>bloom</name>
|
|
<property>/sim/rendering/rembrandt/bloom</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>bloom</object-name>
|
|
</binding>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Ambient occlusion</label>
|
|
<name>occlusion</name>
|
|
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>occlusion</object-name>
|
|
</binding>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
</checkbox>
|
|
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Shadows</label>
|
|
<name>shadow</name>
|
|
<property>/sim/rendering/shadows/enabled</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>shadow</object-name>
|
|
</binding>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
</checkbox>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<visible>
|
|
<property>/sim/rendering/rembrandt/enabled</property>
|
|
</visible>
|
|
|
|
<text>
|
|
<label>Map size</label>
|
|
<enable>
|
|
<property>/sim/rendering/shadows/enabled</property>
|
|
</enable>
|
|
</text>
|
|
<combo>
|
|
<halign>left</halign>
|
|
<name>shadow-map-size</name>
|
|
<property>/sim/rendering/shadows/map-size</property>
|
|
<value>1024</value>
|
|
<value>2048</value>
|
|
<value>4096</value>
|
|
<value>8192</value>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>shadow-map-size</object-name>
|
|
</binding>
|
|
</combo>
|
|
<empty>
|
|
<!-- align it nicely with the quality slider -->
|
|
<pref-width>105</pref-width>
|
|
</empty>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<text>
|
|
<label>Experimental effects</label>
|
|
<halign>left</halign>
|
|
<color>
|
|
<red>1.0</red>
|
|
<green>0.6</green>
|
|
<blue>0.6</blue>
|
|
</color>
|
|
</text>
|
|
<hrule>
|
|
<stretch>true</stretch>
|
|
</hrule>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>vbox</layout>
|
|
<checkbox>
|
|
<halign>left</halign>
|
|
<label>Skydome scattering</label>
|
|
<name>skydome-scattering</name>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>skydome-scattering</object-name>
|
|
</binding>
|
|
</checkbox>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Mie factor</label>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>mie-factor</name>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<min>0.0</min>
|
|
<max>0.01</max>
|
|
<step>0.001</step>
|
|
<property>/sim/rendering/mie</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>mie-factor</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<label>12345678</label>
|
|
<format>%.3f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/mie</property>
|
|
</text>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Rayleigh factor</label>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>rayleigh-factor</name>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<min>0.0</min>
|
|
<max>0.001</max>
|
|
<step>0.0001</step>
|
|
<property>/sim/rendering/rayleigh</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>rayleigh-factor</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<label>12345678</label>
|
|
<format>%.4f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/rayleigh</property>
|
|
</text>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<halign>right</halign>
|
|
<text>
|
|
<label>Density factor</label>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
</text>
|
|
<slider>
|
|
<name>density-factor</name>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<min>0.0</min>
|
|
<max>1.0</max>
|
|
<step>0.1</step>
|
|
<property>/sim/rendering/dome-density</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
<object-name>density-factor</object-name>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<enable>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</enable>
|
|
<label>12345678</label>
|
|
<format>%.1f</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/dome-density</property>
|
|
</text>
|
|
</group>
|
|
|
|
<empty>
|
|
<stretch>1</stretch>
|
|
</empty>
|
|
|
|
</group>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<default>true</default>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
<nasal>
|
|
<open>
|
|
gui.enable_widgets(cmdarg(), "shadows-debug", getprop("/sim/gui/devel-widgets"));
|
|
props.globals.getNode("/sim/rendering/shaders/quality-level", 1).setAttribute("userarchive", 0);
|
|
setprop("/sim/gui/frame-rate-throttled", (getprop("/sim/frame-rate-throttle-hz") > 0));
|
|
</open>
|
|
</nasal>
|
|
</PropertyList>
|