diff --git a/meshroom/nodes/aliceVision/ExportAnimatedCamera.py b/meshroom/nodes/aliceVision/ExportAnimatedCamera.py index 7fef4a1115..390e1ef51d 100644 --- a/meshroom/nodes/aliceVision/ExportAnimatedCamera.py +++ b/meshroom/nodes/aliceVision/ExportAnimatedCamera.py @@ -27,21 +27,44 @@ 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( name='undistortedImageType', - label='Undistort Image Format', + label='Undistort Image Format ', description='Image file format to use for undistorted images ("jpg", "png", "tif", "exr (half)").', - value='jpg', + value='exr', values=['jpg', 'png', 'tif', 'exr'], exclusive=True, uid=[0], + enabled= lambda node: node.exportUndistortedImages.value, + ), + desc.BoolParam( + name='exportFullROD', + label='Export Full ROD', + description='Export Full ROD.', + value=False, + enabled=lambda node: node.exportUndistortedImages.value and node.undistortedImageType.value == 'exr', + uid=[0], + ), + desc.BoolParam( + name='correctPrincipalPoint', + label='Correct Principal Point ', + description='Correct Principal Point.', + value=True, + uid=[0], ), desc.ChoiceParam( name='verboseLevel', @@ -70,4 +93,5 @@ class ExportAnimatedCamera(desc.CommandLineNode): group='', # exclude from command line uid=[], ), - ] + ] +