1
0
Fork 0
fgdata/gui/dialogs/rembrandt.xml
2012-06-26 09:12:23 +02:00

409 lines
9.1 KiB
XML

<?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/>
<group>
<layout>hbox</layout>
<halign>left</halign>
<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>
<enable>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</enable>
</checkbox>
<empty>
<pref-width>66</pref-width>
</empty>
<text>
<label>Strength</label>
<enable>
<and>
<property>/sim/rendering/rembrandt/bloom</property>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</and>
</enable>
</text>
<slider>
<name>bloom-strength</name>
<min>0.0</min>
<max>1.0</max>
<step>0.01</step>
<property>/sim/rendering/rembrandt/bloom-strength</property>
<binding>
<command>dialog-apply</command>
<object-name>bloom-strength</object-name>
</binding>
<enable>
<and>
<property>/sim/rendering/rembrandt/bloom</property>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</and>
</enable>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/rembrandt/bloom-strength</property>
<enable>
<and>
<property>/sim/rendering/rembrandt/bloom</property>
<property>/sim/rendering/rembrandt/bloom-buffers</property>
</and>
</enable>
</text>
</group>
<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>
<enable>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</enable>
</checkbox>
<empty>
<pref-width>-4</pref-width>
</empty>
<text>
<label>Strength</label>
<enable>
<and>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</and>
</enable>
</text>
<slider>
<name>ambient-occlusion-strength</name>
<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>
<enable>
<and>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</and>
</enable>
</slider>
<text>
<label>12345678</label>
<format>%.2f</format>
<live>true</live>
<property>/sim/rendering/rembrandt/ambient-occlusion-strength</property>
<enable>
<and>
<property>/sim/rendering/rembrandt/ambient-occlusion</property>
<property>/sim/rendering/rembrandt/ambient-occlusion-buffers</property>
</and>
</enable>
</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>1.0</min>
<max>3.0</max>
<step>1.0</step>
<fraction>0.333</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>