612 lines
35 KiB
XML
612 lines
35 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PreviewSettingsDialog</class>
|
|
<widget class="QDialog" name="PreviewSettingsDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>428</width>
|
|
<height>379</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Preview settings</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Realtime preview</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>QSizePolicy::Fixed</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">OpenGL</span> and <span style=" font-weight:600;">OpenGL (single pass)</span> use the graphics card to draw an approximate preview of the scene, which is usually preferable for performance reasons. The single pass variant makes heavy use on geometry shaders to further accelerate rendering, but for this to be actually faster, the card must be <span style=" font-style:italic;">very</span> recent (e.g. Fermi and above).</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The <span style=" font-weight:600;">Ray Tracing</span> strategies are preferable when the scene contains non-triangular shapes, which cannot easily be rendered by graphics hardware, such as quadrics. The <span style=" font-weight:600;">Coherent Ray Tracing</span> technique traces four rays at a time using SSE2.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Method :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>previewMethodCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="2" colspan="2">
|
|
<widget class="QComboBox" name="previewMethodCombo">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">OpenGL</span> and <span style=" font-weight:600;">OpenGL (single pass)</span> use the graphics card to draw an approximate preview of the scene, which is usually preferable for performance reasons. The single pass variant makes heavy use on geometry shaders to further accelerate rendering, but for this to be actually faster, the card must be <span style=" font-style:italic;">very</span> recent (e.g. Fermi and above).</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The <span style=" font-weight:600;">Ray Tracing</span> strategies are preferable when the scene contains non-triangular shapes, which cannot easily be rendered by graphics hardware, such as quadrics. The <span style=" font-weight:600;">Coherent Ray Tracing</span> technique traces four rays at a time using SSE2.</p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLabel" name="label">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Highest path length to visualize in the preview. A value of <span style=" font-weight:600;">2</span> corresponds to direct illumination, <span style=" font-weight:600;">3</span> is one-bounce global illumination, etc.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Path &length :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>pathLengthSlider</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QSlider" name="pathLengthSlider">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Highest path length to visualize in the preview. A value of <span style=" font-weight:600;">2</span> corresponds to direct illumination, <span style=" font-weight:600;">3</span> is one-bounce global illumination, etc.</p></body></html></string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="tracking">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3">
|
|
<widget class="QLineEdit" name="pathLengthEdit">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>2</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Clamping changes the influence radius of photons used to render the preview.<span style=" font-weight:600;"> </span>A too small value will cause bright blotches to appear in the preview, whereas a too large value will artificially darken the image.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A good approach is to set this slider as low as possible without seeing disturbing blotches in the image.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Clamping :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>clampingSlider</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="2" colspan="2">
|
|
<widget class="QSlider" name="clampingSlider">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Clamping changes the influence radius of photons used to render the preview.<span style=" font-weight:600;"> </span>A too small value will cause bright blotches to appear in the preview, whereas a too large value will artificially darken the image.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A good approach is to set this slider as low as possible without seeing disturbing blotches in the image.</p></body></html></string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QLabel" name="shadowResolutionLabel">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The two OpenGL preview techniques use shadow mapping to compute the light transport in a scene. This parameter allows choosing the resolution of the associated shadow maps, which is useful when the shadow quality is too low (for example when jagged edges are visible in the image). The higher this value, the slower the preview will converge. A value of <span style=" font-weight:600;">256</span> or <span style=" font-weight:600;">512</span> is usually a good start.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Shadow maps :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>shadowResolutionCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="2" colspan="2">
|
|
<widget class="QComboBox" name="shadowResolutionCombo">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">The two OpenGL preview techniques use shadow mapping to compute the light transport in a scene. This parameter allows choosing the resolution of the associated shadow maps, which is useful when the shadow quality is too low (for example when jagged edges are visible in the image). The higher this value, the slower the preview will converge. A value of <span style=" font-weight:600;">256</span> or <span style=" font-weight:600;">512</span> is usually a good start.</p></body></html></string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>64x64</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>128x128</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>256x256</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>512x512</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>1024x1024</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>2048x2048</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">When a scene contains many glossy surfaces, the real-time visualization can sometimes produce disturbing image artifacts (bright blotches).<span style=" font-weight:600;"> </span>These eventually disappear as the preview converges, but waiting for a long time may be undesirable. The following options are meant to reduce such issues:</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse sources</span>: treat glossy surfaces at the second bounce as if they were diffuse. This is usually perfectly fine for previewing purposes and is thus turned on by default.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse receivers</span>: treat directly visible surfaces as if they were diffuse. This is leads to a much more approximate result -- essentially, a clay version of the scene is being rendered.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Force diffuse :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>diffuseSourcesBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="2">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Tonemapping</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A tonemapping method is necessary to translate physical radiance values into pixel intensities. The technique chosen here is used <span style=" font-style:italic;">both</span> for the preview and rendered images.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Gamma correction</span> is the default and well-suited if the dynamic range of your scene is not too great.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">[Reinhard. et al 2002]</span> works well for scenes with a high dynamic range. Note that this technique continually adapts to the overall image brightness, which may produce unexpected behavior together with the realtime preview: when turning to face a dark region of the scene, the tonemapper will change the exposure to maintain the same overall brightness.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Method :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>toneMappingMethodCombo</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="2" colspan="2">
|
|
<widget class="QComboBox" name="toneMappingMethodCombo">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">A tonemapping method is necessary to translate physical radiance values into pixel intensities. The technique chosen here is used <span style=" font-style:italic;">both</span> for the preview and rendered images.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Gamma correction</span> is the default and well-suited if the dynamic range of your scene is not too great.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">[Reinhard. et al 2002]</span> works well for scenes with a high dynamic range. Note that this technique continually adapts to the overall image brightness, which may produce unexpected behavior together with the realtime preview: when turning to face a dark region of the scene, the tonemapper will change the exposure to maintain the same overall brightness.</p></body></html></string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Gamma correction</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Reinhard et al. 2002</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QLabel" name="keyLabel">
|
|
<property name="text">
|
|
<string>Key value : </string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="2" colspan="2">
|
|
<widget class="QSlider" name="keySlider">
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="1">
|
|
<widget class="QLabel" name="exposureLabel">
|
|
<property name="text">
|
|
<string>E&xposure : 2 ^</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>exposureSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="2" rowspan="2" colspan="2">
|
|
<layout class="QGridLayout" name="subGridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QDoubleSpinBox" name="exposureSpinBox">
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>-10.000000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>10.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.000000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QSlider" name="exposureSlider">
|
|
<property name="minimum">
|
|
<number>-1000</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="tickPosition">
|
|
<enum>QSlider::TicksAbove</enum>
|
|
</property>
|
|
<property name="tickInterval">
|
|
<number>100</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QDoubleSpinBox" name="gammaSpinBox">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Gamma of the viewing device (usually 2.2).<span style=" font-weight:600;"> </span>When sRGB is selected, this value is ignored.</p></body></html></string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>5.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>2.200000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="sRGBCheckBox">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Does the viewing device have an sRGB response curve?<span style=" font-weight:600;"> </span>For most monitors and LCD screens on the market, this is the case.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>sRGB</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="10" column="1">
|
|
<widget class="QLabel" name="gammaLabel">
|
|
<property name="text">
|
|
<string>&Gamma :</string>
|
|
</property>
|
|
<property name="buddy">
|
|
<cstring>gammaSpinBox</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="11" column="1">
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="12" column="0" colspan="4">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QPushButton" name="resetButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Reset</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>13</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="closeButton">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>30</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Close</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="flat">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="2" colspan="2">
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QCheckBox" name="diffuseSourcesBox">
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">When a scene contains many glossy surfaces, the real-time visualization can sometimes produce disturbing image artifacts (bright blotches).<span style=" font-weight:600;"> </span>These eventually disappear as the preview converges, but waiting for a long time may be undesirable. The following options are meant to reduce such issues:</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse sources</span>: treat glossy surfaces at the second bounce as if they were diffuse. This is usually perfectly fine for previewing purposes and is thus turned on by default.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse receivers</span>: treat directly visible surfaces as if they were diffuse. This is leads to a much more approximate result -- essentially, a clay version of the scene is being rendered.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Sources</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="diffuseReceiversBox">
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
p, li { white-space: pre-wrap; }
|
|
</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">When a scene contains many glossy surfaces, the real-time visualization can sometimes produce disturbing image artifacts (bright blotches).<span style=" font-weight:600;"> </span>These eventually disappear as the preview converges, but waiting for a long time may be undesirable. The following options are meant to reduce such issues:</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse sources</span>: treat glossy surfaces at the second bounce as if they were diffuse. This is usually perfectly fine for previewing purposes and is thus turned on by default.</p>
|
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
|
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Diffuse receivers</span>: treat directly visible surfaces as if they were diffuse. This is leads to a much more approximate result -- essentially, a clay version of the scene is being rendered.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Receivers</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>previewMethodCombo</tabstop>
|
|
<tabstop>pathLengthSlider</tabstop>
|
|
<tabstop>pathLengthEdit</tabstop>
|
|
<tabstop>clampingSlider</tabstop>
|
|
<tabstop>shadowResolutionCombo</tabstop>
|
|
<tabstop>diffuseSourcesBox</tabstop>
|
|
<tabstop>diffuseReceiversBox</tabstop>
|
|
<tabstop>toneMappingMethodCombo</tabstop>
|
|
<tabstop>keySlider</tabstop>
|
|
<tabstop>exposureSpinBox</tabstop>
|
|
<tabstop>exposureSlider</tabstop>
|
|
<tabstop>gammaSpinBox</tabstop>
|
|
<tabstop>sRGBCheckBox</tabstop>
|
|
<tabstop>resetButton</tabstop>
|
|
<tabstop>closeButton</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>closeButton</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>PreviewSettingsDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>417</x>
|
|
<y>368</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>167</x>
|
|
<y>306</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|