mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-31 09:56:32 +02:00
[nodes] PS: Expose normal and albedo maps in Viewer
This commit is contained in:
parent
bfd1db8b89
commit
5e49ee3f58
2 changed files with 25 additions and 2 deletions
|
@ -214,13 +214,15 @@ FocusScope {
|
|||
|
||||
var viewId = -1;
|
||||
var intrinsicId = -1;
|
||||
var poseId = -1;
|
||||
var fileName = "";
|
||||
if (_reconstruction) {
|
||||
viewId = _reconstruction.selectedViewId;
|
||||
intrinsicId = getViewpointAttribute("intrinsicId", viewId);
|
||||
fileName = Filepath.removeExtension(Filepath.basename(getViewpointAttribute("path",viewId)));
|
||||
poseId = getViewpointAttribute("poseId", viewId);
|
||||
fileName = Filepath.removeExtension(Filepath.basename(getViewpointAttribute("path", viewId)));
|
||||
}
|
||||
var patterns = {"<VIEW_ID>": viewId,"<INTRINSIC_ID>": intrinsicId, "<FILENAME>": fileName}
|
||||
var patterns = {"<VIEW_ID>": viewId, "<INTRINSIC_ID>": intrinsicId, "<POSE_ID>": poseId, "<FILENAME>": fileName}
|
||||
return getFileAttributePath(displayedNode, outputAttribute.name,patterns);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue