1
0
Fork 0

#643 rendering options dialog, "sky dome scattering" vs "shader quality"

"Shader quality" slider does not influence/enable/disable the "sky dome
scattering" effect, so the GUI checkboxes should also be independent.
This commit is contained in:
ThorstenB 2012-02-06 23:24:05 +01:00
parent bbfb599885
commit f8e4c2165d

View file

@ -456,9 +456,6 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
<enable>
<property>/sim/rendering/shaders/quality-level</property>
</enable>
<label>Experimental effects</label> <label>Experimental effects</label>
<halign>left</halign> <halign>left</halign>
<color> <color>
@ -476,9 +473,6 @@
<layout>vbox</layout> <layout>vbox</layout>
<checkbox> <checkbox>
<halign>left</halign> <halign>left</halign>
<enable>
<property>/sim/rendering/shaders/quality-level</property>
</enable>
<label>Skydome scattering</label> <label>Skydome scattering</label>
<name>skydome-scattering</name> <name>skydome-scattering</name>
<property>/sim/rendering/shaders/skydome</property> <property>/sim/rendering/shaders/skydome</property>
@ -495,19 +489,13 @@
<text> <text>
<label>Mie factor</label> <label>Mie factor</label>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
</text> </text>
<slider> <slider>
<name>mie-factor</name> <name>mie-factor</name>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<min>0.0</min> <min>0.0</min>
<max>0.01</max> <max>0.01</max>
@ -520,10 +508,7 @@
</slider> </slider>
<text> <text>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<label>12345678</label> <label>12345678</label>
<format>%.3f</format> <format>%.3f</format>
@ -538,19 +523,13 @@
<text> <text>
<label>Rayleigh factor</label> <label>Rayleigh factor</label>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
</text> </text>
<slider> <slider>
<name>rayleigh-factor</name> <name>rayleigh-factor</name>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<min>0.0</min> <min>0.0</min>
<max>0.001</max> <max>0.001</max>
@ -563,10 +542,7 @@
</slider> </slider>
<text> <text>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<label>12345678</label> <label>12345678</label>
<format>%.4f</format> <format>%.4f</format>
@ -581,19 +557,13 @@
<text> <text>
<label>Density factor</label> <label>Density factor</label>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
</text> </text>
<slider> <slider>
<name>density-factor</name> <name>density-factor</name>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<min>0.0</min> <min>0.0</min>
<max>1.0</max> <max>1.0</max>
@ -606,10 +576,7 @@
</slider> </slider>
<text> <text>
<enable> <enable>
<and> <property>/sim/rendering/shaders/skydome</property>
<property>/sim/rendering/shaders/quality-level</property>
<property>/sim/rendering/shaders/skydome</property>
</and>
</enable> </enable>
<label>12345678</label> <label>12345678</label>
<format>%.1f</format> <format>%.1f</format>