autotx arguments

autotx arguments

autodesk5476
Observer Observer
240 Views
2 Replies
Message 1 of 3

autotx arguments

autodesk5476
Observer
Observer

Hi everyone,

We disabled Maya’s auto-tx feature globally due to recurring issues. I’ve written a standalone script that uses the maketx executable to generate .tx files, respecting colorspace conversion and other settings. However, the colors appear incorrect when loaded in Arnold, and the file sizes differ from those generated automatically by Maya.

Does anyone know the exact default arguments Maya uses when auto-generating .tx files? The documentation mentions --oiio and -u, but it seems Maya also applies --colorconvert (and possibly others) when needed.

Any insights or experience with this would be greatly appreciated!

0 Likes
Accepted solutions (1)
241 Views
2 Replies
Replies (2)
Message 2 of 3

ashley.handscomb.retallack
Autodesk
Autodesk
Accepted solution

The arguments depend on the input file, the colorspace converting from, and the target colorspace rendering to.

The txManager and autotx it's self call the Arnold API AiTextureAutoTxFlags to get the arguments. 

 

--colorconvert is the flag used to convert from the source colorspace to the target colorspace. without it no clolorspace convetrtion will be performed

 



Ashley Handscomb Retallack
Senior Software Engineer (Arnold)
Arnold Documentation | Arnold Downloads
0 Likes
Message 3 of 3

autodesk5476
Observer
Observer

Thanks !
It was exactly what I needed !

0 Likes