One of the most basic scenes for Global Illumination (GI) is the Cornell Box. In the download section I provide the scene for several renderers:
- Arnold
- Cycles
- Indigo
- Luxrender
- Maxwell
- mental ray
- PRMan
- Radiance
But here I want to focus on Pixar’s last release of RenderMan (PRMan). You can download a free version of the renderer for non-commercial usage. Pixar’s scene description is called RIB (__R__enderMan __I__nterface __B__ytestream Protocol). If you download the Cornell Box RIB file and render it with PRMan your resulting image should look like this:
For convenience the file is also available from Pixar’s Community Resources. I will only point out the details about RIB lines which are new or specific to the latest PRMan release:
For RIS we need to use the Raytrace Hider with path-tracing. In theory we have the choice between unidirectional and bidirectional path tracing, but in this case we have chosen the bidirectional version by specifiying PxrVCM as our integrator. The remaining RIB file lines are pretty much standard, except the Surface shader lines got replaced by Bxdf material lines. For the Cornell Box we only need diffuse materials which are explained in the LMDiffuse RenderMan 19 Documentation. The one and only light source in the scene is an area light using the PxrAreaLight shader.
Before you start to render your own version of the image above you should set an environment variable called $RMANTREE:
The syntax above is for tcsh, for bash use the following:
To render use the following command line:
We will see other scenes later using unidirectional path tracing. I modified the multi_exporter Python script for Blender to use the new PRMan shaders and materials.