[nodes] Texturing: simplify subdivision parameters

This commit is contained in:
Fabien Castan 2020-01-15 10:53:18 +01:00
parent 35258aceae
commit 1814a34ab8

View file

@ -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',