Commit graph

24 commits

Author SHA1 Message Date
Candice Bentéjac
423de8ccfe [qml] Qt5.15: Upgrade all Qt3D modules 2023-07-03 12:11:31 +02:00
Candice Bentéjac
9b5dd40b02 [qml] Qt5.15: Upgrade all QtQuick modules 2023-07-03 12:11:29 +02:00
Loïc Vital
935a8a2568 [ui] load 3D depth map: custom label in 3D inspector 2022-12-20 12:31:36 +01:00
luz paz
f4dcf6557f Fix various typos in the source code
## Description
Fix various typos in the source code. This includes user facing code, documentation, and source comments. This PR has not been tested.
Closes #1605
2022-01-22 07:39:05 -05:00
Julien-Haudegond
65138c67a0 [ui] MediaLibrary: fix dependencyReady binding 2020-08-24 18:37:46 +02:00
Julien-Haudegond
688027a69f [ui] MediaLibrary: fix dependency binding 2020-08-21 17:25:18 +02:00
Julien-Haudegond
bd5f515f98 [ui] MediaLibrary: fix SfMTransform loading issue 2020-08-17 15:59:07 +02:00
Julien-Haudegond
424f7e5b0e [ui] MediaLibrary: add alive property and fix issue 2020-08-17 11:50:00 +02:00
Julien-Haudegond
b79795a3c9 [ui] fix binding errors 2020-08-17 11:30:37 +02:00
Julien-Haudegond
79e96e7c06 [ui] fix typos 2020-08-17 11:16:53 +02:00
Julien-Haudegond
e9151b2ee0 [ui] Viewer3D: fix bbox disappearing when moving after computed 2020-08-13 14:24:44 +02:00
Julien-Haudegond
97fd076877 [ui] Viewer3D: SfMTransformGizmo - real-time transformed input rendering
- When SfMTransform uses manual method, we display in real-time the input on which we apply the gizmo transformation.
- For now, the options "Additional Scale", "Apply Scale/Rotation/Translation" of the node are not handled. The purpose will be to disable them when the method is "manual".
2020-08-13 14:24:44 +02:00
Julien-Haudegond
9fd90745e2 [ui] Viewer3D: add SfMTransformGizmo to MediaLibrary and Inspector3D 2020-08-13 14:24:44 +02:00
Julien-Haudegond
c45d29976b [ui] Viewer3D: specific bounding box options in the Inspector3D 2020-08-13 14:24:44 +02:00
Julien-Haudegond
4ab412dd90 [ui] Viewer3D: move bounding box display to Inspector3D 2020-08-13 14:24:44 +02:00
Yann Lanthony
63ffb20819
[ui][3D] add EnvironmentMapEntity to display equirectangular images
Load EXR files in the 3D viewport as environment maps mapped on a sphere "attached"  to the camera.
* improve exr loading strategy by considering depthmaps and env maps
* update to DepthMapEntity 2.1 (required to get the loading status)
2019-12-13 17:17:03 +01:00
Yann Lanthony
606cfc39c2
[ui] Viewer3D: fix Alembic visibility issues
Binding the "enabled" property of AlembicLoader's ObjectPicker to the parent MediaLoader's own "enabled" property caused invalid state where the loaded AlembicEntity was partially visible when toggling object visibility (since Qt 5.13).
In order to disable camera picking when AlembicEntity is disable, scale the camSelector component to 0.
2019-08-12 17:58:43 +02:00
Yann Lanthony
da1b842493 [ui] MediaLibrary: enable dynamicRoles on mediaModel
If an outside 3D media file is the first thing ever loaded, 'model.attribute' will be initialized to 'null' and will prevent an actual Attribute to be associated to this role. This breaks media loading from within Meshroom.
2019-02-07 19:55:05 +01:00
Yann Lanthony
6a297d5bff [ui][Viewer3D] fix cache update and reparenting issues
* don't try to put object in cache on MediaLoader 'Component.onCompleted' callback ; only effect was to put back in cache a media retrieved from cache during 'onFinalSourceChanged'
* redesign 'updateModelAndCache' as 'updateModel' and 'updateCacheAndModel' for this purpose
* wait for MediaLoader full initialization (@ 'NodeInstiator.onObjectAdded' callback) to reparent an object retrieved from cache; otherwise it silently fails.
2019-01-31 16:07:33 +01:00
Yann Lanthony
5814a39e3e [ui] Viewer3D: add loading overlay with BusyIndicator 2018-12-13 17:15:24 +01:00
Yann Lanthony
edfc34fbd1 [ui] Viewer3D: remove media if no loader was found for a valid source 2018-12-13 17:15:19 +01:00
Yann Lanthony
c3750a33c3 [ui] Inspector3D: add media contextual menu
Contextual menu to expose additional actions:
 * open media containing folder
 * copy media path
 * advanced manual control over media (un)loading
+ fix MediaLibrary to avoid binding loop on 'visible' when directly modifying 'request' property
2018-12-10 15:13:26 +01:00
Yann Lanthony
2e06ad1b83 [ui] 3DViewer: make 'visible' property drive media load request
* remove the notion of manual media (un)loading from high-level UI
* visibility button now drives media loading:
   * if media is not available (not yet computed), it will be loaded once available if visibility is on
   * once loaded, media can't be explicitly unloaded 
* use an icon to indicate that the media is not available instead of colors
2018-12-07 16:07:41 +01:00
Yann Lanthony
109b980ae5 [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
2018-12-07 15:57:57 +01:00