RiMel - meshArchives

return to main index



This page presents five scripts that implement an interface that enables a prebaked archive to be "placed" at the vertices of a polymesh - figure 1.

Figure 1 (rollover)

Step 1

Download and unzip the scripts.zip file. Copy the following three scripts to your maya/projects/RfM_mel directory. Refer to the tutorial "RfM: Customizing" for information about this directory.

                         |_ meshArchives.rman
                         |_ meshArchivesUI.mel
                         |_ meshArchivesRI.mel

Copy these two scripts to your maya/scripts directory. Ignore the scripts if you already have them.

                |_ getNormals.mel
                |_ getVertices.mel

Step 2

Create an object that will be exported as a rib archive. Make sure it is at the origin of the modelling plane. Go to the Modify menu item in Maya and choose "Freeze Transforms".

Go to the File menu and choose "Export Selection". In the "General Options" panel select "RIB_Archive". Save the rib archive in the project directory. Finally, hide the object.

Step 3

Create a polySphere. Deselect it and reselect it.
In the script editor window run this command,
You should see the interface shown below.

Figure 2

Use the "Rib Archive" browse button and select the archive that was exported in step 1.

Step 4

Render the scene.

© 2002- Malcolm Kesson. All rights reserved.