Date: Tue, 19 Mar 2024 09:46:34 +0000 (UTC) Message-ID: <1980976661.8737.1710841594862@ip-10-0-0-233.us-west-2.compute.internal> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8736_1426977216.1710841594859" ------=_Part_8736_1426977216.1710841594859 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Follow these sets to set up AOVs in RenderMan for Katana:
color l= pe:C<RD>.+[<L.>O]
To correctly render per-lobe LPE in Katana, you need to use an OpScript to declare how these = are routed to the outputs. Below is the full OpScript to use for the lobe n= ames defined by PxrSurface and PxrMarschnerHair. If your studio has its own= bxdfs with different names, you will need to add those names to these Opti= ons.
Interfa= ce.SetAttr('prmanGlobalStatements.options.lpe.diffuse2', StringAttribute("D= iffuse,HairDiffuse")) Interface.SetAttr('prmanGlobalStatements.options.lpe.diffuse3', StringAttri= bute("Subsurface")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular2', StringAttr= ibute("Specular,HairSpecularR")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular3', StringAttr= ibute("RoughSpecular,HairSpecularTRT")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular4', StringAttr= ibute("Clearcoat")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular5', StringAttr= ibute("Iridescence")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular6', StringAttr= ibute("Fuzz,HairSpecularGLINTS")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular7', StringAttr= ibute("SingleScatter,HairSpecularTT")) Interface.SetAttr('prmanGlobalStatements.options.lpe.specular8', StringAttr= ibute("Glass")) Interface.SetAttr('prmanGlobalStatements.options.lpe.user2', StringAttribut= e("Albedo,DiffuseAlbedo,SubsurfaceAlbedo,HairAlbedo")) Interface.SetAttr('prmanGlobalStatements.options.lpe.user3', StringAttribut= e("Position")) Interface.SetAttr('prmanGlobalStatements.options.lpe.user4', StringAttribut= e("UserColor")) Interface.SetAttr('prmanGlobalStatements.options.lpe.user6', StringAttribut= e("Normal,DiffuseNormal,HairTangent,SubsurfaceNormal,SpecularNormal,RoughSp= ecularNormal,SingleScatterNormal,FuzzNormal,IridescenceNormal,GlassNormal")= )
You can add metadata to the EXR file to facilitate pipeline functions. T= he Foundry documents this here.
Essentially, on the Render Settings node:
SetAttr= ("renderSettings.ouputs.primary.rendererSettings.exrheaders.test_string",[ = "Your string" ] )
You can pass a custom Katana attribute into the display driver using an = OpScript at the /root. Below is a simple example setting "myParam" onto a d= isplay called "myDisplay"
Interfa= ce.SetAttr("renderSettings.outputs.myDisplay.rendererSettings.displayOption= s.myParam", StringAttribute("paramValue"))