Hi all,
OS: Windows 10, Maya 2017 update 5, MtoA 3.0.1
The PNG textures I exported from Substance Painter are of different color spaces. Some are sRGB and some are linear. They all saved in the same folder.
When using Tx Manager to convert those PNGs using "Use Texture in Folder" and "-v -u --unpremult --oiio" as options, the tx files that are converted from the PNGs that are of linear color space (ex. roughness, normal) seem to be treated as if they are saved in sRGB (probably due to the PNG file extension).
Is there a way or flags/options in Tx Manager to convert correctly a folder of textures that are of the same file extension but of mixed color spaces?
Thanks!
You would have to add the required maketx command-line flags.
Instead, can you define Color Space Rules based on the filenames? (in the Color Management Preferences).
I follow below method.
In color management, input colorspace to RAW, reapply rule to scene(it changes all textures input colorspace to RAW) . Then manually I change the sRGB color textures to sRGB in input texture colorspace option of texture node, tick on ignore colorspace option.
You can start converting to tx now.
Or
@Stephen Blair, I can try editing the filename before exporting from Substance Painter.
@Girijashankar Senapati I am not sure how it works internally but it works if I load those PNGs first in file nodes first as you mentioned. So is it correct that when I set to "Use Texture in Folder" in Tx Manager, it still parses through the scene to see if a texture is loaded in the file node with corresponding color space settings and flags (like ignore colorspace option)?
It would be great if I can use Tx Manager to convert correctly without loading those PNGs into each file nodes first.
or you autotx a few, and then use the same command line args
use oiiotool -v --info on the files to get the info (oiiotool ships with htoa)
I'd like to convert all .png in a folder to .tx in one go using Tx Manager in Maya given the .png are in different color spaces.
In my test, it seems whether the .png are loaded in file nodes (hence color-managed by Maya) or not will affect how Tx Manager treat and convert those png textures. Can you confirm the this behavior is correct and expected or I am missing something.
Ah yes, of course. Yes, the tx manager checks the color space settings in the file node, and based on that adds a --colorconvert if necessary