Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here is an example of the commands that would typically happen for a three frame job.  Note the use of the -cwd arg to specify the maya project as the current working directory that prman should run out of.  The project relative path to the rib file is supplied as the last argument of the command.  Rib files contain project relative paths by default.

Code Block
prman -t:0 -cwd C:/Users/user/Documents/maya/projects/default/ renderman/test_0725120019/rib/job/job.rib

...


prman -t:0 -cwd C:/Users/user/Documents/maya/projects/default/ renderman/test_0725120019/rib/0001/0001.rib

...


prman -t:0 -cwd C:/Users/user/Documents/maya/projects/default/ renderman/test_0725120019/rib/0002/0002.rib

...


prman -t:0 -cwd C:/Users/user/Documents/maya/projects/default/ renderman/test_0725120019/rib/0003/0003.rib

...


prman -t:0 -cwd C:/Users/user/Documents/maya/projects/default/ renderman/test_0725120019/rib/job/post.rib

Each frame rib file, like 0001.rib references other rib files located in the same directory, for each camera or render layer that is active for the frame.  Here is an example of typical contents of a frame directory:

Code Block
renderman/test_0725120019/rib/0001:

...


0001.rib

...


perspShape_Final.0001.rib

...


perspShape_Final.0001.rlf

...


perspShape_Final.0001.xml

The file called 0001.rib is the "driver" RIB file for the frame.  It will reference RIB files for each pass (for different cameras or render layers) that occur in the frame.

...