[nodes] Texturing: add refMesh and Normal / Height Map file type

This commit is contained in:
Thomas Zorroche 2021-07-23 14:18:16 +02:00
parent 5bdbeaf0d8
commit fdfd2e7b01

View file

@ -44,6 +44,13 @@ Many cameras are contributing to the low frequencies and only the best ones cont
value='',
uid=[0],
),
desc.File(
name='inputRefMesh',
label='Ref Mesh',
description='Optional input mesh to compute height maps and normal maps. If not provided, no additional maps with geometric information will be generated.',
value='',
uid=[0],
),
desc.ChoiceParam(
name='textureSide',
label='Texture Side',
@ -71,6 +78,24 @@ Many cameras are contributing to the low frequencies and only the best ones cont
exclusive=True,
uid=[0],
),
desc.ChoiceParam(
name='outputNormalMapFileType',
label='NormalMap File Type',
description='NormalMap Texture File Type',
value='png',
values=('jpg', 'png', 'tiff', 'exr'),
exclusive=True,
uid=[0],
),
desc.ChoiceParam(
name='outputHeightMapFileType',
label='HeightMap File Type',
description='HeightMap Texture File Type',
value='png',
values=('jpg', 'png', 'tiff', 'exr'),
exclusive=True,
uid=[0],
),
desc.ChoiceParam(
name='unwrapMethod',
label='Unwrap Method',