...
Code Block |
---|
<args format="1.0"> <page name="Parameters" open="True"> <param name="__dsoname" type="string" default="SphereProc.so" match="-none-"/> <param name="radius" type="float" default="1"/> <param name="material" match="rman_material" type="string" default=""/> </page> <typeTag> <tag value="procedural2"/> </typeTag> <rfmdata classification="RenderMan/procedural"/> </args> |
Arbitrary parameter lists
If your procedural takes an arbitrary list of parameters, you can use your procedural node's "rman_preShapeScript"/"rman_preShapePythonScript" attributes to run a script that will set your nodes "man_data" attribute with the appropriate arguments:
Code Block |
---|
<args format="1.0">
<page name="Parameters" open="True">
<param name="__dsoname" type="string" default="versatileProc.so" match="-none-"/>
<param name="data" type="string" default="" match="rman_data"/>
</page>
<typeTag>
<tag value="procedural"/>
</typeTag>
<rfmdata classification="RenderMan/procedural"/>
</args>
|
Example Download
An example Maya plug-in with RenderMan procedural integration: simple_procedural.zip
...