mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-29 17:06:35 +02:00
[nodes] separate choice parameter for bump mapping file type
One for Normal, one for Height
This commit is contained in:
parent
b21ac27942
commit
4346e55d5c
1 changed files with 12 additions and 3 deletions
|
@ -125,15 +125,24 @@ Many cameras are contributing to the low frequencies and only the best ones cont
|
|||
enabled=lambda node: node.bumpMapping.enable.value,
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='bumpMappingFileType',
|
||||
name='normalFileType',
|
||||
label='File Type',
|
||||
description='NormalMap Texture File Type',
|
||||
value='exr',
|
||||
#values= lambda node: ('exr', 'png', 'tiff', 'jpg') if node.bumpType.value == "Normal" else ('exr',),
|
||||
values = ('exr', 'png', 'tiff', 'jpg'),
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.bumpMapping.enable.value,
|
||||
enabled=lambda node: node.bumpMapping.enable.value and node.bumpMapping.bumpType.value == "Normal",
|
||||
),
|
||||
desc.ChoiceParam(
|
||||
name='heightFileType',
|
||||
label='File Type',
|
||||
description='HeightMap Texture File Type',
|
||||
value='exr',
|
||||
values=('exr',),
|
||||
exclusive=True,
|
||||
uid=[0],
|
||||
enabled=lambda node: node.bumpMapping.enable.value and node.bumpMapping.bumpType.value == "Height",
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue