1
0
Fork 0

Special Rembrandt dialog with all available options. Cleanup rendering dialog to make place for Rembrandt button.

This commit is contained in:
Gijs de Rooy 2012-06-16 23:27:58 +02:00
parent ae1e670010
commit d164d9b2a7
2 changed files with 628 additions and 334 deletions

354
gui/dialogs/rembrandt.xml Normal file
View file

@ -0,0 +1,354 @@
<?xml version="1.0"?>
<PropertyList>
<name>rembrandt</name>
<modal>false</modal>
<layout>vbox</layout>
<padding>20</padding>
<group>
<layout>hbox</layout>
<empty>
<stretch>1</stretch>
</empty>
<text>
<label>Rembrandt</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/>
<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>
<and>
<property>/sim/rendering/rembrandt/enabled</property>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</and>
</visible>
</checkbox>
<group>
<layout>hbox</layout>
<halign>left</halign>
<checkbox>
<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>
</checkbox>
<empty>
<pref-width>-4</pref-width>
</empty>
<text>
<label>Strength</label>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
</text>
<slider>
<name>ambient-occlusion-strength</name>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
<min>0.0</min>
<max>1.0</max>
<step>0.01</step>
<property>/sim/rendering/rembrandt/ambient-occlusion-strength</property>
<binding>
<command>dialog-apply</command>
<object-name>ambient-occlusion-strength</object-name>
</binding>
</slider>
<text>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/rembrandt/ambient-occlusion-strength</property>
</text>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<halign>left</halign>
<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>
</checkbox>
<empty>
<pref-width>45</pref-width>
</empty>
<text>
<label>Map size</label>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
</text>
<combo>
<name>shadow-map-size</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<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>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text>
<label>Filtering</label>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
</text>
<slider>
<name>filtering</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<min>0.0</min>
<max>5.0</max>
<step>1.0</step>
<fraction>0.167</fraction>
<property>/sim/rendering/shadows/filtering</property>
<binding>
<command>dialog-apply</command>
<object-name>filtering</object-name>
</binding>
</slider>
<text>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<label>12345678</label>
<format>%.0f</format>
<live>true</live>
<property>/sim/rendering/shadows/filtering</property>
</text>
<empty>
<pref-width>67</pref-width>
</empty>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text>
<label>Number of cascades</label>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
</text>
<!--<combo>
<name>num-cascades</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<property>/sim/rendering/shadows/num-cascades</property>
<value>1</value>
<value>2</value>
<value>3</value>
<value>4</value>
<binding>
<command>dialog-apply</command>
<object-name>num-cascades</object-name>
</binding>
</combo>-->
<slider>
<row>1</row>
<col>2</col>
<name>filtering</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<min>1.0</min>
<max>4.0</max>
<step>1.0</step>
<fraction>0.25</fraction>
<property>/sim/rendering/shadows/num-cascades</property>
<binding>
<command>dialog-apply</command>
<object-name>filtering</object-name>
</binding>
</slider>
<text>
<row>1</row>
<col>3</col>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<label>12345678</label>
<format>%.0f</format>
<live>true</live>
<property>/sim/rendering/shadows/num-cascades</property>
</text>
<empty>
<pref-width>67</pref-width>
</empty>
</group>
<group>
<layout>hbox</layout>
<halign>right</halign>
<empty>
<pref-width>130</pref-width>
</empty>
<text>
<label>Cascades</label>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
</text>
<input>
<name>shadow-cascade-1</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<pref-width>50</pref-width>
<property>/sim/rendering/shadows/cascade-far-m</property>
<binding>
<command>dialog-apply</command>
<object-name>shadow-cascade-1</object-name>
</binding>
</input>
<input>
<name>shadow-cascade-2</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<visible>
<greater-than>
<property>/sim/rendering/shadows/num-cascades</property>
<value>1</value>
</greater-than>
</visible>
<pref-width>50</pref-width>
<property>/sim/rendering/shadows/cascade-far-m[1]</property>
<binding>
<command>dialog-apply</command>
<object-name>shadow-cascade-2</object-name>
</binding>
</input>
<input>
<name>shadow-cascade-3</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<visible>
<greater-than>
<property>/sim/rendering/shadows/num-cascades</property>
<value>2</value>
</greater-than>
</visible>
<pref-width>50</pref-width>
<property>/sim/rendering/shadows/cascade-far-m[2]</property>
<binding>
<command>dialog-apply</command>
<object-name>shadow-cascade-3</object-name>
</binding>
</input>
<input>
<name>shadow-cascade-4</name>
<enable>
<property>/sim/rendering/shadows/enabled</property>
</enable>
<visible>
<greater-than>
<property>/sim/rendering/shadows/num-cascades</property>
<value>3</value>
</greater-than>
</visible>
<pref-width>50</pref-width>
<property>/sim/rendering/shadows/cascade-far-m[3]</property>
<binding>
<command>dialog-apply</command>
<object-name>shadow-cascade-4</object-name>
</binding>
</input>
</group>
<hrule/>
<group>
<layout>hbox</layout>
<button>
<legend>Back</legend>
<binding>
<command>dialog-show</command>
<dialog-name>rendering</dialog-name>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<legend>Apply</legend>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<button>
<legend>Close</legend>
<default>true</default>
<key>Esc</key>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</PropertyList>

View file

@ -122,61 +122,62 @@
</binding> </binding>
</checkbox> </checkbox>
--> -->
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<row>1</row> <halign>left</halign>
<col>0</col>
<checkbox>
<checkbox> <label>Throttle frame rate</label>
<halign>left</halign> <name>frame-rate-throttle</name>
<label>Throttle frame rate</label> <property>/sim/gui/frame-rate-throttled</property>
<name>frame-rate-throttle</name> <binding>
<property>/sim/gui/frame-rate-throttled</property> <command>dialog-apply</command>
<binding> <object-name>frame-rate-throttle</object-name>
<command>dialog-apply</command> </binding>
<object-name>frame-rate-throttle</object-name> <binding>
</binding> <command>nasal</command>
<binding> <script>
<command>nasal</command> var throttled = getprop("/sim/gui/frame-rate-throttled");
<script> if (throttled)
var throttled = getprop("/sim/gui/frame-rate-throttled"); setprop("/sim/frame-rate-throttle-hz", 50);
if (throttled) else
setprop("/sim/frame-rate-throttle-hz", 50); setprop("/sim/frame-rate-throttle-hz", 0);
else </script>
setprop("/sim/frame-rate-throttle-hz", 0); </binding>
</script> </checkbox>
</binding> <empty>
</checkbox> <pref-width>46</pref-width>
</empty>
<group> <slider>
<layout>hbox</layout> <name>frame-rate</name>
<visible> <visible>
<greater-than> <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> <property>/sim/frame-rate-throttle-hz</property>
<binding> <value>0</value>
<command>dialog-apply</command> </greater-than>
<object-name>frame-rate</object-name> </visible>
</binding> <min>15.0</min>
</slider> <max>70.0</max>
<text> <step>1.0</step>
<halign>left</halign> <property>/sim/frame-rate-throttle-hz</property>
<label>99 Hz</label> <binding>
<format>%2.0f Hz</format> <command>dialog-apply</command>
<live>true</live> <object-name>frame-rate</object-name>
</binding>
</slider>
<text>
<visible>
<greater-than>
<property>/sim/frame-rate-throttle-hz</property> <property>/sim/frame-rate-throttle-hz</property>
</text> <value>0</value>
</group> </greater-than>
</group> </visible>
<label>99 Hz</label>
<format>%2.0f Hz</format>
<live>true</live>
<property>/sim/frame-rate-throttle-hz</property>
</text>
</group>
<!-- <!--
@ -224,30 +225,36 @@
</binding> </binding>
</checkbox> </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> <group>
<layout>hbox</layout> <layout>table</layout>
<halign>right</halign>
<checkbox>
<row>0</row>
<col>0</col>
<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>
<text> <text>
<label>Vegetation density</label> <row>0</row>
<col>1</col>
<label>density</label>
<enable> <enable>
<property>/sim/rendering/random-vegetation</property> <property>/sim/rendering/random-vegetation</property>
</enable> </enable>
</text> </text>
<slider> <slider>
<row>0</row>
<col>2</col>
<name>vegetation-density</name> <name>vegetation-density</name>
<min>0</min> <min>0</min>
<max>10.0</max> <max>10.0</max>
<step>0.1</step>
<property>/sim/rendering/vegetation-density</property> <property>/sim/rendering/vegetation-density</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -255,40 +262,44 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>0</row>
<col>3</col>
<label>12345678</label> <label>12345678</label>
<format>%.2f</format> <format>%.1f</format>
<live>true</live> <live>true</live>
<property>/sim/rendering/vegetation-density</property> <property>/sim/rendering/vegetation-density</property>
<enable> <enable>
<property>/sim/rendering/random-vegetation</property> <property>/sim/rendering/random-vegetation</property>
</enable> </enable>
</text> </text>
</group>
<checkbox>
<checkbox> <row>1</row>
<halign>left</halign> <col>0</col>
<label>Random buildings</label> <halign>left</halign>
<name>random-buildings</name> <label>Random buildings</label>
<property>/sim/rendering/random-buildings</property> <name>random-buildings</name>
<binding> <property>/sim/rendering/random-buildings</property>
<command>dialog-apply</command> <binding>
<object-name>random-buildings</object-name> <command>dialog-apply</command>
</binding> <object-name>random-buildings</object-name>
</checkbox> </binding>
</checkbox>
<group>
<layout>hbox</layout>
<halign>right</halign>
<text> <text>
<label>Building density</label> <row>1</row>
<col>1</col>
<label>density</label>
<enable> <enable>
<property>/sim/rendering/random-buildings</property> <property>/sim/rendering/random-buildings</property>
</enable> </enable>
</text> </text>
<slider> <slider>
<row>1</row>
<col>2</col>
<name>building-density</name> <name>building-density</name>
<min>0</min> <min>0</min>
<max>5.0</max> <max>5.0</max>
<step>0.05</step>
<property>/sim/rendering/building-density</property> <property>/sim/rendering/building-density</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
@ -296,6 +307,8 @@
</binding> </binding>
</slider> </slider>
<text> <text>
<row>1</row>
<col>3</col>
<label>12345678</label> <label>12345678</label>
<format>%.2f</format> <format>%.2f</format>
<live>true</live> <live>true</live>
@ -313,12 +326,155 @@
<subsystem>tile-manager</subsystem> <subsystem>tile-manager</subsystem>
</binding> </binding>
</button> </button>
<group>
<layout>hbox</layout>
<text>
<label>Rembrandt</label>
<halign>left</halign>
<visible>
<property>/sim/rendering/rembrandt/enabled</property>
</visible>
</text>
<text>
<label>(Experimental)</label>
<halign>left</halign>
<color>
<red>1.0</red>
<green>0.6</green>
<blue>0.6</blue>
</color>
<visible>
<property>/sim/rendering/rembrandt/enabled</property>
</visible>
</text>
<hrule>
<stretch>true</stretch>
<visible>
<property>/sim/rendering/rembrandt/enabled</property>
</visible>
</hrule>
</group>
<button>
<visible>
<property>/sim/rendering/rembrandt/enabled</property>
</visible>
<legend>Rembrandt Options</legend>
<halign>center</halign>
<binding>
<command>dialog-show</command>
<dialog-name>rembrandt</dialog-name>
</binding>
<binding>
<command>dialog-close</command>
<dialog-name>rendering</dialog-name>
</binding>
<pref-width>200</pref-width>
</button>
<group> <group>
<layout>vbox</layout> <layout>vbox</layout>
<stretch>1</stretch> <stretch>1</stretch>
</group> </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> <group>
<layout>hbox</layout> <layout>hbox</layout>
<text> <text>
@ -443,274 +599,48 @@
<property>/sim/rendering/clouds3d-vis-range</property> <property>/sim/rendering/clouds3d-vis-range</property>
</text> </text>
</group> </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> <group>
<layout>hbox</layout> <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> <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>
<and>
<property>/sim/rendering/rembrandt/enabled</property>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</and>
</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>
<and>
<property>/sim/rendering/rembrandt/enabled</property>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</and>
</visible>
</checkbox>
<group>
<layout>hbox</layout>
<halign>right</halign>
<visible>
<and>
<property>/sim/rendering/rembrandt/enabled</property>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</and>
</visible>
<text>
<label>Ambient occlusion strength</label>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
</text>
<slider>
<name>ambient-occlusion-strength</name>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
<min>0.0</min>
<max>1.0</max>
<step>0.01</step>
<property>/sim/rendering/rembrandt/ambient-occlusion-strength</property>
<binding>
<command>dialog-apply</command>
<object-name>ambient-occlusion-strength</object-name>
</binding>
</slider>
<text>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
</enable>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/rembrandt/ambient-occlusion-strength</property>
</text>
</group>
<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> <checkbox>
<halign>left</halign> <halign>left</halign>
<label>Atmospheric light scattering</label> <label>Atmospheric light scattering</label>
<name>skydome-scattering</name> <name>skydome-scattering</name>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<property>/sim/rendering/shaders/skydome</property> <property>/sim/rendering/shaders/skydome</property>
<binding> <binding>
<command>dialog-apply</command> <command>dialog-apply</command>
<object-name>skydome-scattering</object-name> <object-name>skydome-scattering</object-name>
</binding> </binding>
</checkbox> </checkbox>
<text>
<label>(Experimental)</label>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<color>
<red>1.0</red>
<green>0.6</green>
<blue>0.6</blue>
</color>
</text>
</group> </group>
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>right</halign> <halign>right</halign>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<text> <text>
<label>Mie factor</label> <label>Mie factor</label>
<enable> <enable>
@ -745,6 +675,11 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>right</halign> <halign>right</halign>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<text> <text>
<label>Rayleigh factor</label> <label>Rayleigh factor</label>
<enable> <enable>
@ -779,6 +714,11 @@
<group> <group>
<layout>hbox</layout> <layout>hbox</layout>
<halign>right</halign> <halign>right</halign>
<visible>
<not>
<property>/sim/rendering/rembrandt/enabled</property>
</not>
</visible>
<text> <text>
<label>Density factor</label> <label>Density factor</label>
<enable> <enable>