mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-31 07:18:25 +02:00
[nodes] meshing/texturing: expose parameters
This commit is contained in:
parent
2f63d5b010
commit
0bb05e99e7
3 changed files with 43 additions and 2 deletions
|
@ -54,7 +54,8 @@ def photogrammetryPipeline(output='', inputFolder='', inputImages=[], inputViewp
|
|||
meshing = graph.addNewNode('Meshing',
|
||||
ini=depthMapFilter.ini)
|
||||
texturing = graph.addNewNode('Texturing',
|
||||
ini=meshing.ini)
|
||||
ini=meshing.ini,
|
||||
inputDenseReconstruction=meshing.outputDenseReconstruction)
|
||||
publish = graph.addNewNode('Publish',
|
||||
inputFiles=[texturing.outputMesh, texturing.outputMaterial, texturing.outputTextures],
|
||||
output=output)
|
||||
|
|
|
@ -15,6 +15,31 @@ class Meshing(desc.CommandLineNode):
|
|||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='maxPts',
|
||||
label='maxPts',
|
||||
description='Max points',
|
||||
value=6000000,
|
||||
range=(500000, 30000000, 1000),
|
||||
uid=[0],
|
||||
),
|
||||
desc.IntParam(
|
||||
name='maxPtsPerVoxel',
|
||||
label='maxPtsPerVoxel',
|
||||
description='Max points per voxel',
|
||||
value=1000000,
|
||||
range=(500000, 30000000, 1000),
|
||||
uid=[0],
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='partitioning',
|
||||
label='Partitioning',
|
||||
description='',
|
||||
value='singleBlock',
|
||||
values=('singleBlock', 'auto'),
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
|
@ -22,7 +47,15 @@ class Meshing(desc.CommandLineNode):
|
|||
name="output",
|
||||
label="Output mesh",
|
||||
description="Output mesh (OBJ file format).",
|
||||
value='{cache}/{nodeType}/{uid0}/mesh.obj',
|
||||
value="{cache}/{nodeType}/{uid0}/mesh.obj",
|
||||
uid=[],
|
||||
),
|
||||
desc.File(
|
||||
name="outputDenseReconstruction",
|
||||
label="Output reconstruction",
|
||||
description="Output dense reconstruction (BIN file format).",
|
||||
value="{cache}/{nodeType}/{uid0}/denseReconstruction.bin",
|
||||
uid=[],
|
||||
group="",
|
||||
),
|
||||
]
|
||||
|
|
|
@ -15,6 +15,13 @@ class Texturing(desc.CommandLineNode):
|
|||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='inputDenseReconstruction',
|
||||
label='Input Dense Reconstruction',
|
||||
description='Path to the dense reconstruction result (mesh with per vertex visibility).',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='inputMesh',
|
||||
label='Other Input Mesh',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue