mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
Merge pull request #390 from alicevision/dev_lightingEstimation
[nodes] New node `LightingEstimation`
This commit is contained in:
commit
cb9841ddd0
8 changed files with 283 additions and 1 deletions
|
@ -77,7 +77,7 @@ FocusScope {
|
|||
if (event.key == Qt.Key_F) {
|
||||
resetCameraPosition();
|
||||
}
|
||||
else if(Qt.Key_1 <= event.key && event.key <= Qt.Key_3)
|
||||
else if(Qt.Key_1 <= event.key && event.key < Qt.Key_1 + Viewer3DSettings.renderModes.length)
|
||||
{
|
||||
Viewer3DSettings.renderMode = event.key - Qt.Key_1;
|
||||
}
|
||||
|
@ -290,8 +290,34 @@ FocusScope {
|
|||
}
|
||||
}
|
||||
|
||||
FloatingPane {
|
||||
visible: Viewer3DSettings.renderMode == 3
|
||||
anchors.bottom: renderModesPanel.top
|
||||
GridLayout {
|
||||
columns: 2
|
||||
rowSpacing: 0
|
||||
|
||||
RadioButton { text: "SHL File"; autoExclusive: true; checked: true }
|
||||
TextField {
|
||||
text: Viewer3DSettings.shlFile
|
||||
selectByMouse: true
|
||||
Layout.minimumWidth: 300
|
||||
onEditingFinished: Viewer3DSettings.shlFile = text
|
||||
}
|
||||
|
||||
RadioButton {
|
||||
Layout.columnSpan: 2
|
||||
autoExclusive: true
|
||||
text: "Normals"
|
||||
onCheckedChanged: Viewer3DSettings.displayNormals = checked
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Rendering modes
|
||||
FloatingPane {
|
||||
id: renderModesPanel
|
||||
anchors.bottom: parent.bottom
|
||||
padding: 4
|
||||
Row {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue