4
<exportmacro></exportmacro>
5
<class>PartGui::DlgSettings3DViewPart</class>
6
<widget class="QWidget" name="PartGui::DlgSettings3DViewPart" >
7
<property name="geometry" >
15
<property name="windowTitle" >
16
<string>Shape view</string>
18
<layout class="QGridLayout" >
19
<property name="margin" >
22
<property name="spacing" >
25
<item row="1" column="0" >
27
<property name="orientation" >
28
<enum>Qt::Vertical</enum>
30
<property name="sizeHint" >
38
<item row="0" column="0" >
39
<widget class="QGroupBox" name="GroupBox12" >
40
<property name="title" >
41
<string>Tessellation</string>
43
<layout class="QGridLayout" >
44
<property name="margin" >
47
<property name="spacing" >
50
<item row="0" column="0" >
51
<layout class="QGridLayout" >
52
<property name="margin" >
55
<property name="spacing" >
58
<item row="4" column="0" colspan="3" >
59
<widget class="Gui::PrefCheckBox" name="prefCheckBox8" >
60
<property name="toolTip" >
61
<string>Defines the appearance of surfaces</string>
63
<property name="whatsThis" >
64
<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>
66
<property name="text" >
67
<string>Do not define normal per vertex</string>
69
<property name="prefEntry" stdset="0" >
70
<cstring>NoPerVertexNormals</cstring>
72
<property name="prefPath" stdset="0" >
73
<cstring>Mod/Part</cstring>
77
<item rowspan="2" row="1" column="0" colspan="2" >
78
<widget class="QLabel" name="textLabel1" >
79
<property name="toolTip" >
80
<string>Defines the deviation of tessellation to the actual surface</string>
82
<property name="whatsThis" >
83
<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>
85
<property name="text" >
86
<string>Maximum deviation of tessellated shapes</string>
90
<item row="6" column="0" colspan="4" >
91
<widget class="QLabel" name="label" >
92
<property name="text" >
93
<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>
97
<item row="3" column="0" >
98
<widget class="QLabel" name="textLabel1_3_3_2" >
99
<property name="text" >
100
<string>View smooting</string>
104
<item row="2" column="3" >
105
<widget class="Gui::PrefDoubleSpinBox" name="prefFloatSpinBox1" >
106
<property name="maximum" >
109
<property name="minimum" >
110
<double>0.01</double>
112
<property name="singleStep" >
113
<double>0.01</double>
115
<property name="value" >
118
<property name="prefEntry" stdset="0" >
119
<cstring>MeshDeviation</cstring>
121
<property name="prefPath" stdset="0" >
122
<cstring>Mod/Part</cstring>
126
<item row="5" column="0" colspan="3" >
127
<widget class="Gui::PrefCheckBox" name="prefCheckBox3" >
128
<property name="toolTip" >
129
<string>This will slow down render speed but will lead to nicer results</string>
131
<property name="whatsThis" >
132
<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>
134
<property name="text" >
135
<string>Using high-quality normals</string>
137
<property name="prefEntry" stdset="0" >
138
<cstring>QualityNormals</cstring>
140
<property name="prefPath" stdset="0" >
141
<cstring>Mod/Part</cstring>
145
<item rowspan="2" row="0" column="2" colspan="2" >
146
<widget class="Line" name="line2" >
147
<property name="sizePolicy" >
149
<hsizetype>3</hsizetype>
150
<vsizetype>0</vsizetype>
151
<horstretch>0</horstretch>
152
<verstretch>0</verstretch>
155
<property name="frameShape" >
156
<enum>QFrame::HLine</enum>
158
<property name="frameShadow" >
159
<enum>QFrame::Sunken</enum>
161
<property name="orientation" >
162
<enum>Qt::Horizontal</enum>
166
<item row="0" column="0" colspan="2" >
167
<widget class="QLabel" name="textLabel1_3" >
168
<property name="text" >
169
<string>View accuracy / Performance</string>
173
<item row="3" column="1" colspan="3" >
174
<widget class="Line" name="line2_2_2" >
175
<property name="sizePolicy" >
177
<hsizetype>3</hsizetype>
178
<vsizetype>0</vsizetype>
179
<horstretch>0</horstretch>
180
<verstretch>0</verstretch>
183
<property name="frameShape" >
184
<enum>QFrame::HLine</enum>
186
<property name="frameShadow" >
187
<enum>QFrame::Sunken</enum>
189
<property name="orientation" >
190
<enum>Qt::Horizontal</enum>
201
<layoutdefault spacing="6" margin="11" />
202
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
205
<class>Gui::PrefDoubleSpinBox</class>
206
<extends>QDoubleSpinBox</extends>
207
<header>Gui/PrefWidgets.h</header>
208
<container>0</container>
212
<class>Gui::PrefCheckBox</class>
213
<extends>QCheckBox</extends>
214
<header>Gui/PrefWidgets.h</header>
215
<container>0</container>