[nodes] MVS: export data per node folder

This commit is contained in:
Fabien Castan 2017-12-11 20:35:35 +01:00
parent a82fdb5b88
commit c26bb5be7a
4 changed files with 43 additions and 0 deletions

View file

@ -50,8 +50,11 @@ def photogrammetryPipeline(output='', inputFolder='', inputImages=[], inputViewp
depthMap = graph.addNewNode('DepthMap',
ini=cameraConnection.ini)
depthMapFilter = graph.addNewNode('DepthMapFilter',
depthMapFolder=depthMap.output,
ini=depthMap.ini)
meshing = graph.addNewNode('Meshing',
depthMapFolder=depthMapFilter.depthMapFolder,
depthMapFilterFolder=depthMapFilter.output,
ini=depthMapFilter.ini)
texturing = graph.addNewNode('Texturing',
ini=meshing.ini,

View file

@ -18,3 +18,12 @@ class DepthMap(desc.CommandLineNode):
),
]
outputs = [
desc.File(
name='output',
label='Output',
description='Output folder for generated depth maps.',
value='{cache}/{nodeType}/{uid0}/',
uid=[],
),
]

View file

@ -16,4 +16,21 @@ class DepthMapFilter(desc.CommandLineNode):
value='',
uid=[0],
),
desc.File(
name="depthMapFolder",
label='Depth Map Folder',
description='Input depth map folder',
value='',
uid=[0],
),
]
outputs = [
desc.File(
name='output',
label='Output',
description='Output folder for generated depth maps.',
value='{cache}/{nodeType}/{uid0}/',
uid=[],
),
]

View file

@ -40,6 +40,20 @@ class Meshing(desc.CommandLineNode):
exclusive=True,
uid=[0],
),
desc.File(
name="depthMapFolder",
label='Depth Maps Folder',
description='Input depth maps folder',
value='',
uid=[0],
),
desc.File(
name="depthMapFilterFolder",
label='Filtered Depth Maps Folder',
description='Input filtered depth maps folder',
value='',
uid=[0],
),
]
outputs = [