Thought AiAOVRegister was doing that (or better once added AOVs to arnold global AOVs list, that list was looked up by ie. mtoa) but I don't see any AOV names added to Maya AOV list. Custom AOVs themselves work once I type manually their name in ie. Maya AOVs browser.. but that's the thing I'd like to avoid 😉
Solved! Go to Solution.
Solved by Stephen.Blair. Go to Solution.
I see that the MtoA extension API has a registerAOV method
Thanks Stephen, didn't even know extension APIs existed. Now, I see that. However I was hoping there was already a mechanism so that from shader metadata at library init we'd invoke that and automagically register custom AOVs 😉
Btw, is there a minimal demo or some example (or docs) to deal with MtoA extension API ? Know nothing about. Mainly I don't know how/where I do register a library to work with MtoA as an extension.