Commit graph

951 commits

Author SHA1 Message Date
Fabien Castan
e3d9c6cf5d
Merge pull request #496 from alicevision/dev_gitBranchInVersionName
[core] Add git branch name in version name
2019-06-07 12:26:22 +02:00
Fabien Castan
889f7bc484
Merge pull request #454 from alicevision/dev_rangeBlockSize
Make range complete block size accessible to command line nodes
2019-06-07 12:25:02 +02:00
Fabien Castan
6fc1f09aed [core] Add git branch name in version name
During development the git branch will be added to the version name. In releases, as there is no git repository included, the __version__ will not be modified.
2019-06-06 13:05:34 +02:00
Fabien Castan
e26b3dee30
Merge pull request #466 from alicevision/dev_logsAndStatus
Logs display and status update improvements
2019-06-05 23:15:30 +02:00
Yann Lanthony
55c9e3063d
[ui] TextFileViewer: simplify position restoring when source changes
Remove 'keepPosition' parameter: always try to reset position as close as possible to the previous state.
2019-05-15 20:17:09 +02:00
Yann Lanthony
d7f8311dcf
[ui] NodeLog: set TextFileViewer source when chunks ListView is ready
Avoid going through an empty source when switching from one node to another (currentChunk being invalid the time the ListView is being constructed).
2019-05-15 20:17:09 +02:00
cclauss
09b28bbc2a
if v: 2019-05-14 12:30:37 +02:00
Clara
9f928e1ea0 [mesh] Texturing: set parameters for multi-band blending
Use only 3 parameters : useScore, multiBandDownscale, multiBandNbContrib
2019-05-13 17:04:26 +02:00
Yann Lanthony
17556427fd
[ui] NodeLog: PySide2 5.11 compatibility fixes
* downgrade imports to work with versions prior to 5.12
* remove ES7 syntax
2019-05-09 18:18:48 +02:00
Yann Lanthony
e40b0e57b8
[ui] ChunksMonitor: asynchronous status files modification time polling
* make last modification time check on status asynchronous using a dedicated thread + use a ThreadPool to run tasks in parallel
* avoid UI freeze when checking for status updates + increase performances
2019-05-07 12:32:38 +02:00
Yann Lanthony
55dba55d19
[ui] New TextFileViewer for displaying log files
Introduce a new TextFileViewer component with auto-reload feature based on a ListView instead of a TextArea for performance reasons. Uses the text content split on line breaks as ListView's model.
Features: 
 * auto-scroll to bottom
 * display line numbers
 * customizable line delegates (e.g.: display a real progress bar)
 * color lines according to log level
2019-05-07 11:47:09 +02:00
Yann Lanthony
438622a14b
[ui] Introduce ClipboardHelper for copying to clipboard from QML
* add ClipboardHelper class that contains a QClipboard and exposes its method as Slots
* use Clipboard instead of hidden TextEdit where meaningful
2019-05-07 11:47:09 +02:00
Yann Lanthony
9ce077778b
[ui] add more explicit doc for QML helpers singleton 2019-05-07 11:03:54 +02:00
Yann Lanthony
6d07323580
[ui] compatibility fixes for PySide2 5.12.x 2019-05-07 10:39:20 +02:00
Yann Lanthony
275c4133fe
[core] make range complete block size accessible to command line nodes
* range 'blockSize' is now the complete block size (equal for all iterations)
* command lines nodes can use this complete block size to compute the iteration number on software side; delegate range cropping for last iteration to software.
* 'effectiveBlockSize' is still accessible through 'rangeEffectiveBlockSize' parameter
2019-04-26 10:49:47 +02:00
cclauss
d0c5a5ffb5
Avoid issue with use ==/!= to compare str, bytes, and int literals
[flake8](http://flake8.pycqa.org) testing of https://github.com/alicevision/meshroom on Python 3.7.1

$ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
```
./meshroom/core/node.py:461:34: F632 use ==/!= to compare str, bytes, and int literals
            if v is not None and v is not '':
                                 ^
./meshroom/core/node.py:480:34: F632 use ==/!= to compare str, bytes, and int literals
            if v is not None and v is not '':
                                 ^
2     F632 use ==/!= to compare str, bytes, and int literals
2
```
2019-04-18 10:30:57 +02:00
Unknown
00188c9aef [nodes] texturing: add support for multi-band blending 2019-04-12 15:19:06 +02:00
Fabien Castan
c88c78b476
[cxFreeze] add comment 2019-04-11 11:40:08 +02:00
Fabien Castan
49f5052a09 [submitters] simpleFarm: minor tractor adjustments 2019-04-08 10:17:14 +02:00
Fabien Castan
b1984bca97 [submitters] update submitter config 2019-04-08 10:17:14 +02:00
Fabien Castan
007216e88b [submitter] simpleFarm: add support for submitting without rez 2019-04-08 10:17:13 +02:00
Fabien Castan
1c98e2afde [cxFreeze] add import of encodings to embed them in packaging 2019-04-08 10:17:13 +02:00
Fabien Castan
98d772659a
Merge pull request #433 from alicevision/dev_advancedListAndGroups
Allow List/GroupAttribute to be marked as advanced parameters
2019-03-29 21:09:52 +01:00
Tuk Bredsdorff
7f1943c0de
Corrected project argument name
Argument was `project` but was used as `pipeline` which prevented the ui from starting.
2019-03-29 17:17:10 +01:00
Yann Lanthony
1cb9935617
Merge pull request #413 from alicevision/dev_CLIoptions
[CLI] Added new options
2019-03-26 15:52:54 +01:00
Simone Gasparini
4febfb3ffe
[nodes] PrepareDenseScene enables to export list of undistorted images 2019-03-26 12:18:14 +01:00
Simone Gasparini
a274546247
[ui] add option --pipeline at CLI to directly load a project in GUI 2019-03-26 12:18:04 +01:00
Yann Lanthony
0ab7d45607
[desc] allow List/GroupAttribute to be marked as advanced parameters 2019-03-26 12:09:16 +01:00
Fabien Castan
8361f806e2
Merge pull request #408 from alicevision/fix_groupChildAttribute
Add GroupAttribute.childAttribute method
2019-03-03 23:21:54 +01:00
Yann Lanthony
aae6098b5a [ui] Viewpoints: use 'childAttribute' method to access child attributes
IntrinsicsIndicator: fix exceptions when trying to access a viewpoint's 'initializationMode' attribute that did not exist in previous versions
2019-03-01 17:29:50 +01:00
Yann Lanthony
1a22fc8ae8 [core] add GroupAttribute.childAttribute method
* easier access to child attributes
* callable from QML
2019-03-01 17:22:57 +01:00
Grégoire De Lillo
7343cabbfe [nodes] Texturing Add option useUDIM 2019-03-01 12:33:12 +01:00
Fabien Castan
9b2338488b
Merge pull request #382 from alicevision/dev_densePointCloud
Dense point cloud
2019-02-28 16:10:46 +01:00
Fabien Castan
94796f188b
Merge pull request #389 from alicevision/dev_depthMapNormals
[nodes] `DepthMapFilter` Add option `computeNormalMaps`
2019-02-28 16:09:20 +01:00
Fabien Castan
c2382c1960 Release 2019.1.0 2019-02-27 19:21:12 +01:00
Fabien Castan
4ef1ff457d
Merge pull request #392 from alicevision/fix_locator3d
Viewer3D: use DepthMapEntity 2.0 + various fixes
2019-02-08 18:45:07 +01:00
Yann Lanthony
45faa860c9 [ui] AttributeEditor: remove SortFilterDelegateModel
Usage of DelegateModel for model filtering has not proven to be the most stable solution, and might be responsible for random crashes happening during engine's garbage collection.  Implement Loader-based alternative:
* first delegate is a Loader which creates the AttributeItemDelegate if necessary
* compensate spacing using negative height when element is hidden
2019-02-08 15:37:06 +01: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
6199de0b45 [ui] Inspector3D: improve pointSize/cameraScale sliders
* reduce pointSize maximum value for better precision
* replace texts by icon
* add tooltips with values
2019-02-07 19:11:06 +01:00
Yann Lanthony
a9cb4afe2a [ui] DepthMapLoader: update to DepthMapEntity 2.0
* map render modes to custom visualization modes
2019-02-07 18:27:29 +01:00
Yann Lanthony
9bd53c7c89 [ui] CameraController: check KeyboardHandler status for all actions with modifiers 2019-02-07 18:24:52 +01:00
Yann Lanthony
829aa24a4a [ui] CameraController: avoid allocating new objects on bindings
Change existing objects values instead of re-creating point/size objects, on bindings that can be evaluated very often.
2019-02-07 18:14:16 +01:00
Yann Lanthony
1793a30861 [ui][Viewer3D] Locator3D: properly initialize buffers with 'new'
Fix crash using PySide2 5.12: "calling a TypedArray constructor without new is invalid"
2019-02-06 14:37:53 +01:00
Grégoire De Lillo
cc3a53aee1 [nodes] DepthMapFilter Add option computeNormalMaps 2019-02-06 12:28:56 +01:00
Fabien Castan
b42f637ac0
Merge pull request #385 from alicevision/dev_nodesVersion
Improved compatibility issues detection
2019-02-05 20:15:55 +01:00
Yann Lanthony
2a0b695ea7 [core] more thorough compatibility issues detection
* add 'matchDescription' method on desc.Attribute.
* desc.ListAttribute/desc.GroupAttribute: 'matchDescription' ensure that value perfectly match element/group description. Enable recursive checking for child attributes.
* nodeFactory: detect DescriptionConflicts in pre-process pass by checking that serialized node's attributes perfectly match their descriptions
* CompatibilityNode.attributeDescFromNameAttribute: consider link expressions as valid values
* test_compatibility: more complete description conflicts unit testing
2019-02-01 16:03:21 +01:00
Fabien Castan
731bdd46a0
Merge pull request #386 from alicevision/dev_displayDistoModel
[ui] IntrinsicsIndicator: display distortion model
2019-02-01 15:57:39 +01:00
Yann Lanthony
1de13d77eb
Merge pull request #383 from alicevision/dev_versionFromEnv
Allow version override from env variable
2019-02-01 14:54:33 +01:00
Yann Lanthony
7546e9ad10 [ui] IntrinsicsIndicator: display distortion model
Directly use intrinsic attribute in IntrinsicsIndicator to retrieve useful values, instead of dedicated methods in 'Reconstruction'.
2019-01-31 17:36:26 +01:00
Yann Lanthony
971d4d7f0e [ui][Viewer3D] MediaCache: add debug mode
add 'debug' mode to ease debugging of 3D Media cache
2019-01-31 16:12:42 +01:00