mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-20 10:07:16 +02:00
[nodes] texturing: new parameters
This commit is contained in:
parent
ef591dd213
commit
a19c7786af
1 changed files with 41 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
__version__ = "1.0"
|
__version__ = "2.0"
|
||||||
|
|
||||||
from meshroom.core import desc
|
from meshroom.core import desc
|
||||||
|
|
||||||
|
@ -83,6 +83,37 @@ class Texturing(desc.CommandLineNode):
|
||||||
range=(0, 100, 1),
|
range=(0, 100, 1),
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
desc.IntParam(
|
||||||
|
name='maxNbImagesForFusion',
|
||||||
|
label='Max Nb of Images For Fusion',
|
||||||
|
description='''Max number of images to combine to create the final texture''',
|
||||||
|
value=3,
|
||||||
|
range=(0, 10, 1),
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.FloatParam(
|
||||||
|
name='bestScoreThreshold',
|
||||||
|
label='Best Score Threshold',
|
||||||
|
description='''(0.0 to disable filtering based on threshold to relative best score)''',
|
||||||
|
value=0.0,
|
||||||
|
range=(0.0, 1.0, 0.01),
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.FloatParam(
|
||||||
|
name='angleHardThreshold',
|
||||||
|
label='Angle Hard Threshold',
|
||||||
|
description='''(0.0 to disable angle hard threshold filtering)''',
|
||||||
|
value=90.0,
|
||||||
|
range=(0.0, 180.0, 0.01),
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
|
desc.BoolParam(
|
||||||
|
name='forceVisibleByAllVertices',
|
||||||
|
label='Force Visible By All Vertices',
|
||||||
|
description='''Triangle visibility is based on the union of vertices visiblity.''',
|
||||||
|
value=False,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.BoolParam(
|
desc.BoolParam(
|
||||||
name='flipNormals',
|
name='flipNormals',
|
||||||
label='Flip Normals',
|
label='Flip Normals',
|
||||||
|
@ -90,6 +121,15 @@ class Texturing(desc.CommandLineNode):
|
||||||
value=False,
|
value=False,
|
||||||
uid=[0],
|
uid=[0],
|
||||||
),
|
),
|
||||||
|
desc.ChoiceParam(
|
||||||
|
name='visibilityRemappingMethod',
|
||||||
|
label='Visibility Remapping Method',
|
||||||
|
description='''Method to remap visibilities from the reconstruction to the input mesh (Pull, Push, PullPush).''',
|
||||||
|
value='PullPush',
|
||||||
|
values=['Pull', 'Push', 'PullPush'],
|
||||||
|
exclusive=True,
|
||||||
|
uid=[0],
|
||||||
|
),
|
||||||
desc.ChoiceParam(
|
desc.ChoiceParam(
|
||||||
name='verboseLevel',
|
name='verboseLevel',
|
||||||
label='Verbose Level',
|
label='Verbose Level',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue