|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>WdgBumpmap</class>
|
|
|
|
<widget class="TQWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>WdgBumpmap</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>520</width>
|
|
|
|
<height>603</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQFrame" row="3" column="0" rowspan="1" colspan="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>frame3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="frameShape">
|
|
|
|
<enum>StyledPanel</enum>
|
|
|
|
</property>
|
|
|
|
<property name="frameShadow">
|
|
|
|
<enum>Raised</enum>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>3</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string><b>Bumpmapping</b> is a process where two layers are
|
|
|
|
combined to give one layer the illusion of <i>depth</i>. One layer
|
|
|
|
will contain your image, the other a grayscale or black-and-white
|
|
|
|
representation of height, which is the bumpmap. If you do not specify a bumpmap
|
|
|
|
layer, the current layer will be used.</string>
|
|
|
|
</property>
|
|
|
|
<property name="textFormat">
|
|
|
|
<enum>RichText</enum>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>WordBreak|AlignVCenter</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<spacer row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer9</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>40</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox" row="2" column="0" rowspan="1" colspan="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>grpSettings</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Settings</string>
|
|
|
|
</property>
|
|
|
|
<property name="alignment">
|
|
|
|
<set>AlignAuto</set>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="KDoubleSpinBox" row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>dblElevation</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>90</number>
|
|
|
|
</property>
|
|
|
|
<property name="minValue">
|
|
|
|
<number>0.5</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>45</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel4</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Elevation:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>dblElevation</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel5</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Depth:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>dblDepth</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KDoubleSpinBox" row="2" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>dblDepth</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>65</number>
|
|
|
|
</property>
|
|
|
|
<property name="minValue">
|
|
|
|
<number>1</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>3</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Azimuth:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>dblAzimuth</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KIntSpinBox" row="2" column="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>intWaterLevel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>255</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KIntSpinBox" row="1" column="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>intYOffset</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="minValue">
|
|
|
|
<number>-99</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KIntSpinBox" row="3" column="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>intAmbient</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>255</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="2" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel8</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Water level:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>intWaterLevel</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="3" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel9</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Ambient light:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>intAmbient</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KIntSpinBox" row="0" column="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>intXOffset</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="minValue">
|
|
|
|
<number>-99</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="1" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel7</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Y offset:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>intYOffset</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel6</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&X offset:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>intXOffset</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KDoubleSpinBox" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>dblAzimuth</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maxValue">
|
|
|
|
<number>360</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>135</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>grpType</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>&Type</string>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQRadioButton" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>radioLinear</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Linear</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQRadioButton" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>radioSpherical</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Spherical</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQRadioButton" row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>radioSinusoidal</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>S&inusoidal</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQGroupBox" row="1" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>grpOptions</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="title">
|
|
|
|
<string>Options</string>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQCheckBox" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>chkCompensate</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Compensate for darkening</string>
|
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQCheckBox" row="2" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>chkTiled</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Tile bumpmap</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>chkInvert</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>I&nvert bumpmap</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>lblLayer</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>5</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Bumpmap layer:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>txtSourceLayer</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KComboBox" row="0" column="1" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>cboxSourceLayer</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>radioLinear</tabstop>
|
|
|
|
<tabstop>chkCompensate</tabstop>
|
|
|
|
<tabstop>chkInvert</tabstop>
|
|
|
|
<tabstop>chkTiled</tabstop>
|
|
|
|
<tabstop>dblAzimuth</tabstop>
|
|
|
|
<tabstop>dblElevation</tabstop>
|
|
|
|
<tabstop>dblDepth</tabstop>
|
|
|
|
<tabstop>intXOffset</tabstop>
|
|
|
|
<tabstop>intYOffset</tabstop>
|
|
|
|
<tabstop>intWaterLevel</tabstop>
|
|
|
|
<tabstop>intAmbient</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
<includes>
|
|
|
|
<include location="global" impldecl="in implementation">kcombobox.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">knuminput.h</include>
|
|
|
|
</includes>
|
|
|
|
</UI>
|