mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[ui] DepthMapLoader: update to DepthMapEntity 2.0
* map render modes to custom visualization modes
This commit is contained in:
parent
9bd53c7c89
commit
a9cb4afe2a
1 changed files with 6 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
import DepthMapEntity 1.0
|
import DepthMapEntity 2.0
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Support for Depth Map files (EXR) in Qt3d.
|
* Support for Depth Map files (EXR) in Qt3d.
|
||||||
|
@ -6,4 +6,9 @@ import DepthMapEntity 1.0
|
||||||
*/
|
*/
|
||||||
DepthMapEntity {
|
DepthMapEntity {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
pointSize: Viewer3DSettings.pointSize * (Viewer3DSettings.fixedPointSize ? 1.0 : 0.001)
|
||||||
|
// map render modes to custom visualization modes
|
||||||
|
displayMode: Viewer3DSettings.renderMode == 1 ? DepthMapEntity.Points : DepthMapEntity.Triangles
|
||||||
|
displayColor: Viewer3DSettings.renderMode == 2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue