Skip to content

Commit 76daea9

Browse files
committed
[nodes] PanoramaWarping: add maxPanoramaWidth
1 parent 1168464 commit 76daea9

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

meshroom/nodes/aliceVision/PanoramaWarping.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,20 @@ class PanoramaWarping(desc.CommandLineNode):
5151
' * 0: all pixels will be downscaled\n'
5252
' * 50: on average the input resolution is kept (optimal to reduce over/under-sampling)\n'
5353
' * 100: all pixels will be upscaled\n',
54-
value=30,
54+
value=50,
5555
range=(0, 100, 1),
5656
enabled=lambda node: (node.estimateResolution.value),
5757
uid=[0]
5858
),
59+
desc.IntParam(
60+
name='maxPanoramaWidth',
61+
label='Max Panorama Width',
62+
description='Choose the maximal output panorama width (in pixels). Zero means no limit.',
63+
value=35000,
64+
range=(0, 100000, 1000),
65+
uid=[0],
66+
enabled=lambda node: (node.estimateResolution.value),
67+
),
5968
desc.ChoiceParam(
6069
name='storageDataType',
6170
label='Storage Data Type',

0 commit comments

Comments
 (0)