[nodes] Change some input/output names

This commit is contained in:
jmelou 2024-06-05 15:27:08 +02:00
parent 1917de03f1
commit 49ed34caeb
3 changed files with 24 additions and 14 deletions

View file

@ -21,7 +21,7 @@ Can also be used to calibrate a lighting dome (RTI type).
uid=[0],
),
desc.File(
name="inputJSON",
name="inputDetection",
label="Sphere Detection File",
description="Input JSON file containing sphere centers and radiuses.",
value="",

View file

@ -39,7 +39,7 @@ The lighting conditions are assumed to be known.
label="Spherical Harmonics Order",
description="Order of the spherical harmonics:\n"
" - 0: directional.\n"
" - 1: directional + ambiant.\n"
" - 1: directional + ambient.\n"
" - 2: second order spherical harmonics.",
values=["0", "1", "2"],
value="0",
@ -48,9 +48,9 @@ The lighting conditions are assumed to be known.
uid=[0],
),
desc.BoolParam(
name="removeAmbiant",
label="Remove Ambiant Light",
description="True if the ambiant light is to be removed on the PS images, false otherwise.",
name="removeAmbient",
label="Remove Ambient Light",
description="True if the ambient light is to be removed on the PS images, false otherwise.",
value=False,
advanced=True,
uid=[0],
@ -91,14 +91,6 @@ The lighting conditions are assumed to be known.
value=desc.Node.internalFolder,
uid=[],
),
desc.File(
name="outputSfmData",
label="SfMData",
description="Output path for the SfMData file.",
value=desc.Node.internalFolder + "/sfmData.sfm",
uid=[],
group="", # remove from command line
),
desc.File(
name="outputSfmDataAlbedo",
label="SfMData Albedo",
@ -115,6 +107,14 @@ The lighting conditions are assumed to be known.
uid=[],
group="", # remove from command line
),
desc.File(
name="outputSfmDataNormalPNG",
label="SfMData Normal PNG",
description="Output SfMData file containing the normal maps information.",
value=desc.Node.internalFolder + "/normalMapsPNG.sfm",
uid=[],
group="", # remove from command line
),
# these attributes are only here to describe more accurately the output of the node
# by specifying that it generates 2 sequences of images
# (see in Viewer2D.qml how these attributes can be used)
@ -127,6 +127,15 @@ The lighting conditions are assumed to be known.
uid=[],
group="", # do not export on the command line
),
desc.File(
name="normalsPNG",
label="Normal Maps Camera (in false colors)",
description="Generated normal maps in the camera coordinate system (in false colors).",
semantic="image",
value=desc.Node.internalFolder + "<POSE_ID>_normals.png",
uid=[],
group="", # do not export on the command line
),
desc.File(
name="normalsWorld",
label="Normal Maps World",
@ -136,6 +145,7 @@ The lighting conditions are assumed to be known.
uid=[],
group="", # do not export on the command line
),
desc.File(
name="albedo",
label="Albedo Maps",

View file

@ -9,4 +9,4 @@ export PYTHONPATH=$MESHROOM_ROOT:$PYTHONPATH
# using alicevision built source
#export PATH=$PATH:/foo/build/Linux-x86_64/
python "$MESHROOM_ROOT/meshroom/ui"
python3 "$MESHROOM_ROOT/meshroom/ui"