Procedural Primitives
|
Introduction
This tutorial is a brief introduction to the writing, compiling and use of
procedural primitives with Maya. The C/C++ language code used by this
tutorial implements a traditional RiProcedural interface - not the newer
RiProcedural2 interface.
The C++ Code
From Cutter's Template menu choose
Save the file as Compiling and Building the ProcPrimUse the keyboard shortcut Alt+e, Control+e or Apple+e. A Process Monitor window will open. Ensure the DSO has been successfully compiled and built and has been saved in the location specified by Cutter's preference. On Windows the text displayed by the Process Monitor will be slightly different.
Using the ProcPrim with Maya
From the
Use the directory browse button to locate the DSO. On Windows the DSO will be named
In the |
|
Passing data to the procedural primitive (StarterProc.so or StarterProc.dll) by editing the
|
© 2002- Malcolm Kesson. All rights reserved.