Meshroom/meshroom/ui/qml/Viewer3D/DepthMapLoader.qml
Candice Bentéjac 240188c0b4 [qt6][Viewer3D] Disable wireframe mode
Disable and hide the wireframe mode as the shaders need to be updated
for RHI.
2024-11-07 18:13:18 +01:00

14 lines
497 B
QML

import DepthMapEntity 2.1
/**
* 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 == 0 ? DepthMapEntity.Points : DepthMapEntity.Triangles
displayColor: Viewer3DSettings.renderMode == 1
}