Commit graph

552 commits

Author SHA1 Message Date
Yann Lanthony
adf59e56fa [ui] GraphEditor: fix typo 2018-04-05 21:56:36 +02:00
Yann Lanthony
185c32fe21 [nodes] Texturing: add 'unwrapMethod' and 'fillHoles' parameters 2018-04-04 19:24:41 +02:00
Yann Lanthony
12d62fe46b [core] fix ChoiceParam.validateValue
return value(s) converted to the expected type
2018-04-04 19:24:41 +02:00
Yann Lanthony
95669e0299
Merge pull request #101 from alicevision/dev_wireframe
3D Viewer: add Wireframe mode
2018-04-04 18:53:08 +02:00
Fabien Castan
d5f83e94e7
[nodes] MeshDenoising: change lambda step value 2018-03-25 20:20:11 +02:00
Yann Lanthony
a2dd3c22bd [ui][3D] tweak rotation/scale pane
* use a GridLayout
* reduce default sliders size
2018-03-23 11:23:47 +01:00
Yann Lanthony
c4f47d1307 [ui] Panel: clip by default 2018-03-23 11:23:47 +01:00
Yann Lanthony
35e89a3c9b [ui][3D] retrieve and display polycount after loading a scene
* use vertexPosition attribute buffer to determine the number of faces
* remove useless Qt.resolvedUrl()
2018-03-23 11:23:46 +01:00
Yann Lanthony
d4c0a4975a [ui] add "Controls" module to centralize common UI components
* add FloatingPane control + use it in Viewer3D
2018-03-23 11:17:11 +01:00
Yann Lanthony
6ae591e981 [ui] module Singleton crashes at exit; expose "Filepath" as context property
TODO: find a better way to do this (wait for 'qmlRegisterSingletonType' to be available in PySide ? )
2018-03-23 11:17:11 +01:00
Yann Lanthony
74e80e70b5 [ui][3d] introduce Wireframe render mode
* add WireframeMaterial from Qt 3D example
* MaterialSwitcher now has 3 render modes: Solid, Wireframe, Textured
* Remove NodeInstantiator; always create the material and modify entity's components (avoid rendering issues when switching between materials)
* use DiffuseSpecularMaterial for Solid and Textured mode
* create a MaterialSwitcher for all types of meshes (with/without textures)
* add a render settings panel as part of 3D viewport overlay and remove "Textures" entry from outliner
2018-03-23 11:17:10 +01:00
Yann Lanthony
f1d4291219 [ui][3d] improve layout of mesh rotation/scale control 2018-03-21 17:24:19 +01:00
Yann Lanthony
9f39579e00 [ui][3d] reduce camera nearPlane
useful for close-up mesh inspection
2018-03-21 17:24:19 +01:00
Yann Lanthony
0249706018 [ui] add missing string paths to url conversions 2018-03-21 17:24:19 +01:00
Yann Lanthony
a677f6b297 [core][win] remove non available stat "num_fds" 2018-03-21 17:24:19 +01:00
Grégoire De Lillo
7ecde53df7
Merge pull request #102 from alicevision/dev_augmentSfm
Augment Reconstruction
2018-03-21 17:16:21 +01:00
Yann Lanthony
5740a0a9b2 [reconstruction] use multiview.sfmAugmentation
use centralized 'sfmAugmentation' method + create MVS pipeline when augmenting the reconstruction
2018-03-21 15:53:34 +01:00
Yann Lanthony
d4c0d4cb36 [commands] AddNode: serialize links to other Attributes
avoid storing a reference to Attribute objects that might get deleted
2018-03-21 15:53:34 +01:00
Yann Lanthony
f939b36999 [multiview] add 'sfmAugmentation' function 2018-03-21 15:53:34 +01:00
Yann Lanthony
b596bdffca [multiview] split pipeline creation into several functions
* add 'sfmPipeline', 'mvsPipeline' and 'photogrammetryPipeline' instantiating nodes in an existing graph
* rename main function (creating a new Graph) 'photogrammetry' + create a Publish node if 'output' is specified
2018-03-21 15:53:34 +01:00
Yann Lanthony
8ed0d0a7a2 [graph] add 'asLinkExpr' method 2018-03-21 15:53:34 +01:00
Yann Lanthony
2e4d9b85e6 [ui] UIGraph: rename 'addNode' to 'addNewNode' to match core.graph API 2018-03-21 15:53:34 +01:00
Yann Lanthony
450f800fef [ui] allow SfM augmentation when providing new images
* create two separate drop areas when adding images to the project (add images / augment reconstruction)
* add sfm augmentation in graph after intrinsics have been built
2018-03-21 15:53:34 +01:00
Yann Lanthony
b25fbcd00b [reconstruction] compute intrinsics based on a copy of cameraInit node
* avoid node temporary modification (while in another thread)
* always emit instrinsicsBuilt signal to inform listeners that computation is over
2018-03-21 15:53:34 +01:00
Yann Lanthony
dca6d6f2f2 [reconstruction] don't store intrinsics-building thread internally 2018-03-21 15:53:34 +01:00
Yann Lanthony
9f2dbc9639 [reconstruction] small structural re-organization
* move LiveSfmManager.stepCreated to Reconstruction.sfmAugmented
* add utility methods in Reconstruction to get all images/views used in the graph
* ui: perform local auto-layout on sfm augmentation on created nodes
2018-03-21 15:53:34 +01:00
Yann Lanthony
4f392a310b [commands] GroupedGraphModification: add 'disableUpdates' option
gives control over whether graph updates should be disabled during this grouped modification
2018-03-21 15:53:34 +01:00
Yann Lanthony
bc8b39b172 [reconstruction] reset internal members when sfm node is deleted 2018-03-21 15:53:34 +01:00
Yann Lanthony
995c18961b [graph] init chunks upon node creation 2018-03-21 15:53:34 +01:00
Yann Lanthony
e0b72863ee [ui] GraphEditor: improve auto-layout related functions
* move graph boundingBox computation in a separate method
* perform autoLayout from "from" to "to" index (instead of "to"-1)
2018-03-21 15:53:34 +01:00
Yann Lanthony
266f0985d2 [ui] convert string paths to urls outside Viewers
* fix external image drop on 2D Viewer
* fix 3D model loading from "Load Model" button
2018-03-21 15:53:34 +01:00
Yann Lanthony
ccab9cb663
Merge pull request #100 from alicevision/dev_depthMapDownscale
[WIP] Move downscale to depthMap node
2018-03-15 18:27:25 +01:00
Gregoire De Lillo
eadff47615 [nodes] Add verboseLevel parameter in some MVS nodes 2018-03-13 17:01:01 +01:00
Gregoire De Lillo
0e10b0e6a7 [nodes] DepthMap Add parameter Downscale 2018-03-13 16:59:46 +01:00
Gregoire De Lillo
ebda829817 [nodes] PrepareDenseScene remove parameters scale and outputFileType
- no more downscale in `PrepareDenseScene`
- `outputFileType` is now always `.exr`
2018-03-13 16:59:00 +01:00
Fabien Castan
4a13395034
Merge pull request #99 from alicevision/fix_filepaths
Add FilepathHelper Python class to manipulate paths and QUrls
2018-03-06 18:00:33 +01:00
Yann Lanthony
001df5ee86 [nodes] formatting: fix tab instead of spaces 2018-03-06 15:34:41 +01:00
Yann Lanthony
f1b42acc14 [ui] add FilepathHelper Python class to manipulate paths and QUrls
* avoid non-cross platform hacks to convert string path to urls
* use standard python API
2018-03-06 15:32:33 +01:00
Yann Lanthony
618b7e18b6
Merge pull request #98 from alicevision/dev_meshDenoising
Add MeshDenoising and MeshDecimate nodes
2018-03-01 14:38:00 +01:00
Yann Lanthony
c993559e48 [nodes] format MeshDecimate/Denoising documentation 2018-03-01 14:33:11 +01:00
Fabien Castan
36ed1a5236 [nodes] Add nodes MeshDenoising and MeshDecimate 2018-03-01 14:21:41 +01:00
Yann Lanthony
c5d6b9b9e9
Merge pull request #97 from alicevision/ui_fixes
UI fixes
2018-03-01 14:19:56 +01:00
Yann Lanthony
0c071d03d1 [ui] remove ASCII icons
won't render correctly on some platforms
2018-02-26 17:01:41 +01:00
Yann Lanthony
b9a1e57b79 [ui][log] reload file when auto-reload timer stops
useful to reload the file when status goes from RUNNING to ERROR/SUCCESS
2018-02-26 17:00:20 +01:00
Yann Lanthony
2cdc83f06f [ui] add string <--> file representation convertors
* convenient methods to conform strings to Qt file reprensentation using the "file:/" protocol prefix
* use those methodes when manipulating files
2018-02-26 16:59:25 +01:00
Yann Lanthony
62726b4663 [ui] fix missing "else"
+ remove unnecessary call to clearAbc
2018-02-26 16:33:06 +01:00
Yann Lanthony
9522ea7092 [core] use string formatting to print command info 2018-02-26 12:23:08 +01:00
Fabien Castan
3ff3308700
Merge pull request #90 from alicevision/dev_removeCereal
Add support for AliceVision dev_removeCereal branch
2018-02-23 10:43:08 +01:00
Fabien Castan
d6ab36c60b
Merge pull request #96 from alicevision/dev_submitterConfig
[submitters] simpleFarm: use a config file for serviceKeys
2018-02-23 10:42:15 +01:00
Fabien Castan
4a7c47a258 [nodes] Meshing: new filtering parameters 2018-02-22 12:46:52 +01:00