Commit graph

4494 commits

Author SHA1 Message Date
Fabien Castan
d4376ca440 [bin] photogrammetry: add inputImages argument 2017-10-31 21:28:45 +01:00
Fabien Castan
fb92af531d [multiview] add output option using the Publish node 2017-10-31 21:28:45 +01:00
Fabien Castan
0f2f6c4796 [nodes] new Publish node 2017-10-31 21:28:45 +01:00
Fabien Castan
9d3f7252c1 [core] move process code into the node description
Now CommandLineNode contains the code to launch the command line as a
subprocess.
2017-10-31 21:28:44 +01:00
Fabien Castan
a576fb8ce4 [multiview] set inputs only if not empty
Avoid errors with None
2017-10-31 21:21:10 +01:00
Fabien Castan
40b320f1b8 [multiview] connect on previous node only 2017-10-31 21:20:09 +01:00
Fabien Castan
96ac1216c3 [nodes] meshing: fix command line 2017-10-31 21:19:07 +01:00
Fabien Castan
88a935f925 [nodes] texturing: add output files 2017-10-31 21:11:34 +01:00
Fabien Castan
eec52e45e3 [core] implement _applyExpr for List/GroupAttributes 2017-10-31 20:55:56 +01:00
Yann Lanthony
fbebecd463 [graph] default uidIndex value for Attribute.uid method
This index only makes sense on ListAttributes and GroupAttributes
2017-10-31 19:50:29 +01:00
Yann Lanthony
16e8037fd7 [core] change Attributes declaration on Node description
Inputs and outputs Attributes are now declared in two separate lists
* no more isOutput field on Attribute description
* guarantee attributes order (was not the case in Python2 with class attributes)
* Attribute's name is now part of its description

Note: for now, input and output Attributes are still stored in a single model inside a Graph.
2017-10-31 19:47:32 +01:00
Yann Lanthony
00366cda00 [ui] introduce first functional UI with a graph editor
First functional UI that allows to visualize, modify and execute a graph locally.
* use QtQuick Controls 2 + Shapes (Qt >=5.10)
* main menu to save/load a graph
2017-10-31 16:54:16 +01:00
Yann Lanthony
e683238a8d [ui] update main
* use Fusion style by default (Qt >= 5.10)
* enable high DPI scaling
* parent main Reconstruction to the application
2017-10-31 16:53:35 +01:00
Yann Lanthony
788fe7d4dc [ui] simplify EdgeMouseArea component
Removed independant start/end points; cubic spline starts from (0,0) to (width, height)
2017-10-31 16:53:35 +01:00
Fabien Castan
1dbf002557 [nodes] use Choice param for scale 2017-10-31 16:50:31 +01:00
Fabien Castan
329dcba3a5 [core] add validator per attribute type 2017-10-31 16:50:31 +01:00
Fabien Castan
11cfece411 [bin] photogrammetry: expose mvs scale parameter 2017-10-31 16:50:30 +01:00
Fabien Castan
eaa22528f1 [nodes] expose texturing parameters 2017-10-31 16:50:30 +01:00
Fabien Castan
eb85aee728 [nodes] update MVS to aliceVision binaries 2017-10-31 16:50:29 +01:00
Fabien Castan
06a8cbaf45 [nodes] CamPairs renamed to CameraConnection 2017-10-31 16:50:29 +01:00
Fabien Castan
041f98ae8a [tests] tests UIDs on the multiview pipeline
* ensure that identical graphs have the same UIDs
* ensure that multiview pipeline graphs with different input images have
different UIDs on all output attributes
2017-10-31 12:12:51 +01:00
Fabien Castan
ffddc14acd [nodes] fix: output attributes cannot be part of UIDs 2017-10-31 12:11:08 +01:00
Fabien Castan
e79a5cceb5 [core] retrieve all children uids on List/GroupAttributes descriptors 2017-10-31 12:10:16 +01:00
Fabien Castan
17e77f2e82 [core] add 'items' on CoreModel 2017-10-31 12:09:26 +01:00
Fabien Castan
b7175e219f [tests] test multiview pipeline and List/GroupAttributes set/get 2017-10-31 12:08:58 +01:00
Fabien Castan
e0c52898cc [tests] test uid on input params with/without link 2017-10-31 10:49:30 +01:00
Fabien Castan
1af40dac9e [tests] remove useless main 2017-10-31 10:48:27 +01:00
Fabien Castan
2e035d5a7a [multiview] add arguments to directly provide input images to the pipeline 2017-10-31 10:48:06 +01:00
Fabien Castan
46f6865a25 [core] implement uid computation for ListAttributes and GroupAttributes 2017-10-31 10:46:32 +01:00
Yann Lanthony
f1fdd34b6c [graph] Attribute: robust UIDs for list of elements as value
Fix variable UIDs for non-exclusive choices, which could be affected by different string encodings
2017-10-30 19:23:50 +01:00
Yann Lanthony
7e2d37c819 [graph] fix Node status update from cache
updateStatusFromCache reset Node's status to NONE is status file does not exist, but does not save it on disk anymore.
2017-10-30 19:18:41 +01:00
Yann Lanthony
3b45ac1669 [tests] add tests on graph invalidation 2017-10-30 17:48:54 +01:00
Yann Lanthony
f051148d7a [graph] update cacheDir property on load
use property setter instead of changing the value internally
2017-10-30 17:08:25 +01:00
Yann Lanthony
f8d9251c61 [aliceVision] Add Viewpoint parameter on CameraInit 2017-10-30 17:04:37 +01:00
Yann Lanthony
c5ce41f49e [commands] fix missing import 2017-10-30 16:41:47 +01:00
Yann Lanthony
1ec966fe2c [commands] remove unnecessary updates
* Core Graph is now updated  internally when needed
* addNewNode already calls applyExpr on newly created node
2017-10-30 16:39:49 +01:00
Yann Lanthony
5e4b26fa5e [graph] automatically trigger Graph updates
* update graph internals / node status when:
 - an input attribute is set
 - edges are added/removed
* add GraphModification context manager to group graph updates
2017-10-30 16:37:09 +01:00
Yann Lanthony
a0cdc65143 [core] add isInput property in Attribute desc 2017-10-30 16:21:51 +01:00
Yann Lanthony
b22c2b5a62 [graph] minor clean 2017-10-30 11:56:29 +01:00
Yann Lanthony
454b19ed0f [graph] dummy override of List/GroupAttribute uid methods
TODO: implement the real uid mechanism based on child attributes
2017-10-30 11:40:40 +01:00
Yann Lanthony
263ad6b4f5 [graph] remove uid on node, use name as unique identifier 2017-10-30 11:38:42 +01:00
Yann Lanthony
c1a0f43ee3 [graph] handle invalidation value for output attributes
output attributes UIDs are only based on the hash of their values without the cache folder
2017-10-30 11:35:07 +01:00
Yann Lanthony
7da2466c74 [core] expose registerNodeType function 2017-10-30 10:30:28 +01:00
Fabien Castan
b95e96449b [bin] new simpleFarm submitter
It contains some Mikros-specific tractor filters.
2017-10-27 11:59:21 +02:00
Fabien Castan
c43d371018 [bin] compute: add "extern" option to know if we are computing on renderfarm 2017-10-27 11:40:42 +02:00
Fabien Castan
6f2ea4c8ef [core] support killed job
* add KILLED status
* register atexit function to update the status of running nodes to
KILLED
2017-10-27 11:24:12 +02:00
Fabien Castan
99ec7ab386 [doc] cosmetic 2017-10-26 18:47:27 +02:00
Fabien Castan
486d1081c8 [core] if rez is in env use it for command line creation 2017-10-26 18:47:01 +02:00
Fabien Castan
0b0ef01997 [core] add package and package version notion 2017-10-26 18:02:28 +02:00
Fabien Castan
0bdad5a588 [nodes] create default values from os.environ directly in nodes 2017-10-26 16:10:14 +02:00