Cutter
|
IntroductionBefore attempting to produce a pre-baked RIB (ie. an archive) with Maya it is useful to gain an understanding of what such RIB files are and how they are referenced by another RIB document. This tutorial assumes you are using the Cutter text editor. |
What is an archive?
An archive, or pre-baked, RIB is similiar to a "regular" file except that it does
not contain any camera statements or the statements |
![]() Figure 1 - original model |
![]() Figure 2 - archive read 3 times |
|
For the purpose of this tutorial a regular RIB file has been converted into an
archive as a result of removing all the text from the beginning of the RIB file
down to the first occurance of the statement TransformBegin. The "tail" of the
RIB file has also had its concluding WorldEnd statment removed. After inserting
AttributeBegin at the head and AttributeEnd at the tail of the document
we have effectively created an archive RIB file.
|
|
Archive Rib File
Although the archive (pre-baked) rib shown above is trivial, it does conform to the format of a correctly structured file. Apart from being much more complicated, archives generated by professional 3D applications such as Maya/mtor or Houdini follow the same format. They also include commented text at the head of their archive files. |
|
Rib File Using an Archive
|
© 2002- Malcolm Kesson. All rights reserved.