mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 08:48:40 +02:00
[ui] Viewer3D: introduce new 3D media loading backend
This commit adds several components to centralize and extend 3D media loading. They are not yet integrated into Viewer3D. The entry point to this system is the MediaLibrary component that: * can load N medias based on a filepath or load-and-watch node attributes * provides a cache mechanism to instant-reload medias that were unloaded under certain conditions * gives access to statistics (vertex/face/camera/textureCount) through a unified interface
This commit is contained in:
parent
2f50587904
commit
109b980ae5
7 changed files with 587 additions and 0 deletions
16
meshroom/ui/qml/Viewer3D/Viewer3DSettings.qml
Normal file
16
meshroom/ui/qml/Viewer3D/Viewer3DSettings.qml
Normal file
|
@ -0,0 +1,16 @@
|
|||
pragma Singleton
|
||||
import QtQuick 2.9
|
||||
|
||||
/**
|
||||
* Viewer3DSettings singleton gathers properties related to the 3D Viewer capabilities, state and display options.
|
||||
*/
|
||||
Item {
|
||||
readonly property Component abcLoaderComp: Qt.createComponent("AlembicLoader.qml")
|
||||
readonly property bool supportAlembic: abcLoaderComp.status == Component.Ready
|
||||
readonly property Component depthMapLoaderComp: Qt.createComponent("DepthMapLoader.qml")
|
||||
readonly property bool supportDepthMap: depthMapLoaderComp.status == Component.Ready
|
||||
|
||||
// Rasterized point size
|
||||
property real pointSize: 4
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue