RifPlugin
|
Introduction
The RifPlugin presented here converts polymesh geometries to
wireframes consisting of loops of RiCurves. It does so by using the "P" vertex data of a mesh or subdiv to define
one curve for each face of the original surface. By default the rif has no effect on the
way that polymesh and subdiv surfaces are rendered. However, by assigning
a custom attribute to any polymesh/subdiv surface in a Maya scene one of three effects
can be achieved, namely,
The width (diameter) of the curves can be set as a "Rif Arg".
Compiling the RifPlugin
Follow the instructions in the tutorial, Assinging the Custom AttributeGo to the shape tab of a polymesh add "Manage Attributes...".
From the list of available attributes choose "Pre Shape MEL".
In the "Pre Shape MEL" text field enter the following MEL command,
Finally, render the scene. Correcting Rendering ArtifactsRendering defects can occur when using thin curves. One setting that can be used to correct rendering artifacts, figure 6, is to set "Micropolygon Length" to a value smaller than the default of 1.0 - say 0.2.
|
© 2002- Malcolm Kesson. All rights reserved.