mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-02 11:46:45 +02:00
14 lines
497 B
QML
14 lines
497 B
QML
import DepthMapEntity 2.0
|
|
|
|
/**
|
|
* Support for Depth Map files (EXR) in Qt3d.
|
|
* Create this component dynamically to test for DepthMapEntity plugin availability.
|
|
*/
|
|
DepthMapEntity {
|
|
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
|
|
}
|