Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Tx Manager Fail to convert multichannel exr file

14 REPLIES 14
Reply
Message 1 of 15
Anonymous
722 Views, 14 Replies

Tx Manager Fail to convert multichannel exr file

Tx Manager Fail to convert multichannel exr file
Only the first channel are converted to .tx file the rest are ignored
No problem when using maketx command
maketx -v -u --oiio multiHDRI.exr (all channels are converted )
You can replicate this
aiImage (multiHdri.exr file) plugged to SkyDomelight.color
Then just play with start channel (4-8-12 etc..)
or create a locator with an integer attribute ("lookDev" as an example name)
add an expression:
aiImage1.startChannel = locatorShape1.lookDev*4
then play with start Channel (1-2-3-4 etc...) to load other hdri
no thing happen(black render), so I have to delete the .tx file generated by TxManager, and do it maually with maketx command
maketx -v -u --oiio multiHDRI.exr
I also have to disable Auto-Convert texture to TX in Arnold renderer/Textures

Tags (1)
Labels (1)
14 REPLIES 14
Message 2 of 15
Stephen.Blair
in reply to: Anonymous

I don't see any difference between a tx created with maketx on the command line, maketx from the Tx Manager, and auto-tx (which uses the API).

All the tx files have the same channel list (checked with oiiotool)



// Stephen Blair
// Arnold Renderer Support
Message 3 of 15
Anonymous
in reply to: Anonymous

Yes there is no difference to convert a simple texture with 04 channels between txManager and the maketx cmdline
The problem is with a multichannel exr, as you can see on the video (https://youtu.be/iQ_qi2146l4) yet it is the same command used in the txManager and the cmdLine.
Another problem: if I use the cmdLine for the conversion and I forget to uncheck "USE TX" Arnold does not take into account any textures already converted,
it reconverted again a second time by crushing all the textures already converted without however can successfully convert the multichannel.

Message 4 of 15
Stephen.Blair
in reply to: Anonymous

Yes, I tested with a "multichannel EXR"



// Stephen Blair
// Arnold Renderer Support
Message 5 of 15
Anonymous
in reply to: Anonymous

did you see the problem conversion in the video?

Message 6 of 15
Anonymous
in reply to: Anonymous

with txManager the convesion size file is about 41MB
with maketx cmdLine conversion size file is 184MB

Message 7 of 15
Stephen.Blair
in reply to: Anonymous

I tested on my own machine with a multichannel exr and it worked



// Stephen Blair
// Arnold Renderer Support
Message 8 of 15
Anonymous
in reply to: Anonymous

did you get the same file size with txmanager and maketx?

Message 9 of 15
Anonymous
in reply to: Anonymous

@Stephen Blair
Can you post a simple video?

Message 10 of 15
Stephen.Blair
in reply to: Anonymous

The file sizes were the same, and I ran oiiotool -v --info to check the channel lists. And I tested in Maya.

Maybe you can upload your problem exr. Or post the results of running oiiotool -v --info on the original exr, and on the tx

(you can get oiiotool in the htoa distrib)



// Stephen Blair
// Arnold Renderer Support
Message 11 of 15
Anonymous
in reply to: Anonymous

I exposed the problem in detail here:
https://youtu.be/iQ_qi2146l4
Please take a look

Message 12 of 15
Stephen.Blair
in reply to: Anonymous

I don't repro the problem, so the video does not help. All I got from the video was that the average channel colors were all non-zero, except for every fourth channel which was 0 (probably the A channel).

How did you create this exr?



// Stephen Blair
// Arnold Renderer Support
Message 13 of 15
Anonymous
in reply to: Anonymous

The exr multichannel was created with ShuffleCopy in Nuke
here is a short video showing the process
https://www.youtube.com/watch?v=PvmXwQJfHEQ

Message 14 of 15
Stephen.Blair
in reply to: Anonymous

I used oiiotool -chappend with a couple of jpgs.

looks like it's the colorconvert that causes problems.



// Stephen Blair
// Arnold Renderer Support
Message 15 of 15
Anonymous
in reply to: Anonymous

The same problem in HtoA

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report