Rib
|
IntroductionBefore attempting to produce a pre-baked RIB (ie. an archive) with Maya it is useful to gain an understanding of what an archive RIB is and how they are referenced by another RIB file. This tutorial assumes you are using the Cutter text editor. |
What is an archive?
An archive, or pre-baked, RIB is similar to a beauty pass RIB except that it does
not contain any camera statements or the statements |
Figure 1 - original model |
Figure 2 - archive read 3 times |
The simple model shown in figure 1 was rendered using the following archive RIB file. umbrella.rib
Although the archive shown above is trivial,
it does conform to the format of a correctly structured RIB
file. Apart from being much more complicated, archives generated by
professional 3D applications such as Maya/RfM or Houdini follow
the same format. They also include commented text at the head of their
archive files that will indicate the size of the bounding box
( #bbox: -1 0 -1 1 2.5 1 Figure 2 was rendered using the following beauty pass RIB file. The ridges were produced using a simple OSL shader - corrugations.osl. |
Rib File Using an Archive
|
© 2002- Malcolm Kesson. All rights reserved.