mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 02:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			463 lines
		
	
	
	
		
			16 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			463 lines
		
	
	
	
		
			16 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
<?xml version="1.0" encoding="UTF-8"?>
 | 
						|
<ui version="4.0">
 | 
						|
 <class>GraphicsPage</class>
 | 
						|
 <widget class="QWidget" name="GraphicsPage">
 | 
						|
  <property name="geometry">
 | 
						|
   <rect>
 | 
						|
    <x>0</x>
 | 
						|
    <y>0</y>
 | 
						|
    <width>650</width>
 | 
						|
    <height>340</height>
 | 
						|
   </rect>
 | 
						|
  </property>
 | 
						|
  <layout class="QVBoxLayout" name="verticalLayout">
 | 
						|
   <item alignment="Qt::AlignTop">
 | 
						|
    <widget class="QTabWidget" name="DisplayTabWidget">
 | 
						|
     <property name="currentIndex">
 | 
						|
      <number>0</number>
 | 
						|
     </property>
 | 
						|
     <widget class="QWidget" name="DisplayWrapper">
 | 
						|
      <attribute name="title">
 | 
						|
       <string>Display</string>
 | 
						|
      </attribute>
 | 
						|
      <layout class="QHBoxLayout" name="horizontalLayout_2">
 | 
						|
       <item>
 | 
						|
        <widget class="QWidget" name="DisplayWidget">
 | 
						|
         <layout class="QGridLayout" name="gridLayout_4" columnstretch="1,0">
 | 
						|
          <item row="3" column="0">
 | 
						|
           <widget class="QLabel" name="antiAliasingLabel">
 | 
						|
            <property name="text">
 | 
						|
             <string>Anti-aliasing:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="6" column="0">
 | 
						|
           <widget class="QCheckBox" name="framerateLimitCheckBox">
 | 
						|
            <property name="text">
 | 
						|
             <string>Framerate Limit:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="5" column="1">
 | 
						|
           <layout class="QGridLayout" name="resolutionLayout">
 | 
						|
            <item row="1" column="2">
 | 
						|
             <layout class="QHBoxLayout" name="customResolutionLayout" stretch="1,0,1">
 | 
						|
              <item>
 | 
						|
               <widget class="QSpinBox" name="customWidthSpinBox">
 | 
						|
                <property name="minimum">
 | 
						|
                 <number>800</number>
 | 
						|
                </property>
 | 
						|
               </widget>
 | 
						|
              </item>
 | 
						|
              <item>
 | 
						|
               <widget class="QLabel" name="multiplyLabel">
 | 
						|
                <property name="text">
 | 
						|
                 <string> x </string>
 | 
						|
                </property>
 | 
						|
               </widget>
 | 
						|
              </item>
 | 
						|
              <item>
 | 
						|
               <widget class="QSpinBox" name="customHeightSpinBox">
 | 
						|
                <property name="minimum">
 | 
						|
                 <number>600</number>
 | 
						|
                </property>
 | 
						|
               </widget>
 | 
						|
              </item>
 | 
						|
             </layout>
 | 
						|
            </item>
 | 
						|
            <item row="1" column="1">
 | 
						|
             <widget class="QRadioButton" name="customRadioButton">
 | 
						|
              <property name="text">
 | 
						|
               <string>Custom:</string>
 | 
						|
              </property>
 | 
						|
             </widget>
 | 
						|
            </item>
 | 
						|
            <item row="0" column="1">
 | 
						|
             <widget class="QRadioButton" name="standardRadioButton">
 | 
						|
              <property name="text">
 | 
						|
               <string>Standard:</string>
 | 
						|
              </property>
 | 
						|
              <property name="checkable">
 | 
						|
               <bool>true</bool>
 | 
						|
              </property>
 | 
						|
             </widget>
 | 
						|
            </item>
 | 
						|
            <item row="0" column="2">
 | 
						|
             <widget class="QComboBox" name="resolutionComboBox"/>
 | 
						|
            </item>
 | 
						|
           </layout>
 | 
						|
          </item>
 | 
						|
          <item row="6" column="1">
 | 
						|
           <widget class="QDoubleSpinBox" name="framerateLimitSpinBox">
 | 
						|
            <property name="enabled">
 | 
						|
             <bool>false</bool>
 | 
						|
            </property>
 | 
						|
            <property name="suffix">
 | 
						|
             <string> FPS</string>
 | 
						|
            </property>
 | 
						|
            <property name="decimals">
 | 
						|
             <number>1</number>
 | 
						|
            </property>
 | 
						|
            <property name="minimum">
 | 
						|
             <double>1</double>
 | 
						|
            </property>
 | 
						|
            <property name="maximum">
 | 
						|
             <double>1000</double>
 | 
						|
            </property>
 | 
						|
            <property name="singleStep">
 | 
						|
             <double>15</double>
 | 
						|
            </property>
 | 
						|
            <property name="value">
 | 
						|
             <double>300</double>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="1" column="0">
 | 
						|
           <widget class="QCheckBox" name="windowBorderCheckBox">
 | 
						|
            <property name="text">
 | 
						|
             <string>Window Border</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="2" column="1">
 | 
						|
            <widget class="QComboBox" name="windowModeComboBox">
 | 
						|
            <property name="currentIndex">
 | 
						|
                <number>0</number>
 | 
						|
            </property>
 | 
						|
            <item>
 | 
						|
                <property name="text">
 | 
						|
                <string>Fullscreen</string>
 | 
						|
                </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
                <property name="text">
 | 
						|
                <string>Windowed Fullscreen</string>
 | 
						|
                </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
                <property name="text">
 | 
						|
                <string>Windowed</string>
 | 
						|
                </property>
 | 
						|
            </item>
 | 
						|
            </widget>
 | 
						|
          </item>
 | 
						|
          <item row="2" column="0">
 | 
						|
           <widget class="QLabel" name="windowModeLabel">
 | 
						|
            <property name="text">
 | 
						|
             <string>Window Mode:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="5" column="0">
 | 
						|
           <widget class="QLabel" name="resolutionLabel">
 | 
						|
            <property name="text">
 | 
						|
             <string>Resolution:</string>
 | 
						|
            </property>
 | 
						|
            <property name="alignment">
 | 
						|
             <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="4" column="1">
 | 
						|
           <widget class="QComboBox" name="screenComboBox"/>
 | 
						|
          </item>
 | 
						|
          <item row="4" column="0">
 | 
						|
           <widget class="QLabel" name="screenLabel">
 | 
						|
            <property name="text">
 | 
						|
             <string>Screen:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="3" column="1">
 | 
						|
           <widget class="QComboBox" name="antiAliasingComboBox">
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>0</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>2</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>4</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>8</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>16</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="0" column="0">
 | 
						|
           <widget class="QCheckBox" name="vSyncCheckBox">
 | 
						|
            <property name="text">
 | 
						|
             <string>Vertical Sync</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
         </layout>
 | 
						|
        </widget>
 | 
						|
       </item>
 | 
						|
      </layout>
 | 
						|
     </widget>
 | 
						|
     <widget class="QWidget" name="LightingWrapper">
 | 
						|
      <attribute name="title">
 | 
						|
       <string>Lighting</string>
 | 
						|
      </attribute>
 | 
						|
      <layout class="QVBoxLayout" name="lightingLayout">
 | 
						|
       <item>
 | 
						|
        <layout class="QHBoxLayout" name="lightingMethodLayout">
 | 
						|
         <item>
 | 
						|
          <widget class="QLabel" name="lightingMethodLabel">
 | 
						|
           <property name="text">
 | 
						|
            <string>Lighting Method:</string>
 | 
						|
           </property>
 | 
						|
          </widget>
 | 
						|
         </item>
 | 
						|
         <item>
 | 
						|
          <widget class="QComboBox" name="lightingMethodComboBox">
 | 
						|
           <item>
 | 
						|
            <property name="text">
 | 
						|
             <string>legacy</string>
 | 
						|
            </property>
 | 
						|
           </item>
 | 
						|
           <item>
 | 
						|
            <property name="text">
 | 
						|
             <string>shaders compatibility</string>
 | 
						|
            </property>
 | 
						|
           </item>
 | 
						|
           <item>
 | 
						|
            <property name="text">
 | 
						|
             <string>shaders</string>
 | 
						|
            </property>
 | 
						|
           </item>
 | 
						|
          </widget>
 | 
						|
         </item>
 | 
						|
        </layout>
 | 
						|
       </item>
 | 
						|
       <item>
 | 
						|
        <spacer name="verticalSpacer">
 | 
						|
         <property name="orientation">
 | 
						|
          <enum>Qt::Vertical</enum>
 | 
						|
         </property>
 | 
						|
         <property name="sizeHint" stdset="0">
 | 
						|
          <size>
 | 
						|
           <width>20</width>
 | 
						|
           <height>40</height>
 | 
						|
          </size>
 | 
						|
         </property>
 | 
						|
        </spacer>
 | 
						|
       </item>
 | 
						|
      </layout>
 | 
						|
     </widget>
 | 
						|
     <widget class="QWidget" name="ShadowWrapper">
 | 
						|
      <attribute name="title">
 | 
						|
       <string>Shadows</string>
 | 
						|
      </attribute>
 | 
						|
      <layout class="QHBoxLayout" name="horizontalLayout">
 | 
						|
       <item>
 | 
						|
        <widget class="QWidget" name="ShadowWidget">
 | 
						|
         <property name="sizePolicy">
 | 
						|
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 | 
						|
           <horstretch>1</horstretch>
 | 
						|
           <verstretch>1</verstretch>
 | 
						|
          </sizepolicy>
 | 
						|
         </property>
 | 
						|
         <layout class="QGridLayout" name="shadowsLayout" columnstretch="0,0">
 | 
						|
 | 
						|
          <item row="0" column="0">
 | 
						|
           <widget class="QCheckBox" name="playerShadowsCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Enable shadows exclusively for the player character. May have a very minor performance impact.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Enable Player Shadows</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="1" column="0">
 | 
						|
           <widget class="QCheckBox" name="actorShadowsCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Enable shadows for NPCs and creatures besides the player character. May have a minor performance impact.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Enable Actor Shadows</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="2" column="0">
 | 
						|
           <widget class="QCheckBox" name="objectShadowsCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Enable shadows for primarily inanimate objects. May have a significant performance impact.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Enable Object Shadows</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="3" column="0">
 | 
						|
           <widget class="QCheckBox" name="terrainShadowsCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Enable shadows for the terrain including distant terrain. May have a significant performance and shadow quality impact.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Enable Terrain Shadows</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="4" column="0">
 | 
						|
           <widget class="QCheckBox" name="indoorShadowsCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Due to limitations with Morrowind's data, only actors can cast shadows indoors, which some might feel is distracting.</p><p>Has no effect if actor/player shadows are not enabled.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Enable Indoor Shadows</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="5" column="0">
 | 
						|
           <widget class="QLabel" name="shadowComputeSceneBoundsLabel">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>Type of "compute scene bounds" computation method to be used. Bounds (default) for good balance between performance and shadow quality, primitives for better looking shadows or none for no computation.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Shadow Near Far Computation Method:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="5" column="1">compute scene bounds
 | 
						|
           <widget class="QComboBox" name="shadowComputeSceneBoundsComboBox">
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>bounds</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>primitives</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>none</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="6" column="0">
 | 
						|
           <widget class="QLabel" name="shadowResolutionLabel">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>The resolution of each individual shadow map. Increasing it significantly improves shadow quality but may have a minor performance impact.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Shadow Map Resolution:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="6" column="1">
 | 
						|
           <widget class="QComboBox" name="shadowResolutionComboBox">
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>512</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>1024</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>2048</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
            <item>
 | 
						|
             <property name="text">
 | 
						|
              <string>4096</string>
 | 
						|
             </property>
 | 
						|
            </item>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="7" column="0">
 | 
						|
           <widget class="QCheckBox" name="shadowDistanceCheckBox">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>The distance from the camera at which shadows completely disappear.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Shadow Distance Limit:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="7" column="1">
 | 
						|
           <widget class="QSpinBox" name="shadowDistanceSpinBox">
 | 
						|
            <property name="enabled">
 | 
						|
             <bool>false</bool>
 | 
						|
            </property>
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>64 game units is 1 real life yard or about 0.9 m</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="suffix">
 | 
						|
             <string> unit(s)</string>
 | 
						|
            </property>
 | 
						|
            <property name="minimum">
 | 
						|
             <number>512</number>
 | 
						|
            </property>
 | 
						|
            <property name="maximum">
 | 
						|
             <number>81920</number>
 | 
						|
            </property>
 | 
						|
            <property name="value">
 | 
						|
             <number>8192</number>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="8" column="0">
 | 
						|
           <widget class="QLabel" name="fadeStartLabel">
 | 
						|
            <property name="toolTip">
 | 
						|
             <string><html><head/><body><p>The fraction of the limit above at which shadows begin to gradually fade away.</p></body></html></string>
 | 
						|
            </property>
 | 
						|
            <property name="text">
 | 
						|
             <string>Fade Start Multiplier:</string>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
          <item row="8" column="1">
 | 
						|
           <widget class="QDoubleSpinBox" name="fadeStartSpinBox">
 | 
						|
            <property name="enabled">
 | 
						|
             <bool>false</bool>
 | 
						|
            </property>
 | 
						|
            <property name="decimals">
 | 
						|
             <number>2</number>
 | 
						|
            </property>
 | 
						|
            <property name="minimum">
 | 
						|
             <double>0</double>
 | 
						|
            </property>
 | 
						|
            <property name="maximum">
 | 
						|
             <double>1</double>
 | 
						|
            </property>
 | 
						|
            <property name="value">
 | 
						|
             <double>0.90</double>
 | 
						|
            </property>
 | 
						|
           </widget>
 | 
						|
          </item>
 | 
						|
 | 
						|
         </layout>
 | 
						|
        </widget>
 | 
						|
       </item>
 | 
						|
      </layout>
 | 
						|
     </widget>
 | 
						|
    </widget>
 | 
						|
   </item>
 | 
						|
  </layout>
 | 
						|
 </widget>
 | 
						|
 <resources/>
 | 
						|
 <connections/>
 | 
						|
</ui>
 |