Commit graph

8 commits

Author SHA1 Message Date
Yann Lanthony
5a4384916e
[ui][3D] expose status on EnvironmentMapEntity
get loading status when env map is loading in 3D view
2019-12-13 17:17:03 +01: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
10c3454bad [ui][3D] MediaLoader: bind 'enabled' property of AlembicEntity
Ensure AlembicEntity is properly disabled when parent is. Fix pickable hidden cameras issue.
2019-01-31 15:58:23 +01:00
Yann Lanthony
029c35cfcf [ui] Viewer3D: let QmlAlembic manage entities visibility
see https://github.com/alicevision/qmlAlembic/pull/11
2019-01-09 18:09:01 +01:00
Yann Lanthony
65ec2d3245 [ui] Viewer3D: disable pointclouds/cameras when scaled down to 0 2018-12-19 17:35:40 +01:00
Yann Lanthony
fc857d5dc8 [ui] Viewer3D: add 'cameraScale' parameter to drive camera locator size 2018-12-07 16:07:43 +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