Skip to content

Commit

Permalink
[nodes] Texturing: simplify subdivision parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Jan 15, 2020
1 parent 35258ac commit 1814a34
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions meshroom/nodes/aliceVision/Texturing.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,20 +182,14 @@ class Texturing(desc.CommandLineNode):
uid=[0],
advanced=True,
),
desc.BoolParam(
name='allowSubdivision',
label='Allow Subdivision',
description='''If the mesh is simplified, it will be subdivide for more fine grain decision on the best visibilities to use per triangle to create the final texture.''',
value=False,
uid=[0],
),
desc.FloatParam(
name='subdivisionFactor',
label='Subdivision Factor',
description='''Ratio to choose the density between input mesh and reconstruction (0: keep input mesh density, 1: use the full density of the reconstruction).''',
value=0.5,
name='subdivisionTargetRatio',
label='Subdivision Target Ratio',
description='''Percentage of the density of the reconstruction as the target for the subdivision (0: disable subdivision, 0.5: half density of the reconstruction, 1: full density of the reconstruction).''',
value=0.8,
range=(0.0, 1.0, 0.001),
uid=[0],
advanced=True,
),
desc.ChoiceParam(
name='verboseLevel',
Expand Down

0 comments on commit 1814a34

Please sign in to comment.