The RifPlugin presented here will render polymesh geometries as wireframes. It does
so by using the (reorderd) "P" vertex data of the mesh as the "P" control vertex data
of a number of curves "packaged" into a single RiCurves geometric primitive. By assigning
a custom attribute to each polymesh 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 Attribute
If all the polymesh surfaces in a scene are to be represented as wireframes there is no need
to assign a custom attribute. Only polymesh geometries that are either to be rendered "normally"
OR are to be rendered as a polymesh + wireframe require the use of a custom attribute.
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 - welcome to the 1970's!
© 2002- Malcolm Kesson. All rights reserved.