Prev | Next


Installing on Linux


Installation

To install RenderMan Studio to the default location (/opt/pixar/RenderMan_Studio-1.0-Mayaversion), in a root shell, navigate (cd) to the directory where the appropriate .rpm file is located and type:

> rpm -i package.rpm
For example, if you are running the 64-bit version of Fedora Core 5, the appropriate installation command is:
> rpm -i RenderMan_Studio-1.0-0.M85gcc410glibc24.x86_64.rpm

To install the packages to a different location, the /opt prefix of the default path can be replaced. For example, to install to /usr/local/pixar/RenderMan_Studio-1.0-Mayaversion, from a root shell type:

> rpm -i --prefix /usr/local package.rpm

After installing, you will need to make sure that Maya is pointing to a correct RenderMan_for_Maya.module file (the installer places an empty one in the /etc directory of your RenderMan Studio installation). We suggest creating a /modules directory in ~/maya/version/, copying the RenderMan_for_Maya.module file to that directory, and editing it there. It should contain the following (assuming the default installation path):

+ RenderMan_for_Maya Maya Version /opt/pixar/RenderMan_Studio-1.0-MayaMaya Version
Alternatively, you can put the file in and non-standard location and set an environment variable (see below). You can run getenv MAYA_MODULE_PATH in Maya's Script Editor to see the “standard” locations that Maya checks for modules.

You will also need to create symlinks in Maya's rendererDesc directory (typically in $MAYA_LOCATION/bin/) for the ribRenderer.xml and rmanRenderer.xml files. These files are located in $RMSTREE/etc.

Uninstalling

Uninstalling is a matter of running the same commands listed above, with the -e flag taking the place of the -i flag.

Environment Variables

Unlike the Windows and Macintosh flavors of RenderMan Studio, the Linux installer does not set up any variables or symlinks; you need to set up your environment manually. We recommend adding the following lines to your .cshrc (or other startup) file, in addition to any variables that Autodesk asks you to set for Maya:

 setenv RMSTREE /opt/pixar/RenderMan_Studio-1.0-Mayaversion
 setenv MAYA_PLUG_IN_PATH  $RMSTREE/plug-ins
 setenv MAYA_SCRIPT_PATH $RMSTREE/scripts
 setenv XBMLANGPATH "$RMSTREE/icons/%B"
You may also opt to add a MAYA_MODULE_PATH environment variable to point Maya at the RenderMan_for_Maya.module file, if you have placed it in a non-standard location.

You might notice that the default installation of RenderMan Studio does not require that you set a RMANTREE variable. However, if you also have RenderMan Pro Server installed, you will need to add the following line to the aforementioned file:

 setenv RMANTREE /opt/pixar/RenderManProServer-version

Optionally, you can add $RMSTREE/bin (and $RMANTREE/bin) to your path for command line access to the tools.

MTOR users will need to set things up slightly differently:

	
 setenv RMANTREE /opt/pixar/RenderManProServer-version
 setenv RATTREE /opt/pixar/RenderMan_Studio-1.0-Mayaversion
 setenv MAYA_PLUG_IN_PATH  $RATTREE/bin
 setenv MAYA_SCRIPT_PATH $RATTREE/lib/mtor/resources
 setenv XBMLANGPATH "$RATTREE/lib/mtor/resources/%B"

Again, optionally, you can add $RATTREE/bin (and $RMANTREE/bin) to your path for command line access to the tools.


Prev | Next


 

 

Pixar Animation Studios
Copyright© Pixar. All rights reserved.
Pixar® and RenderMan® are registered trademarks of Pixar.
All other trademarks are the properties of their respective holders.