added some comments

This commit is contained in:
Loïc Vital 2022-09-21 13:07:41 +02:00 committed by Fabien Castan
parent a574c0fc9b
commit b4f0b5377e
5 changed files with 13 additions and 23 deletions

View file

@ -298,6 +298,9 @@ Use a downscale factor of one (full-resolution) only if the quality of the input
value=desc.Node.internalFolder,
uid=[],
),
# 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)
desc.File(
name='depth',
label='Depth Maps',

View file

@ -128,6 +128,9 @@ This allows to filter unstable points before starting the fusion of all depth ma
value=desc.Node.internalFolder,
uid=[],
),
# 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)
desc.File(
name='depth',
label='Depth Maps',

View file

@ -338,21 +338,12 @@ Convert or apply filtering to the input images.
value=desc.Node.internalFolder,
uid=[],
),
#desc.File(
# name='outputImages',
# label='Output Images',
# description='Output Image Files.',
# value= outputImagesValueFunct,
# group='', # do not export on the command line
# uid=[],
#),
desc.File(
name='outputImages',
label='Output Images',
description='Output Image Files.',
semantic='image',
value=desc.Node.internalFolder + '<VIEW_ID>.exr',
group='', # do not export on the command line
uid=[]
)
value= outputImagesValueFunct,
group='', # do not export on the command line
uid=[],
),
]

View file

@ -342,20 +342,11 @@ Many cameras are contributing to the low frequencies and only the best ones cont
uid=[],
group='',
),
#desc.File(
# name='outputTextures',
# label='Textures',
# description='Output Texture files.',
# value= lambda attr: desc.Node.internalFolder + 'texture_*.' + attr.node.colorMapping.colorMappingFileType.value if attr.node.colorMapping.enable.value else '',
# uid=[],
# group='',
# ),
desc.File(
name='outputTextures',
label='Textures',
description='Output Texture files.',
semantic='image',
value=desc.Node.internalFolder+'texture_*.exr',
value= lambda attr: desc.Node.internalFolder + 'texture_*.' + attr.node.colorMapping.colorMappingFileType.value if attr.node.colorMapping.enable.value else '',
uid=[],
group=''
)

View file

@ -155,6 +155,8 @@ FocusScope {
}
function getImageFile() {
// entry point for getting the image file URL that corresponds to
// the displayed node, selected output attribute and selected viewId
if (outputAttribute.name == "") {
return getViewpointPath(_reconstruction.selectedViewId);
}