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

Custom AOV Connection on referenced SG gets lost

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
254 Views, 3 Replies

Custom AOV Connection on referenced SG gets lost

Hi everyone,

so this is my case: I have a modeling publish where there's dummy shaders and shading groups already assigned to my geo. This file gets referenced into my shading scene. There the dummy shaders are replaced by AiStandardSurface that get connected into the existing SG via reference edit. As well as a displacement shader that gets plugged into the SG. So far so good.

Now I also want to have a aiWriteColor of the displacementShader to be connected into a custom AOV slot on the SG. Works as expected! Renders fine, AOV is there. Reference edits do their job.

The problem: after saving and re-opening the file the connection to the customAOV seems to get lost. The reference edits are still there, the connection is still there in the node editor but in the attribute editor on the SG the custom AOV slot is blank, and the object renders completely black! It's not only the AOV thats broken, but everything. The whole object with that shader assigned renders completely black.

Is there any way around this? Is there another way to get the aiWriteColor info of the displacementShader into the customAOV?


Thanks for your help.

Best regards

Tags (2)
Labels (2)
3 REPLIES 3
Message 2 of 4
Stephen.Blair
in reply to: Anonymous

Where is this aiWriteColor node? Plugged into the SG, or plugged into the displacement shader? Can you post a screenshot?



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

Actually I found out myself. The fault was like Stephen asked, the aiWriteColor was plugged into the SG itself, after changing that and plugging it between the texture and the displacement shader did the trick. Seems to be working. Thanks!

Message 4 of 4
Anonymous
in reply to: Anonymous

PS The documentation about the AiWriteColor is a lacking a bit how to use it. Would be nice if an example how to use it would be added.. 🙂

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

Post to forums