Community
Arnold for Katana Forum
Rendering with Arnold in Katana using the KtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create multichannel output in KtoA?

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
kennyvfx
1867 Views, 9 Replies

How to create multichannel output in KtoA?

Hello,

I am using the RenderOutputDefine node to combine multiple outputs (AOVs). I've set the following:

  • type: merge
  • mergeOutputs: P, N

However, rendering this I get the following error:

Running command: '\installs\windows\katana\2.6v3\Katana2.6v3\bin\ExrCombine' 'c:\users\kc\appdata\local\temp\aovs\P_pass.exr' P_pass 'c:\users\kc\appdata\local\temp\aovs\normal.exr' normal 'c:\users\kc\appdata\local\temp\aovs\lit.exr'
Render process exited with error code:3
CommandLineRender Error: doRender problem
Reason = Render process exited with error code:3

Debugging with the .ass file, the driver that is suppose to be used for outputting the multichannel exr is missing.

Is is a known bug or can someone shine some light on this? I tried it with the Katana example projects for both Arnold and Renderman, and with Renderman, it is outputting fine.

Cheers,

Kenny

Tags (2)
Labels (2)
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: kennyvfx

I asked for that since version 4 of arnold, no correction until now!

Message 3 of 10
Mike_Farnsworth
in reply to: kennyvfx

Arnold core has supported multi-channel EXRs for quite a long time; all that is needed is to take multiple AOVs and have them use the same output driver node. This worked in Arnold 4.x as well.

Katana makes this a bit harder, in that combining EXR outputs is something Katana does, not KtoA/Arnold, and it's fairly picky about what EXRs it will combine. You need to create ArnoldOutputChannelDefine nodes for your outputs, setting the channel ('P' and 'N') and make sure the output is EXR, and not tiled. Katana cannot combine tiled EXR outputs. If you do that, your merge output should work and have all of your channels in the same EXR file.

With KtoA 2.0+ you can get light breakouts all in the same file by using light path expressions; on the ArnoldOutputChannelDefine node you can set a light path expression, and then set the lightGroups parameter to 'separate AOVs'. Don't forget to set the aov parameter on your lights to the group you want each light to be in, and then each light's contribution will be separated in the EXR file for that AOV/channel. These outputs can be tiled EXRs, so long as you don't need them to go through a merge output later.

Message 4 of 10
Anonymous
in reply to: kennyvfx

Hi Mike

It will be great if you can put a simple test scene, because I never succes to output multichanel exr in katana, I've to manually do the merge with ExrCombine.exe.

Message 5 of 10
kennyvfx
in reply to: kennyvfx

Thanks for the explanation Mike. I got both multi-channel EXRs to work, including light groups.

Looks like my original attempt at merging output failed due to both having tiled checked on as well as trying to merge the primary output. Perhaps this is something to try @rachid ramane?

With MtoA, we are able to output multi-channel EXRs with tiled and append option checked on. Is this a limitation with Katana? From the render log, it looks like Katana is running a post process to merge the AOVs where as Maya's Arnold drivers are combinging the AOVs during rendering time?

Message 6 of 10
Anonymous
in reply to: kennyvfx

Here is the log file:
Render process exited with error code:255
CommandLineRender Error: doRender problem
Reason = Render process exited with error code:255

Yes, "tiled" was unchecked.

any solutions?

Message 7 of 10
kennyvfx
in reply to: kennyvfx

@rachid ramane, for your mergeOutput (channels), do you have primary checked on? If so, try unselecting it.

Message 8 of 10
Anonymous
in reply to: kennyvfx

oh yes

Thank you kenny

Message 9 of 10
Mr.baiking
in reply to: kennyvfx

For a long time, finally seems we got the answer,cheer!!

Message 10 of 10

“not tiled” , this is the key, thanks Mike!!

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

Post to forums  

Autodesk Design & Make Report