Parameter name for renderman matte id aov

   3445   3   1
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
Hi
In a RenderMan Ris Rop, i want to output an AOV matte for all objects
using a Pxr Disney shader. I'm connecting a Pxr Matte ID node
where Matte Texture 0 is set to 1,0,0 into the “inputAOV” port of the
Disney shader. So far so good.

In the Ris Rop i have one AOV. What is the correct parameter name for the
“ri_aovariable1” field in the Properties -> Ri AOV tab in order to generate
the output from the shader into the red channel of this AOV?

First I thought it was “matteTexture0” since that is a parameter on the Pxr
MatteID node, but it doesn't seem to work. I also tried “MatteID0” and “color MatteID0” as this is mentioned in the Renderman docs: https://renderman.pixar.com/resources/current/RenderMan/PxrMatteID.html [renderman.pixar.com]

Any help appreciated

-b

Attachments:
ri-aov.hip (282.2 KB)

http://www.racecar.no [www.racecar.no]
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
I'm pretty sure the correct name is “color MatteID0” but i must be doing something wrong because I can't get this to work.
Any ideas are welcome

-b
http://www.racecar.no [www.racecar.no]
User Avatar
Member
93 posts
Joined: June 2015
Offline
Hi bonsak. Did you ever find out what was wrong with this? I'm trying to do the exact same thing (with RenderMan 22, though) and I don't get the matte I want.
User Avatar
Member
459 posts
Joined: Oct. 2011
Offline
I know i figured it out but i cant remember what the correct solution was Sorry

-b
http://www.racecar.no [www.racecar.no]
  • Quick Links