bddac3cb78
- Add unit of OSG display settings (unit is meters according to OSG docs). - "frame spacing" is more comprehensible
119 lines
2.8 KiB
XML
119 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<name>stereoscopic-view-options</name>
|
|
<modal>false</modal>
|
|
<resizable>false</resizable>
|
|
<layout>vbox</layout>
|
|
<default-padding>3</default-padding>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<default-padding>1</default-padding>
|
|
|
|
<empty>
|
|
<stretch>true</stretch>
|
|
</empty>
|
|
|
|
<text>
|
|
<label>Stereoscopic View Options</label>
|
|
</text>
|
|
|
|
<empty>
|
|
<stretch>true</stretch>
|
|
</empty>
|
|
|
|
<button>
|
|
<legend></legend>
|
|
<key>Esc</key>
|
|
<pref-width>16</pref-width>
|
|
<pref-height>16</pref-height>
|
|
<border>2</border>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
</group>
|
|
<hrule/>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<default-padding>1</default-padding>
|
|
<text><label>Stereo Mode</label></text>
|
|
<empty><stretch>true</stretch></empty>
|
|
<combo>
|
|
<pref-width>250</pref-width>
|
|
<live>true</live>
|
|
<property>/sim/rendering/osg-displaysettings/stereo-mode</property>
|
|
<value>OFF</value>
|
|
<value>QUAD_BUFFER</value>
|
|
<value>ANAGLYPHIC</value>
|
|
<value>HORIZONTAL_SPLIT</value>
|
|
<value>VERTICAL_SPLIT</value>
|
|
<value>LEFT_EYE</value>
|
|
<value>RIGHT_EYE</value>
|
|
<value>HORIZONTAL_INTERLACE</value>
|
|
<value>VERTICAL_INTERLACE</value>
|
|
<value>CHECKERBOARD</value>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</combo>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<default-padding>1</default-padding>
|
|
<text><label>Screen Distance</label></text>
|
|
<empty><stretch>true</stretch></empty>
|
|
<slider>
|
|
<min>0</min>
|
|
<max>10.0</max>
|
|
<property>/sim/rendering/osg-displaysettings/screen-distance</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<label>12345678</label>
|
|
<format>%.2f m</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/osg-displaysettings/screen-distance</property>
|
|
</text>
|
|
</group>
|
|
|
|
<group>
|
|
<layout>hbox</layout>
|
|
<default-padding>1</default-padding>
|
|
<text><label>Eye Separation</label></text>
|
|
<empty><stretch>true</stretch></empty>
|
|
<slider>
|
|
<min>0</min>
|
|
<max>0.2</max>
|
|
<property>/sim/rendering/osg-displaysettings/eye-separation</property>
|
|
<binding>
|
|
<command>dialog-apply</command>
|
|
</binding>
|
|
</slider>
|
|
<text>
|
|
<label>12345678</label>
|
|
<format>%.2f m</format>
|
|
<live>true</live>
|
|
<property>/sim/rendering/osg-displaysettings/eye-separation</property>
|
|
</text>
|
|
</group>
|
|
|
|
<hrule/>
|
|
|
|
<button>
|
|
<legend>Close</legend>
|
|
<default>true</default>
|
|
<key>Esc</key>
|
|
<binding>
|
|
<command>dialog-close</command>
|
|
</binding>
|
|
</button>
|
|
|
|
|
|
</PropertyList>
|