638 lines
17 KiB
XML
638 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>MaterialEditor</class>
|
|
<widget class="QWidget" name="MaterialEditor">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>435</width>
|
|
<height>535</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
|
<property name="leftMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapDiffuse" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapNormal" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapMetalness" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapRoughness" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapEmission" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="MaterialMapEditor" name="mapRelief" native="true">
|
|
<property name="styleSheet">
|
|
<string notr="true">font:normal;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="Line" name="line_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<property name="fieldGrowthPolicy">
|
|
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
|
|
</property>
|
|
<property name="labelAlignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="checkGlass">
|
|
<property name="text">
|
|
<string>Glass</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string>Transparency</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="SpinSlider" name="spinTransparent">
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
<property name="pageStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string>Reflectivity</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="SpinSlider" name="spinReflect">
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
<property name="pageStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_11">
|
|
<property name="text">
|
|
<string>IOF</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="SpinSlider" name="spinIOF">
|
|
<property name="maximum">
|
|
<double>2.000000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
<property name="pageStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_15">
|
|
<property name="text">
|
|
<string>Dispersion</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="SpinSlider" name="spinDispersion">
|
|
<property name="maximum">
|
|
<double>1.000000000000000</double>
|
|
</property>
|
|
<property name="value">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
<property name="decimals">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<double>0.010000000000000</double>
|
|
</property>
|
|
<property name="pageStep">
|
|
<double>0.100000000000000</double>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_13">
|
|
<property name="text">
|
|
<string>Reflection map</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QFrame" name="frameReflection">
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label_14">
|
|
<property name="text">
|
|
<string>Front:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="label_20">
|
|
<property name="text">
|
|
<string>Back:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="label_21">
|
|
<property name="text">
|
|
<string>Left:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="label_22">
|
|
<property name="text">
|
|
<string>Right:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="label_23">
|
|
<property name="text">
|
|
<string>Top:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="label_24">
|
|
<property name="text">
|
|
<string>Bottom:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflLeft"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflLeftClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflLeftSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_9">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflFront"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflFrontClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflFrontSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_10">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflBack"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflBackClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflBackSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_11">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflRight"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflRightClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflRightSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_12">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflTop"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflTopClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflTopSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<layout class="QHBoxLayout" name="horizontalLayout_13">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLineEdit" name="lineReflBottom"/>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflBottomClear">
|
|
<property name="text">
|
|
<string>X</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="buttonReflBottomSelect">
|
|
<property name="text">
|
|
<string>^</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0" colspan="2">
|
|
<widget class="QPushButton" name="buttonLoadCubeDir">
|
|
<property name="text">
|
|
<string>load from directory</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>SpinSlider</class>
|
|
<extends>QWidget</extends>
|
|
<header>spinslider.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>MaterialMapEditor</class>
|
|
<extends>QWidget</extends>
|
|
<header>material_map_editor.h</header>
|
|
<container>1</container>
|
|
<slots>
|
|
<signal>changed()</signal>
|
|
</slots>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>spinTransparent</sender>
|
|
<signal>valueChanged(double)</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>433</x>
|
|
<y>468</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>283</x>
|
|
<y>149</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>spinReflect</sender>
|
|
<signal>valueChanged(double)</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>433</x>
|
|
<y>497</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>284</x>
|
|
<y>174</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>spinIOF</sender>
|
|
<signal>valueChanged(double)</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>433</x>
|
|
<y>526</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>284</x>
|
|
<y>236</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>checkGlass</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>433</x>
|
|
<y>439</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>284</x>
|
|
<y>84</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>spinDispersion</sender>
|
|
<signal>valueChanged(double)</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>433</x>
|
|
<y>555</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>326</x>
|
|
<y>288</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapDiffuse</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>69</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>63</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapMetalness</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>189</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>143</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapEmission</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>338</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>216</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapNormal</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>129</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>260</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapRelief</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>398</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>304</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>mapRoughness</sender>
|
|
<signal>changed()</signal>
|
|
<receiver>MaterialEditor</receiver>
|
|
<slot>materialChanged()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>421</x>
|
|
<y>249</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>434</x>
|
|
<y>250</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
<slots>
|
|
<slot>materialChanged()</slot>
|
|
</slots>
|
|
</ui>
|