RenderManScript

This is a transformable object that you place in your scene and move around as you please. It has a single "script" property which is executed with RenderMan context anytime the document is rendered, so you can generate anything and everything you want. Typically, the script will make calls to the RenderMan API to generate geometry.

The script environment is maintained between script execution, so a script can initialize data structures that will be available the next time it is executed. At execution time, the script will have ApplicationContext, DocumentContext, ObjectContext, and RenderManContext. Currently, RenderManScript is hard-coded to use the JavaScript which is the only engine that has a RenderMan object model

Properties

NameDescription
nameObject name [string]
input_matrixInput matrix [matrix4]
positionPosition [vector3]
orientationOrientation [angle_axis]
scaleScale Matrix [vector3]
output_matrixOutput matrix [matrix4]
render_finalVisible in the final rendered image [boolean]
render_shadowsCast shadows [boolean]
motion_blurEnable motion blur for this object [boolean]
viewport_visibleVisible [boolean]
scriptScript
<< Previous 
Table of Content
  Next >>