RenderMan for Maya is installed using the RenderMan Installer, which manages the downloading, installation and licensing of RenderMan Pro Server (the actual renderer) along with RenderMan for Maya and/or RenderMan for Katana.
On Windows and OS X, the installer configures RenderMan for Maya. After installing, you should be good to go. Start Maya, and RenderMan for Maya should appear in the Plug-in Manager's list of plug-ins, RenderMan_for_Maya.py
On Linux some manual configuration is necessary (see below).
On Windows and OS X (non-Catalina) you do not need to manually configure the RenderMan for Maya plug-in. The following instructions are for advanced users.
Rendering with Xgen
Please note that users may need to set the correct path variables for Xgen to render.
Where MAYA_PATH is your installed location of Maya.
When updating/changing versions you may need to reset/remake your Maya Preferences if the above settings no longer work.
For each OS below it should be added to the following system environment variables:
BiFrost and its exports of data, including its default Alembic attributes are not expected to work correctly and are unsupported in this version.
- A RenderMan_for_Maya.module file must contain the path to the RenderMan for Maya installation.
- Maya must find the RenderMan_for_Maya.module file in one of the locations that it searches for modules.
- Maya's command line Render command requires rmanRenderer.xml to be found by Maya.
On Windows and OS X, the installer takes care of these, but if for some reason they need to be adjusted, read on.
Examples of the default install location of RenderMan for Maya:
Examples of the default install location of RenderMan Pro Server:
RenderMan for Maya respects environment variables called RFMTREE and RMANTREE, which can be used to specify the location of the RenderMan for Maya and RenderMan Pro Server installations. If these variables are not set they are inferred.
These are examples of where the RenderMan_for_Maya_23.0.module file can go so that Maya will find it (adjust versions as necessary):
C:\Program Files\Common Files\Autodesk Shared\Modules\Maya\
Alternatively, you can put the module file in a non-standard location and set the MAYA_MODULE_PATH environment variable. Run getenv MAYA_MODULE_PATH in Maya's Script Editor to see the standard locations that Maya checks for modules.
The module file should contain a path to the install location. These are examples of the contents of the file on different platforms (adjust versions as necessary):
+ RenderMan_for_Maya 23.0 C:/Program Files/Pixar/RenderManForMaya-23.0
+ RenderMan_for_Maya 23.0 /Applications/Pixar/RenderManForMaya-23.0
+ RenderMan_for_Maya 23.0 /opt/pixar/RenderManForMaya-23.0
Note, on OS Xbatchrenders using XGen may require the DYLD_FALLBACK_LIBRARY_PATH to be set, and this can happen via the module file or as an environment variable.
You may disable the creation of additional mod files by setting the following environment variable: RFM_DO_NOT_CREATE_MODULE_FILE = 1
This will prevent RfM from creating more mod files if it cannot find them in the default location. This will warn the user should it not be able to find any valid mod files and the plugin may fail to load.
For Maya's Render command to work with RenderMan, you need to copy or symlink $RFMTREE/etc/rmanRenderer.xml into Maya's rendererDesc directory.
RenderMan for Maya is not listed in Maya's Plug-in Manager
Maya did not find the RenderMan_for_Maya.module file or the path listed inside the RenderMan_for_Maya.module does not point at a valid install of RenderMan for Maya.
- Check that the module file is in one of the locations returned when you type "getenv MAYA_MODULE_PATH" in Maya's Script Editor.
- Check that the path inside the file looks correct and that the install directory actually exists. The RenderMan_for_Maya plug-in must be present in the plug-ins directory under the install location. Note, Maya knows to look intheplug-inssub-directory of the installation. The path listed in the module file should not actually include the plug-ins sub-directory.
RenderMan for Maya won't load
You see either of these errors:
// Error: line 1: The specified procedure could not be found.
A common reason for this error is attempting to load the plug-in into the wrong version of Maya. Check that the version in the error string matches the version of Maya you are running. Especially if you have multiple versions of Maya installed, the RenderMan Installer may have only downloaded the plug-in for your newest version of Maya.