RfM 22
|
Introduction
This tutorial introduces a technique of batch rendering a sequence of frames
without using
Tractor or the
batch render menu.
It is assumed the reader has followed the suggestions in the tutorial
RfM 23: Customizing and has downloaded and installed
the customization scripts.
|
export RMANTREE=/Applications/Pixar/RenderManProServer-22.0 export MAYA_USER_DIR=/Users/malcolmkesson/Documents/maya unset LD_LIBRARY_PATH "PATH_TO_PRMAN_EXE" -cwd "PATH_TO_CURRENT_PROJECT_DIR" -t:all -progress "PATH_TO_CURRENT_PROJECT_RIBS_DIR/perspShape.0001.rib" "PATH_TO_PRMAN_EXE" -cwd "PATH_TO_CURRENT_PROJECT_DIR" -t:all -progress "PATH_TO_CURRENT_PROJECT_RIBS_DIR/perspShape.0002.rib" "PATH_TO_PRMAN_EXE" -cwd "PATH_TO_CURRENT_PROJECT_DIR" -t:all -progress "PATH_TO_CURRENT_PROJECT_RIBS_DIR/perspShape.0003.rib" ditto... |
|
One such filter, implemented by a script named rif_it.py, is part of the zip package mentioned in the RfM 23: Customizing tutorial. The rif_it module changes the Display statement in each rib file so that instead of rendered images being saved as openexr files they are displayed directly in the Image Tool. For example, to apply the filter execute the following command.
Multiple rifs can be used. For example, rif_mesh2blobby.py convert all polygonal objects to blobbies if they have been assigned a float primvar named "blobby" - figure 5.
|
Using Compiled C++ RifPlugin FiltersUp to the release of RfM 22 it was possible to specify RifPlugins using a convenient interface that was part of Maya's Render Settings window - figure 6. RfM 22 does enable rifs to be used directly - hence the motivation for the python scripts mentioned and presented in the tutorial RfM 23: Customizing.
An example of using two RifPlugins is shown next. Note that if a RifPlugin accepts two or more inputs they must be separated by white space NOT by commas. |
|
© 2002- Malcolm Kesson. All rights reserved.