Skip to content

Commit

Permalink
[nodes] ExportAnimatedCamera: export undistort UV maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jouetp authored and fabiencastan committed Jan 25, 2021
1 parent 8d0cd74 commit 6ef46f9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion meshroom/nodes/aliceVision/ExportAnimatedCamera.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,18 @@ class ExportAnimatedCamera(desc.CommandLineNode):
value='',
uid=[0],
),
desc.BoolParam(
name='exportUVMaps',
label='Export UV Maps',
description='Export UV Maps, absolutes values (x,y) of distortion are encoding in UV channels.',
value=True,
uid=[0],
),
desc.BoolParam(
name='exportUndistortedImages',
label='Export Undistorted Images',
description='Export Undistorted Images.',
value=True,
value=False,
uid=[0],
),
desc.ChoiceParam(
Expand All @@ -41,6 +48,7 @@ class ExportAnimatedCamera(desc.CommandLineNode):
values=['jpg', 'png', 'tif', 'exr'],
exclusive=True,
uid=[0],
enabled= lambda node: node.exportUndistortedImages.value == 1,
),
desc.ChoiceParam(
name='verboseLevel',
Expand Down

0 comments on commit 6ef46f9

Please sign in to comment.