This node exports several files from a mask. The images are exported as gray levels, each pixel having a value between 0 and 1. The generated images have the resolution of the mask as its size, and the gray levels (0 is the min value and 1 is the max value) determine the value of each point.
The advantage of exporting multiple files is to optimize the rendering times for very large masks in an external engine where it is more practical to manage parts of the mask in different files.
To add a node, right click in the Graph Editor and select Create Node > Export > Multi file export mask.
Double click on the node to open its parameters:
To export a mask to multiple files, set the following parameters:
See Explanation about the formula for a detailed description about the formula.
Browse to the folder where want to save your files and copy the path.
In File pattern in the parameters dialog, paste the path and add a file name, for example here we add "Mask" and then _$x_$y, where $x represents the position of the part of the mask on the X axis and $y represents the Y axis.
The following pattern works for exporting to UE4: "filename_X$x_Y$y.png" (UE4 requires an "X" and an "Y" before the coordinates of the tile).
A pop-up dialog displays the progress of the export.
Another popup-up dialog confirms the export.
The files are exported to the directory entered in the File pattern box.
For the imported files, the node:
Each file is loaded, and forms the corresponding part of the final mask.
The replacement rules in the file names (or directory) are:
|File pattern||Name and directory of the files to export|
|File format||Format of the files to export|
|Width and height||Sets the width and height of each file to export|
|Overlapping||Sets the number of rows or columns to overlap|
|Number of files||Non-editable parameter displaying the number of files to export depending on the graph and overlapping|
Copyright © 2019 · All Rights Reserved · Wysilab