Commit graph

4493 commits

Author SHA1 Message Date
Fabien Servant
0bf2c41524 Use pixel aspect ratio for 3d viewer 2024-11-26 15:30:09 +01:00
Candice Bentéjac
248229edcf [GraphEditor] Node: Check if unexposed ListAttributes contain links
If unexposed attributes (ie. attributes that are located in the lower
side of a node, and hidden by default) are connected, they are meant
to remain visible even if the lower part of that node is hidden.

This was working fine for any attribute that was not a `ListAttribute`,
as the check was made on whether the attribute's value was a link to
another attribute. For `ListAttributes`, whose value is actually a list
of values, this was not working as nested links were not checked.

Instead of relying on the `isLink` property, we now use `isLinkNested`:
for regular attributes, this is equivalent to using `isLink`, but for
`ListAttributes`, the full list of values will be checked.
2024-11-26 11:46:24 +00:00
Fabien Servant
cfa10d94cc Change cpu and ram requirements 2024-11-26 08:45:37 +01:00
Fabien Castan
648b0950b8
Merge pull request #2606 from alicevision/fix/uiFixes
[ui] Minor UI stabilization fixes for Qt 6
2024-11-25 23:07:29 +01:00
Fabien Servant
3715c767f7 Add parameters to sfmBootstraping 2024-11-25 16:32:08 +01:00
Candice Bentéjac
fdcf35c3fc [Controls] ExpandableGroup: Fix MouseArea on the header of groups 2024-11-25 16:19:29 +01:00
Candice Bentéjac
fc5e85af1d [ui] WorkspaceView: Increase minimum width for Inspector 3D 2024-11-25 15:46:56 +01:00
Candice Bentéjac
1fbcdbb734 [Viewer] SfmStats: Add missing imports to load widgets correctly 2024-11-25 15:02:37 +01:00
Candice Bentéjac
5f41542ed5 [Viewer3D] Inspector3D: Use Fusion style instead of Material
`Material` was used by mistake following an erroneous import.
2024-11-25 14:48:51 +01:00
Candice Bentéjac
f5be0aadb0 [ui] Homepage: Use correct Material font for list of projects 2024-11-25 14:32:14 +01:00
Candice Bentéjac
4873a98768 [ui] Homepage: Fix icon for "Support AliceVision" button 2024-11-25 11:50:29 +00:00
waaake
d77b7a398a [ui] Coloring a Node: Added ColorSelector to the Graph Editor
The color selector in the Graph Editor provides a quick way to color nodes with predefined palette of colors.

Added Command to allow the Coloring to be undone and redone using QUndoStack
2024-11-25 09:22:14 +05:30
waaake
58a9b74a72 [core] Coloring a Node: Exposed the Node Color to be set externally 2024-11-25 09:20:11 +05:30
Fabien Castan
b5dda4efd0
Merge pull request #2592 from alicevision/dev/splitDescModule
Split `meshroom.core.desc` module into a package with submodules
2024-11-23 12:39:33 +00:00
Candice Bentéjac
0bbeec5427 [Viewer3D] Set text color for the label of resectioned cameras 2024-11-22 16:55:24 +01:00
Candice Bentéjac
05a742a221 [ui] Fix color for MaterialToolLabel
The name of the property used to set the color was ambiguous, causing
the colors to not be applied at all.
2024-11-22 16:54:58 +01:00
Fabien Castan
66e3dd409d
Merge pull request #2599 from alicevision/dev/qt6.6
Qt6.6.3 / PySide6.6.3.1 upgrade
2024-11-22 12:39:09 +00:00
Fabien Servant @ TCS
f04eda8d05
Merge pull request #2603 from alicevision/fix/segPhotogCamTrack
[pipelines] PhotogCamTrack: Invert masks for segmentation
2024-11-22 11:01:43 +01:00
Candice Bentéjac
4e90c67c5a [pipelines] PhotogCamTrack: Invert masks for segmentation 2024-11-22 10:52:11 +01:00
Candice Bentéjac
9af6adeba9 [qt6][ui] Limit useless calls to recentProjectFiles when opening dialogs
This prevents emitting signals that lead to countless updates when a
single one is necessary, thus causing some freezes in the interface.
2024-11-21 11:19:38 +00:00
Candice Bentéjac
6692915385
Merge pull request #2598 from alicevision/fix/attributeCallbackOnGraphLoad
Discard attribute changed callbacks during graph loading
2024-11-18 16:57:25 +00:00
Yann Lanthony
b0808f9040
[core] Fix errorneous docstring
Co-authored-by: Vivek <vivek_ve@outlook.com>
2024-11-18 10:07:02 +01:00
Candice Bentéjac
d63f7f2575 [qt6] .git-blame-ignore-revs: Add clean-up commits 2024-11-15 10:49:41 +01:00
Yann Lanthony
61d35904ba [core] Discard attribute callbacks during graph loading 2024-11-14 19:11:08 +01:00
Yann Lanthony
98f1a9d516 [tests] Update tests to load graphs with strictCompatibility
Update tests that should fail if nodes are loaded as
CompatibilityNodes (resulting in false positives).
2024-11-14 19:11:08 +01:00
Yann Lanthony
3218c41bdc [tests] Add strictCompatibility graph loading test 2024-11-14 19:11:08 +01:00
Yann Lanthony
c09a0d2327 [core] Add 'strictCompatibility' mode for loadGraph function
Provide a way to control how to handle node compatibility issues
when loading a Graph with the `strictCompatibility` parameter.
Introduce a new error type, GraphCompatibilityError, to be raised
when loading a Graph with compatibility issues with strictCompatibility enabled.
2024-11-14 19:11:08 +01:00
Candice Bentéjac
c3bb55a414
Merge pull request #2597 from alicevision/dev/injectLineup
[nodes] Add new `SfMPoseInjecting` node
2024-11-14 14:39:03 +00:00
Candice Bentéjac
c0c988c4f2 [nodes] SfMPoseInjecting: Update doc, labels and descriptions 2024-11-14 12:51:15 +01:00
Grégoire De Lillo
5fca8a74e2 [ui] Viewer3D: Fix wrong camera up vector initialization
Default camera up should be accurate and consistent with camera view center.
Default camera up vector is not refresh or checked when default camera view center is set.
2024-11-14 10:49:56 +00:00
Grégoire De Lillo
bfda6f66ac [ui] Viewer3D: Use directional light & add light controller
Use a single light entity instead of one per camera.
Use directional light instead of point light.
Add camera relative directional light controller.
2024-11-14 10:49:56 +00:00
Grégoire De Lillo
9df260ac6c [ui] scene3D: Add getRotatedCameraViewVector function 2024-11-14 10:49:56 +00:00
Grégoire De Lillo
39b7dfd512 [ui] Viewer: Add PhongImageViewer and toolbars to Viewer2D 2024-11-14 10:49:56 +00:00
Grégoire De Lillo
b6b9d1b34f [ui] Viewer: Add PhongImageViewer component 2024-11-14 10:49:56 +00:00
Grégoire De Lillo
765a1f96d5 [ui] Viewer: Add PhongImageViewerToolbar component 2024-11-14 10:49:56 +00:00
Grégoire De Lillo
9b48531cb7 [ui] Controls: Add DirectionalLightPane component 2024-11-14 10:49:56 +00:00
fabien servant
69ea5b88d2 [qt6][Viewer3D] Fix mouse camera controller 2024-11-14 10:03:44 +01:00
Candice Bentéjac
65a014d9b1 [qt6][Viewer] Viewer2D: Fix fit() with the Sequence Player
With the Sequence Player always enabled by default, the `fit()` function
must be triggered at the right moment, and only once the layout has
been correctly initialized; otherwise, zoom factors may become negative
and the images will not be placed correctly in the viewer.

Changes in the orientation tag must be handled independently from the
state of the zoom factor.
2024-11-13 18:48:07 +01:00
Fabien Servant
670d949c59 Pose Injecting node 2024-11-13 13:57:40 +01:00
Candice Bentéjac
2699bffcda [qt6][ImageGallery] IntrinsicDisplayDelegate: Support File attributes 2024-11-07 18:19:14 +01:00
Candice Bentéjac
a61231916f [qt6][GraphEditor] Node: Ensure readOnly is set with a boolean 2024-11-07 18:19:13 +01:00
Candice Bentéjac
36f7f4e420 [qt6][Viewer] Viewer2D: Fix automatic fitting for missing orientation tags 2024-11-07 18:19:08 +01:00
Fabien Servant
d4eb365ada [qt6][Viewer] Fix zoom in 8bits viewer 2024-11-07 18:15:45 +01:00
Candice Bentéjac
62f0a3e5df [qt6][Viewer3D] Change picking behavior 2024-11-07 18:15:44 +01:00
Candice Bentéjac
b884fc4e6b [qt6] Viewer3D: Reset the default render mode to "Textured" 2024-11-07 18:15:43 +01:00
Candice Bentéjac
5953ed5767 [qt6] Add QT6 support for wireframe on nvidia 2024-11-07 18:15:42 +01:00
Candice Bentéjac
5a0b1c0c95 [qt6][qml] Clean-up code and harmonize comments 2024-11-07 18:15:37 +01:00
Candice Bentéjac
b12d1fed06 [qt6][qml] Remove unnecessary module imports 2024-11-07 18:13:36 +01:00
Candice Bentéjac
c5be7e7cd4 [qt6][Charts] InteractiveChartView: Remove dead code and useless imports 2024-11-07 18:13:35 +01:00
Candice Bentéjac
039504782f [qt6][GraphEditor] Fix connections to ListAttribute pins
The callbacks of `childrenRepeater` (which was used to "fill"
`ListAttributes` with children) were not correctly set. Their prototypes
were missing the `index` argument, meaning that instead of being
provided with the child attribute that was added or deleted,
they were provided with its index in the model.

The added children attributes were also instatiated as empty attribute
pins that were still visible, thus increasing indirectly the spacing of
the initial pin.
2024-11-07 18:13:34 +01:00