mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-02 08:18:25 +02:00
added some comments
This commit is contained in:
parent
a574c0fc9b
commit
b4f0b5377e
5 changed files with 13 additions and 23 deletions
|
@ -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',
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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=[],
|
||||
),
|
||||
]
|
||||
|
|
|
@ -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=''
|
||||
)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue