<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Python AOV's shaders in Arnold for Maya Forum</title>
    <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044532#M2682</link>
    <description>Well... Ok thank you, I'll do it the dirty way then... List source connections to aov's defaultValue attribute, this should give me the shader node's name.</description>
    <pubDate>Wed, 15 Sep 2021 09:27:43 GMT</pubDate>
    <dc:creator>fabriceQ224F</dc:creator>
    <dc:date>2021-09-15T09:27:43Z</dc:date>
    <item>
      <title>Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044524#M2674</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is there a way to extract shader name from the AOV node with Python? I'd like to get 'cryptomatte' when I know AOV's node name ('crypto_asset' for example). I tried a listAttr on that AOV's node name but couldn't find any one related to the shader name.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 16:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044524#M2674</guid>
      <dc:creator>fabriceQ224F</dc:creator>
      <dc:date>2021-09-13T16:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044525#M2675</link>
      <description>&lt;P&gt;MtoA automatically adds the cryptomatte aov shader when it sees the cryptomatte node (because the cryptomatte node has the aov_shader TRUE metadata in plug-ins\mtoa.mtd)&lt;/P&gt;&lt;P&gt;The shader name is automatically generated.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 17:49:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044525#M2675</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2021-09-13T17:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044526#M2676</link>
      <description>&lt;P&gt;Thank you Stephen. But what I'm trying to do is to find the name of the shader connected to an AOV (and, BTW, not especially cryptomattes). So, I have a node's name ('crypto_asset') and I'd like to find the shader called 'cryptomatte' that is connected to it...&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 18:57:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044526#M2676</guid>
      <dc:creator>fabriceQ224F</dc:creator>
      <dc:date>2021-09-13T18:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044527#M2677</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For other AOVs, MtoA inserts an aov write node.&lt;/P&gt;&lt;P&gt;So for example, if you create an AOV named "&lt;STRONG&gt;ao&lt;/STRONG&gt;" and assign an &lt;STRONG&gt;aiAmbientOcclusion &lt;/STRONG&gt;shader to it, then when MtoA translates the scene, MtoA inserts an &lt;STRONG&gt;aov_write_rgba &lt;/STRONG&gt;node.&lt;/P&gt;&lt;P&gt;The node is named &lt;STRONG&gt;defaultArnoldRenderOptions/aov_write_rgba_ao&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So if you know the type and name of the AOV, you could build the shader name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 19:25:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044527#M2677</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2021-09-13T19:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044528#M2678</link>
      <description>Sorry, I made a simple scene with a sphere, an area light and an AO AOV node, but I can't find that aov_write_rgba_ao node... Can we find this in the Outliner? Is it only created during render time and then deleted?</description>
      <pubDate>Tue, 14 Sep 2021 08:36:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044528#M2678</guid>
      <dc:creator>fabriceQ224F</dc:creator>
      <dc:date>2021-09-14T08:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044529#M2679</link>
      <description>&lt;P&gt;That node never exists in Maya. It exists only in the data that MtoA sends to Arnold.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:48:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044529#M2679</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2021-09-14T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044530#M2680</link>
      <description>&lt;P&gt;Ok. Sorry Stephen but I'm a bit lost then, there's no real documentation about Python commands for managing MtoA... How can we concretely ask aov_write_rgba node to give us its shader's name thanks to Python?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 12:26:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044530#M2680</guid>
      <dc:creator>fabriceQ224F</dc:creator>
      <dc:date>2021-09-14T12:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044531#M2681</link>
      <description>You cannot get the name from the Maya scene, or from MtoA. MtoA creates the node and names it when MtoA translates the Maya scene to an Arnold scene. And there's no hooks/callbacks for the translation process that would give you the new node names.</description>
      <pubDate>Tue, 14 Sep 2021 22:11:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044531#M2681</guid>
      <dc:creator>Stephen.Blair</dc:creator>
      <dc:date>2021-09-14T22:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python AOV's shaders</title>
      <link>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044532#M2682</link>
      <description>Well... Ok thank you, I'll do it the dirty way then... List source connections to aov's defaultValue attribute, this should give me the shader node's name.</description>
      <pubDate>Wed, 15 Sep 2021 09:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/arnold-for-maya-forum/python-aov-s-shaders/m-p/11044532#M2682</guid>
      <dc:creator>fabriceQ224F</dc:creator>
      <dc:date>2021-09-15T09:27:43Z</dc:date>
    </item>
  </channel>
</rss>

