[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], uid=[0],
), ),
desc.File( desc.File(
name="inputJSON", name="inputDetection",
label="Sphere Detection File", label="Sphere Detection File",
description="Input JSON file containing sphere centers and radiuses.", description="Input JSON file containing sphere centers and radiuses.",
value="", value="",

View file

@ -39,7 +39,7 @@ The lighting conditions are assumed to be known.
label="Spherical Harmonics Order", label="Spherical Harmonics Order",
description="Order of the spherical harmonics:\n" description="Order of the spherical harmonics:\n"
" - 0: directional.\n" " - 0: directional.\n"
" - 1: directional + ambiant.\n" " - 1: directional + ambient.\n"
" - 2: second order spherical harmonics.", " - 2: second order spherical harmonics.",
values=["0", "1", "2"], values=["0", "1", "2"],
value="0", value="0",
@ -48,9 +48,9 @@ The lighting conditions are assumed to be known.
uid=[0], uid=[0],
), ),
desc.BoolParam( desc.BoolParam(
name="removeAmbiant", name="removeAmbient",
label="Remove Ambiant Light", label="Remove Ambient Light",
description="True if the ambiant light is to be removed on the PS images, false otherwise.", description="True if the ambient light is to be removed on the PS images, false otherwise.",
value=False, value=False,
advanced=True, advanced=True,
uid=[0], uid=[0],
@ -91,14 +91,6 @@ The lighting conditions are assumed to be known.
value=desc.Node.internalFolder, value=desc.Node.internalFolder,
uid=[], 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( desc.File(
name="outputSfmDataAlbedo", name="outputSfmDataAlbedo",
label="SfMData Albedo", label="SfMData Albedo",
@ -115,6 +107,14 @@ The lighting conditions are assumed to be known.
uid=[], uid=[],
group="", # remove from command line 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 # these attributes are only here to describe more accurately the output of the node
# by specifying that it generates 2 sequences of images # by specifying that it generates 2 sequences of images
# (see in Viewer2D.qml how these attributes can be used) # (see in Viewer2D.qml how these attributes can be used)
@ -127,6 +127,15 @@ The lighting conditions are assumed to be known.
uid=[], uid=[],
group="", # do not export on the command line 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( desc.File(
name="normalsWorld", name="normalsWorld",
label="Normal Maps World", label="Normal Maps World",
@ -136,6 +145,7 @@ The lighting conditions are assumed to be known.
uid=[], uid=[],
group="", # do not export on the command line group="", # do not export on the command line
), ),
desc.File( desc.File(
name="albedo", name="albedo",
label="Albedo Maps", label="Albedo Maps",

View file

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