git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
217 lines
11 KiB
XML
217 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PartGui::DlgSettings3DViewPart</class>
|
|
<widget class="QWidget" name="PartGui::DlgSettings3DViewPart">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>610</width>
|
|
<height>339</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Shape view</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<property name="margin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="1" column="0">
|
|
<spacer>
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>61</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<widget class="QGroupBox" name="GroupBox12">
|
|
<property name="title">
|
|
<string>Tessellation</string>
|
|
</property>
|
|
<layout class="QGridLayout">
|
|
<property name="margin">
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0">
|
|
<layout class="QGridLayout">
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<item row="4" column="0" colspan="3">
|
|
<widget class="Gui::PrefCheckBox" name="prefCheckBox8">
|
|
<property name="toolTip">
|
|
<string>Defines the appearance of surfaces</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><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;">Flat shading/Phong shading</span></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;">With flat shading the surface normals are not defined per vertex that leads to a unreal appearance for curved surfaces while using Phong shading leads to a smoother appearance. </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;">If this option is unset Phong shading is used, if it is set flat shading is used.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do not define normal per vertex</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>NoPerVertexNormals</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Part</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0" rowspan="2" colspan="2">
|
|
<widget class="QLabel" name="textLabel1">
|
|
<property name="toolTip">
|
|
<string>Defines the deviation of tessellation to the actual surface</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><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;">Tessellation</span></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; font-weight:600;"></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-weight:600;"><span style=" font-weight:400;">Defines the maximum deviation of the tessellated mesh to the surface. The smaller the value is the slower the render speed and the nicer the appearance are.</span></p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Maximum deviation depending on the model bounding box</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0" colspan="4">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;"><span style=" font-weight:600;">Hint</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">Defining the normals per vertex is also called <span style=" font-style:italic;">Phong shading</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt; font-style:italic;"><span style=" font-style:normal;">while defining the normals per face is called </span>Flat shading<span style=" font-style:normal;">.</span></p></body></html></string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="textLabel1_3_3_2">
|
|
<property name="text">
|
|
<string>View smoothing</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3">
|
|
<widget class="Gui::PrefDoubleSpinBox" name="maxDeviation">
|
|
<property name="suffix">
|
|
<string> %</string>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="minimum">
|
|
<double>0.000100000000000</double>
|
|
</property>
|
|
<property name="maximum">
|
|
<double>100.000000000000000</double>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.500000000000000</double>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>MeshDeviation</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Part</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0" colspan="3">
|
|
<widget class="Gui::PrefCheckBox" name="prefCheckBox3">
|
|
<property name="toolTip">
|
|
<string>This will slow down render speed but will lead to nicer results</string>
|
|
</property>
|
|
<property name="whatsThis">
|
|
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;"><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;">High-quality normals</span></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;">This will slow down render speed but will lead to nicer results.</p></body></html></string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Using high-quality normals</string>
|
|
</property>
|
|
<property name="prefEntry" stdset="0">
|
|
<cstring>QualityNormals</cstring>
|
|
</property>
|
|
<property name="prefPath" stdset="0">
|
|
<cstring>Mod/Part</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="2" rowspan="2" colspan="2">
|
|
<widget class="Line" name="line2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QLabel" name="textLabel1_3">
|
|
<property name="text">
|
|
<string>View accuracy / Performance</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1" colspan="3">
|
|
<widget class="Line" name="line2_2_2">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::HLine</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>Gui::PrefCheckBox</class>
|
|
<extends>QCheckBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>Gui::PrefDoubleSpinBox</class>
|
|
<extends>QDoubleSpinBox</extends>
|
|
<header>Gui/PrefWidgets.h</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|