From e23b0819f815efc9462339675049672894387c48 Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Fri, 18 Oct 2024 10:11:15 +0200 Subject: [PATCH 1/2] Enable display of contact sheets --- meshroom/nodes/aliceVision/PanoramaInit.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/meshroom/nodes/aliceVision/PanoramaInit.py b/meshroom/nodes/aliceVision/PanoramaInit.py index a334752b34..1e59afb2a3 100644 --- a/meshroom/nodes/aliceVision/PanoramaInit.py +++ b/meshroom/nodes/aliceVision/PanoramaInit.py @@ -142,6 +142,15 @@ class PanoramaInit(desc.AVCommandLineNode): ] outputs = [ + desc.File( + name="contactSheet", + label="Contact sheet", + semantic="image", + description="Contact sheet path.", + value=desc.Node.internalFolder + "contactSheetImage.jpg", + group="", # do not export on the command line + enabled=lambda node: node.buildContactSheet.enabled + ), desc.File( name="outSfMData", label="SfMData File", From ef5130eb857a336efb14be0d6c48ede70d6b81bc Mon Sep 17 00:00:00 2001 From: Fabien Servant Date: Fri, 18 Oct 2024 10:11:47 +0200 Subject: [PATCH 2/2] Display panorama preview instead of full resolution --- .../nodes/aliceVision/PanoramaPostProcessing.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meshroom/nodes/aliceVision/PanoramaPostProcessing.py b/meshroom/nodes/aliceVision/PanoramaPostProcessing.py index ea859024a8..54d60552a1 100644 --- a/meshroom/nodes/aliceVision/PanoramaPostProcessing.py +++ b/meshroom/nodes/aliceVision/PanoramaPostProcessing.py @@ -102,13 +102,6 @@ class PanoramaPostProcessing(desc.CommandLineNode): ] outputs = [ - desc.File( - name="outputPanorama", - label="Output Panorama", - description="Generated panorama in EXR format.", - semantic="image", - value=lambda attr: desc.Node.internalFolder + attr.node.panoramaName.value, - ), desc.File( name="outputPanoramaPreview", label="Output Panorama Preview", @@ -116,6 +109,13 @@ class PanoramaPostProcessing(desc.CommandLineNode): semantic="image", value=lambda attr: desc.Node.internalFolder + attr.node.previewName.value, ), + desc.File( + name="outputPanorama", + label="Output Panorama", + description="Generated panorama in EXR format.", + semantic="image", + value=lambda attr: desc.Node.internalFolder + attr.node.panoramaName.value, + ), desc.File( name="downscaledPanoramaLevels", label="Downscaled Panorama Levels",