Commit graph

1732 commits

Author SHA1 Message Date
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
180b492ba1 [ui] Viewer3D: add a SfMTransformGizmo
- New SfMTransformGizmo entity.
- Add a uniform scale option to the TransformGizmo.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
266ac61c53 [nodes] SfMTransform : add gizmo transformation 2020-08-13 14:24:44 +02:00
Julien-Haudegond
e96aae5326 [ui] Viewer3D: TransformGizmo - better right click menu 2020-08-13 14:24:44 +02:00
Julien-Haudegond
f746f0bf9e [ui] Viewer3D: TransformGizmo - better mouse control 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
f2a75861c3 [ui] Viewer3D: better bounding box appearance
- Add edges to the bounding box. Appearance inspired by Blender.
- Better gizmo integration over the scene.
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
Julien-Haudegond
6103a4937f [ui] Viewer3D: TransformGizmo - fix reset transformations 2020-08-13 14:24:44 +02:00
Julien-Haudegond
208114653a [ui] Viewer3D: bounding box linked to meshing node 2020-08-13 14:24:44 +02:00
Julien-Haudegond
94b2ff3a87 [nodes] meshing: add bounding box options
- Checkbox in optional settings.
- Parameters in advanced settings.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
f4e73117a7 [ui] Viewer3D: add a BoundingBox entity 2020-08-13 14:24:44 +02:00
Julien-Haudegond
7663a6a44b [ui] Viewer3D: TransformGizmo - preparing for the bounding box 2020-08-13 14:24:44 +02:00
Julien-Haudegond
d0a78d96ab [ui] Viewer3D: TransformGizmo - ready to be set with absolute values
- Now, we can set the transformation with a position vector, Euler angles and a scale vector.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
da765a5f98 [ui] Viewer3D: TransformGizmo - moving transform operations to Python
- Moving transform operations from QML to Python to get access to more Qt functionalities and to make a better separation of logic/display.
2020-08-13 14:24:44 +02:00
Julien-Haudegond
cb306ffc7d [ui] Viewer3D: DefaultCameraController - removing FrameAction
- Apply the same control handling as the TransformGizmo.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
b234a766a9 [ui] Viewer3D: TransformGizmo - removing FrameAction
- Moving the mouse's dependent events inside the MouseHandler and removing the FrameAction.
- MouseHandler is only enabled when the gizmo is selected. There is no infinite loop waiting for an event.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
f9d57cadff [ui] Viewer3D: TransformGizmo - add reset transform option
- Right clicking on the gizmo allows to reset the specific transformation.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
85ebbba14f [ui] Viewer3D: TransformGizmo - drawing gizmo on top of the object
- Special entity acting as an object container: we can add the entities we want to control with a gizmo inside it.
- Drawing the gizmo always on top of the object to make sure to see it every time.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
bdf9d74ec8 [ui] Viewer3D: TransformGizmo - cleaning and renaming 2020-08-13 14:22:19 +02:00
Julien-Haudegond
d04eaaccfc [ui] Viewer3D: TransformGizmo - new mouse handling rotation
- Rotation is the result angle of the mouse rotation around the gizmo's center. It is quite user-friendly.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
414a865dff [ui] Viewer3D: TransformGizmo - clean parameter names 2020-08-13 14:22:19 +02:00
Julien-Haudegond
ad2f287b66 [ui] Viewer3D: TransformGizmo - clean mouse handling translation 2020-08-13 14:22:19 +02:00
Julien-Haudegond
cd630418e4 [ui] Viewer3D: TransformGizmo - new mouse handling scale
- Scale is computed using the distance between the gizmo's center and the mouse. The scale unit (where nothing changes) is defined by the distance between the gizmo's center and the picked position.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
fb3b541a7f [ui] Viewer3D: TransformGizmo - new mouse handling translation
- Translations are computed using the dot product between the mouse vector (picked position to current position) and the projected picked axis vector. Like this, the behaviour is a lot more natural and user-friendly.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
29c4be6210 [ui] Viewer3D: TransformGizmo - use one global FrameAction
- Use only one global FrameAction instead of having one per axis
2020-08-13 14:22:19 +02:00
Julien-Haudegond
6a9f229838 [ui] Viewer3D: TransformGizmo - individual color picking 2020-08-13 14:22:19 +02:00
Julien-Haudegond
45fae981ba [ui] Viewer3D: TransformGizmo - add picking and transformations
- For now, transformations do not take well in count the orientation of the mouse but gizmo is functional.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
30004fe690 [ui] Viewer3D: TransformGizmo - add needed mathematics functions
- Add Quaternions functions
- Add Matrices computation functions
2020-08-13 14:22:19 +02:00
Julien-Haudegond
98936b97d5 [ui] Viewer3D: add a Transform Gizmo Component
- Visual entity is done
- Need to make it pickable and to apply changes
2020-08-13 14:22:19 +02:00
Fabien Castan
a24bfc14b0
Merge pull request #1030 from alicevision/dev/sfm/filterTracksOption
[nodes] StructureFromMotion: change default value for filterTrackForks
2020-08-13 13:28:35 +02:00
Fabien Castan
6ceb16f3b4
Merge pull request #1020 from alicevision/dev/camResponseGraph
[ui] Viewer: add Camera Response Function graph
2020-08-13 13:26:26 +02:00
Fabien Castan
c95d857385
Merge pull request #1029 from alicevision/fix/ldrToHdrMissingCameraInitNode
[nodes] LdrToHdr: fix error when no CameraInit connected
2020-08-13 13:21:52 +02:00
Fabien Castan
368c7a81c1 [nodes] StructureFromMotion: change default value for filterTrackForks 2020-08-12 16:25:07 +02:00
Fabien Castan
fdcbd38745 [nodes] LdrToHdr: fix error when no CameraInit connected 2020-08-12 13:42:35 +02:00
Fabien Castan
baaccb0562 [ui] CsvData: fix data update 2020-08-12 13:40:10 +02:00
Fabien Castan
20fa43c1a6
Merge pull request #1027 from alicevision/fix/enabledPropertyInGroupAttributes
[core] GroupAttribute: check "enabled" property of child params in uid computation
2020-08-11 12:05:03 +02:00
Fabien Castan
588c2e59b8
[core] GroupAttribute: check "enabled" property of child params in uid computation
Disabled params should not be part of the UID computation, even for child attributes of an enabled GroupAttribute.
2020-08-11 11:50:59 +02:00
fabien servant
ae05bd7baf add a choice for graphcut use 2020-08-11 07:56:01 +02:00
Fabien Castan
de93f795fb [ui] CsvData: declare Qt parent 2020-08-06 19:26:30 +02:00
Fabien Castan
9e7cb5875c [ui] Viewer2D: CRF display is active only when enabled 2020-08-06 19:26:06 +02:00
Fabien Castan
b9cdd35241 [ui] CsvData: use signal/slot connection 2020-08-06 19:24:51 +02:00
Fabien Castan
b43d59f347 [ui] CSV: case insensitive extension check 2020-08-06 19:23:22 +02:00
Julien-Haudegond
385d1f7738 [ui] Components: fix documentation 2020-08-05 12:23:23 +02:00
Julien-Haudegond
5a1660a2c0 [ui] Viewer: add LdrToHdrCalibration camera response graph 2020-08-05 11:54:46 +02:00
Julien-Haudegond
e0c42fb42a [ui] Components: fix CsvData error 2020-08-05 11:16:45 +02:00
Julien-Haudegond
aa5e2b76b6 [ui] Components: add a CSV Data container 2020-08-04 17:27:13 +02:00
Fabien Castan
9a0965c5db
Merge pull request #1016 from alicevision/dev/nbBrackets
[nodes] LdrToHdr nodes: update nb brackets detection for single view/multiple exposures
2020-08-03 12:56:21 +02:00
Fabien Castan
cb17b1c976 [nodes] LdrToHdr nodes: update nb brackets detection for single view/multiple exposures 2020-08-03 10:43:20 +02:00