Commit graph

4596 commits

Author SHA1 Message Date
Yann Lanthony
5b1b5a1b32 [graph] add 'updated' signal 2017-11-24 16:31:12 +01:00
Yann Lanthony
d493d0e7e2 [graph] add utility methods to retrieve chunks 2017-11-24 16:30:13 +01:00
Yann Lanthony
a60fe3c601 [graph] emit statusChanged after saving the status file 2017-11-24 16:24:23 +01:00
Yann Lanthony
09390ca52c [graph] add notion of filepath in core.Graph
* Graph stores its filepath when saved/loaded
* trigger updateInternals when cache directory change to update Nodes outputs
2017-11-24 16:21:43 +01:00
Yann Lanthony
4d25661532 [bin] remove unused import + unify line endings 2017-11-24 16:11:38 +01:00
Yann Lanthony
d4be998099 [graph] retrieve execMode as Enum from status file 2017-11-24 11:41:29 +01:00
Fabien Castan
c488d73551 [core] split status and execMode (LOCAL/EXTERN) 2017-11-23 20:58:52 +01:00
Fabien Castan
1cd4034784 [core] status: add packageName, packageVersion, hostname, sessionUid 2017-11-23 20:07:06 +01:00
Fabien Castan
286012d55f [core] fix rez disabling if already in env and check that the package versions match
* "upper" was missing to check is the variable is in the environment
* check if the versions match
2017-11-23 20:06:05 +01:00
Fabien Castan
83f26dd02a [ui] add traceback message on top execution level 2017-11-23 16:46:13 +01:00
Fabien Castan
c677243f90 [core] fix status check: should be done on chunk level (and not on node level) 2017-11-23 16:45:02 +01:00
Fabien Castan
50a4330b10 [core] fix upgrade status of chunks 2017-11-23 16:43:12 +01:00
Fabien Castan
d5714a4e18 [nodes] add meshResampling node 2017-11-22 15:19:18 +01:00
Fabien Castan
c57d7ed37e [core] add start/end datetime and elapsed time in status file 2017-11-22 15:17:39 +01:00
Fabien Castan
07351c911a [core] do not change status on chunks with SUCCESS status
If the node is only partially computed, do not change the status of
chunks with SUCCESS status.
2017-11-22 15:16:57 +01:00
Fabien Castan
9d99cba772 [core] set command line to status file before launching the command 2017-11-22 15:13:28 +01:00
Fabien Castan
5c1dd71a0f [submitter] simpleFarm: use tractor by default 2017-11-22 15:12:45 +01:00
Fabien Castan
e3815f74c7 [core] check RUNNING status in chunk compute function and add option to force computation 2017-11-21 12:24:16 +01:00
Yann Lanthony
a92a6f6df9 [nodes] Texturing: textureSide invalidates uid 2017-11-20 19:01:14 +01:00
Yann Lanthony
2db26314f8 [nodes] fix Publish node
incorrect iteration over resolved paths
2017-11-20 14:39:27 +01:00
Yann Lanthony
e9816a6a6e [tests] fix test_multiviewPipeline
Viewpoints.image -> Viewpoints.path
2017-11-17 19:27:20 +01:00
Yann Lanthony
a68dc53942 [ui] move Start/Stop button outside the GraphEditor 2017-11-17 19:22:12 +01:00
Yann Lanthony
4ca43028d8 [ui] add 3D viewer to ImageGallery
TODO: change Component's name
2017-11-17 19:19:49 +01:00
Yann Lanthony
851ebf60ee [core] add support for external graph computation via 'Submitter' API
* defines a base class for Submitters
* add method in graph module to submit a graph computation to a Submitter
* add SimpleFarmSubmitter and generalize meshroom_submit binary
2017-11-17 19:17:36 +01:00
Yann Lanthony
ae28a5477e [ui] add 3D viewer components 2017-11-17 19:02:24 +01:00
Yann Lanthony
cdcc8df33e [nodes] Publish: move filepaths resolution into a method 2017-11-17 18:59:27 +01:00
Yann Lanthony
7631a824f1 [nodes] Texturing: turn downscale into a ChoiceParam 2017-11-17 18:57:00 +01:00
Yann Lanthony
e8c579c942 [core] parallelization: introduce the notion of node 'size'
* node size is an estimation of the number of element to process on a given node, that may be used for parallelization.
* replace the explicit reference to an attribute on a node (Parallelization.inputListParamName)
* size can be:
  * dynamic: depends on the size of the node connected to a specific Attribute
  * static
2017-11-17 18:46:21 +01:00
Yann Lanthony
877025090e [graph] fix flowEdges method
only consider edges returned by dfsMaxEdgeLength
2017-11-17 18:38:44 +01:00
Yann Lanthony
900516a854 [graph] GroupAttribute: iterate over items() for uid generation
__iter__ of core/qt  backends differs for DictModel, which lead to inchorent uids.
TODO: fix that by defining a real DictModel in qt backend
2017-11-17 18:11:57 +01:00
Yann Lanthony
03058f4860 [nodes] turn several parameters into Choices 2017-11-17 17:56:33 +01:00
Yann Lanthony
6945cb7738 [core] fix: CoreListModel.indexOf actually returns the index 2017-11-17 17:51:41 +01:00
Yann Lanthony
911b5ea6d0 [ui] dev: watch qml source files recursively 2017-11-17 17:43:14 +01:00
Yann Lanthony
2749e1dcdd [ui] add placeholder application icon
use AliceVision logo until meshroom has its own icon
2017-11-17 17:42:52 +01:00
Yann Lanthony
83c6d68954 [ui] add palette variation for dark theme
Crtl+Shift+P allows to toggle between light and dark theme on the fly
2017-11-17 17:40:27 +01:00
Yann Lanthony
b8edf07e8d [ui] improved GraphEditor design 2017-11-17 17:36:10 +01:00
Fabien Castan
c6cdc229dc [bin] compute: fix "--toNode" option 2017-11-14 18:17:34 +01:00
Yann Lanthony
e053bb0f45 [ui] minor UI tweaks 2017-11-14 18:15:45 +01:00
Yann Lanthony
c190f418b7 [ui] wip: add ImageGallery + Viewer2D to main layout
* ImageGallery displays images from CameraInit.viewpoints
* support drag&drop of images
* Viewer2D displays and allows basic manipulation of currently selected image
2017-11-14 18:14:44 +01:00
Yann Lanthony
9cc70c8cff [ui] Reconstruction: images import and intrinsics update mechanism
* add methods to add images to the reconstruction (DropEvent or urls)
* explicitly call CameraInit's buildIntrinsics method
* update CameraInit with resulting views and intrinsics
2017-11-14 18:02:26 +01:00
Yann Lanthony
79209c5785 [ui] support connections on ListAttributes
* connection: append and connect to the new element
* disconnection: remove edge and delete element
2017-11-14 16:58:09 +01:00
Yann Lanthony
800314faa9 [ui] Reconstruction: add shortcut to push commands to the undo stack 2017-11-14 16:54:50 +01:00
Yann Lanthony
46463aa007 [ui] Reconstruction: catch errors on graph execution 2017-11-14 16:53:42 +01:00
Yann Lanthony
3fae2fbc57 [desc] convert IntParams inner value to long to avoid OverflowError
when storing unsigned int, shiboken will overflow when retrieving those values as int
2017-11-14 16:52:03 +01:00
Yann Lanthony
545952d3a9 [ui] minor fix on new() and clear()
* update graph after setting cacheDir
* clear graph before requesting its deletion on C++ side
2017-11-14 16:49:31 +01:00
Yann Lanthony
7d4c006e68 [graph] List: multiple children attribute deletion + remove edges if any 2017-11-14 16:35:24 +01:00
Yann Lanthony
0fa23edc82 [graph] trigger update when ListAttribute changes 2017-11-14 16:34:32 +01:00
Yann Lanthony
c3a1f05fdf [commands] introduce GroupedGraphModification
* allow to group graph modifications at undo/redo level
* add new EnableGraphUpdateCommand to change graph update behavior as a undoable command
2017-11-14 16:17:22 +01:00
Yann Lanthony
5f49e26216 [commands] ListAttributeAppendCommand: handle 'None' as value 2017-11-14 15:14:12 +01:00
Yann Lanthony
8b2224609c [commands] add higher-level error catching on undo/redo 2017-11-14 15:13:17 +01:00