Page tree

Contents

There were a few changes in RenderMan 25 that may affect backward compatibility rendering old scenes. Here is an overview of how to upgrade your scenes.

Output Port Naming Convention

In older versions of RfK, the output port on RenderMan plugins - bxdfs, lights, displacement, etc - were all named "out".  In RenderMan 25, we standardized the output port names across different DCCs to make sure that USD materials could be imported and exported across DCC without any additional conversion.  So the names have changed to PLUGINTYPE_out - bxdf_out, displace_out, light_out, etc.  

Lama Parameter Name Changes

Some parameters on Lama nodes were changed in RenderMan 25. The parameters "color" and "normal" have been changed to be node-specific. For example, color is now diffuseColor on LamaDiffuse. This was done in preparation for making the nodes compatible with XPU in the future. 

PxrSurface subsurfaceType Default

The default value for PxrSurface parameter "subsurfaceType" changed from 0 (Jensen dipole diffusion) to 5 (expontial path-traced). 

Upgrading Materials

To upgrade materials created within a katana file via NetworkMaterialCreate or PrmanShadingNode, you can run the shelf script from the PRMan 25 shelf called Update Shading Networks (24 → 25)

Materials coming in via USD are upgraded on ingestion into katana via a RfK op that runs in UsdIn.  This op runs automatically. Once all usd files are updated to the new conventions, this op can be disabled via an environment variable  - RFK_DISABLE_USDIN_MATERIAL_OP.

For backwards compatibility with the PxrSurface default change, there is a new Option to preserve the old "subsurfaceType" default value: Option "shade" "int subsurfaceTypeDefaultFromVersion24" [0|1] This default is 0, ie. off -- that is, use the new "subsurfaceType" default by default.  In Katana, this parameter is not in PrmanGlobalStatements, but can be added via OpScript or AttributeSet.  The attribute name is "prmanGlobalStatements.options.shade.subsurfaceTypeDefaultFromVersion24" and it is an IntAttribute.