Inheritance diagram for DzScriptedRenderer:
Implements a scriptable RenderMan interface for the scene to render itself through the 3Delight renderer.
DzScriptedRenderer::DzScriptedRenderer | ( | ) |
Default Constructor.
Sets up the camera for the pass
camera | camera to use | |
width | width of render | |
height | height of render |
Boolean DzScriptedRenderer::continueAfterPreProcess | ( | ) |
Creates a light in the stream.
light | light to create | |
shadowMap | shadow map for the light |
void DzScriptedRenderer::deleteFiles | ( | Array | files | ) |
void DzScriptedRenderer::doDefaultDisplay | ( | ) |
Makes the renderer call the same display call as the standard 3delight renderer in studio
String DzScriptedRenderer::doDefaultShadowPass | ( | DzRenderOptions | options, | |
DzCamera | camera, | |||
DzLight | light, | |||
String | dir, | |||
Boolean | reuse | |||
) |
options | RenderOptions for the shadow maps | |
camera | Camera for the shadow pass | |
light | Light to generate shadow map for | |
dir | Directory to generate the shadwo map in | |
reuse | If shadow map already exists it is reuse. |
Array DzScriptedRenderer::doDefaultShadowPass | ( | DzRenderOptions | options, | |
DzCamera | camera, | |||
String | dir, | |||
Boolean | reuse | |||
) |
options | The render options to render | |
camera | The camera to generate the shadow map for | |
dir | Directory to generate the shadow maps in | |
reuse | If reuse is true and a shadow map exists by the the same label of a light exists, the shadow map is reused instead of being generated. |
void DzScriptedRenderer::doDefaultShadowPassEnd | ( | DzRenderOptions | options, | |
DzCamera | camera, | |||
DzLight | light | |||
) |
Cleans up doDefaultShadowPassPrep
options | Render options | |
camera | camera | |
light | light the shadow map was generated for |
String DzScriptedRenderer::doDefaultShadowPassPrep | ( | DzRenderOptions | options, | |
DzCamera | camera, | |||
DzLight | light, | |||
String | dir, | |||
Boolean | reuse | |||
) |
options | Render options for the pass | |
camera | Camera for the shadow pass | |
light | Light to generate shadow map for | |
dir | directory to put the shadow map in | |
reuse | if the map should be reused or not |
String DzScriptedRenderer::getDisplacementPreProcessScript | ( | ) |
DzRenderHandler DzScriptedRenderer::getHandler | ( | ) |
index | index for the light |
Number DzScriptedRenderer::getLightCount | ( | ) |
String DzScriptedRenderer::getLightPreProcessScript | ( | ) |
Array DzScriptedRenderer::getLightsToRender | ( | ) |
index | index of node |
Number DzScriptedRenderer::getNodeCount | ( | ) |
Array DzScriptedRenderer::getNodesToRender | ( | ) |
Number DzScriptedRenderer::getNumIlluminateHandels | ( | ) |
DzElement DzScriptedRenderer::getPropertyHolder | ( | ) |
String DzScriptedRenderer::getRenderScript | ( | ) |
String DzScriptedRenderer::getShaderCompilerPath | ( | ) |
String DzScriptedRenderer::getSurfacePreProcessScript | ( | ) |
void DzScriptedRenderer::removeLight | ( | Number | index | ) |
index | remove a light at given index from the render list |
void DzScriptedRenderer::removeNode | ( | Number | index | ) |
index | remove a node at given index from the render list |
void DzScriptedRenderer::renderBackDrop | ( | DzBackdrop | backdrop, | |
Number | width, | |||
Number | height | |||
) |
backdrop | Backdrop for the scene | |
width | width of the render | |
height | height of the render Renders the backdrop for the scene |
void DzScriptedRenderer::renderNode | ( | DzNode | node | ) |
node | node to rendr |
DAZ Script implementation of the RiAttributeV() function
void DzScriptedRenderer::riAttributeBegin | ( | ) |
DAZ Script implementation of the RiAttributeBegin() function
void DzScriptedRenderer::riAttributeEnd | ( | ) |
DAZ Script implementation of the RiAttributeEnd() function
DAZ Script implementation of the RiClipping() function
void DzScriptedRenderer::riColor | ( | Color | Cs | ) |
DAZ Script implementation of the RiColor() function
void DzScriptedRenderer::riConcatTransform | ( | DzMatrix4 | transform | ) |
DAZ Script implementation of the RiConcatTransform() function
void DzScriptedRenderer::riCoordinateSystem | ( | String | space | ) |
DAZ Script implementation of the RiCoordinateSystem() function
void DzScriptedRenderer::riCoordSysTransform | ( | String | space | ) |
DAZ Script implementation of the RiCoordSysTransform() function
DAZ Script implementation of the RiCropWindow() function
DAZ Script implementation of the RiDeclare() function
DAZ Script implementation of the RiDepthOfField() function
void DzScriptedRenderer::riDetailRange | ( | Number | minvis, | |
Number | lowtran, | |||
Number | uptran, | |||
Number | maxvis | |||
) |
DAZ Script implementation of the RiDetailRange() function
void DzScriptedRenderer::riDisplay | ( | String | name, | |
String | type, | |||
String | mode, | |||
Array | tokens, | |||
Array | params | |||
) |
DAZ Script implementation of the RiDisplayV() function
DAZ Script implementation of the RiExposure() function
DAZ Script implementation of the RiFormat() function
void DzScriptedRenderer::riFrameAspectRatio | ( | Number | aspect | ) |
DAZ Script implementation of the RiFrameAspectRatio() function
DAZ Script implementation of the RiGeometricApproximation() function
DAZ Script implementation of the RiHiderV() function
void DzScriptedRenderer::riIdentity | ( | ) |
DAZ Script implementation of the RiIdentity() function
DAZ Script implementation of the RiIlluminate() function
void DzScriptedRenderer::riMakeBump | ( | String | pic, | |
String | tex, | |||
String | swrap, | |||
String | twrap, | |||
DzRenderOptions::PixelFilter | filterType, | |||
Number | swidth, | |||
Number | twidth, | |||
Array | tokens, | |||
Array | params | |||
) |
DAZ Script implementation of the RiMakeBumpV() function
void DzScriptedRenderer::riMakeCubeFaceEnvironment | ( | String | px, | |
String | nx, | |||
String | py, | |||
String | ny, | |||
String | pz, | |||
String | nz, | |||
String | tex, | |||
Number | fov, | |||
DzRenderOptions::PixelFilter | filterType, | |||
Number | swidth, | |||
Number | twidth, | |||
Array | tokens, | |||
Array | params | |||
) |
DAZ Script implementation of the RiMakeCubeFaceEnvironmentV() function
void DzScriptedRenderer::riMakeLatLongEnvironment | ( | String | pic, | |
String | tex, | |||
DzRenderOptions::PixelFilter | filterType, | |||
Number | swidth, | |||
Number | twidth, | |||
Array | tokens, | |||
Array | params | |||
) |
DAZ Script implementation of the RiMakeLatLongEnvironmentV() function
DAZ Script implementation of the RiMakeShadowV() function
void DzScriptedRenderer::riMakeTexture | ( | String | pic, | |
String | tex, | |||
String | swrap, | |||
String | twrap, | |||
DzRenderOptions::PixelFilter | filterType, | |||
Number | swidth, | |||
Number | twidth, | |||
Array | tokens, | |||
Array | params | |||
) |
DAZ Script implementation of the RiMakeTextureV() function
void DzScriptedRenderer::riMatte | ( | Boolean | onoff | ) |
DAZ Script implementation of the RiMatte() function
void DzScriptedRenderer::riOpacity | ( | Color | Os | ) |
DAZ Script implementation of the RiOpacity() function
DAZ Script implementation of the RiOptionV() function
void DzScriptedRenderer::riOrientation | ( | String | orientation | ) |
DAZ Script implementation of the RiOrientation() function
void DzScriptedRenderer::riPerspective | ( | Number | fov | ) |
DAZ Script implementation of the RiPerspective() function
void DzScriptedRenderer::riPixelFilter | ( | DzRenderOptions::PixelFilter | filterType, | |
Number | xwidth, | |||
Number | ywidth | |||
) |
DAZ Script implementation of the RiPixelFilter() function
DAZ Script implementation of the RiPixelSamples() function
void DzScriptedRenderer::riPixelVariance | ( | Number | variation | ) |
DAZ Script implementation of the RiPixelVariance() function
DAZ Script implementation of the RiProjectionV() function
void DzScriptedRenderer::riQuantize | ( | String | type, | |
Number | one, | |||
Number | qmin, | |||
Number | qmax, | |||
Number | ampl | |||
) |
DAZ Script implementation of the RiWQuantize() function
void DzScriptedRenderer::riRelativeDetail | ( | Number | relativedetail | ) |
DAZ Script implementation of the RiRelativeDetail() function
void DzScriptedRenderer::riReverseOrientation | ( | ) |
DAZ Script implementation of the RiReverseOrientation() function
DAZ Script implementation of the RiRotate() function
DAZ Script implementation of the RiScale() function
DAZ Script implementation of the RiScreenWindow() function
void DzScriptedRenderer::riShadingInterpolation | ( | String | type | ) |
DAZ Script implementation of the RiShadingInterpolation() function
void DzScriptedRenderer::riShadingRate | ( | Number | size | ) |
DAZ Script implementation of the RiShadingRate() function
DAZ Script implementation of the RiShutter() function
void DzScriptedRenderer::riSides | ( | Number | nsides | ) |
DAZ Script implementation of the RiSides() function
void DzScriptedRenderer::riSkew | ( | Number | angle, | |
Number | dx1, | |||
Number | dy1, | |||
Number | dz1, | |||
Number | dx2, | |||
Number | dy2, | |||
Number | dz2 | |||
) |
DAZ Script implementation of the RiSkew() function
void DzScriptedRenderer::riTransform | ( | DzMatrix4 | transform | ) |
DAZ Script implementation of the RiTransform() function
void DzScriptedRenderer::riTransformBegin | ( | ) |
DAZ Script implementation of the RiTransformBegin() function
void DzScriptedRenderer::riTransformEnd | ( | ) |
DAZ Script implementation of the RiTransformEnd() function
DAZ Script implementation of the RiTranslate() function
void DzScriptedRenderer::riWorldBegin | ( | ) |
DAZ Script implementation of the RiWorldBegin() function
void DzScriptedRenderer::setBackgroundColor | ( | Color | color | ) |
color | Sets the back ground color |
void DzScriptedRenderer::setContinueAfterPreProcess | ( | Boolean | shouldContinue | ) |
shouldContinue | PreProcess scripts should set this to false if they do not wish the the Ri call the launched them to execute |
void DzScriptedRenderer::setCropWindow | ( | DzRenderHandler | handler | ) |
Sets the crop window form the handler for the render
void DzScriptedRenderer::setDisplacementPreProcessScript | ( | String | filename | ) |
Set the path of the script to be run before a material displacement is processed.
void DzScriptedRenderer::setIsShadowPass | ( | Boolean | onOff | ) |
onOff | Set true if this is a shadow pass |
void DzScriptedRenderer::setLightPreProcessScript | ( | String | filename | ) |
Set the path of the script to be run before riLightSource and riAreaLightSource are processed.
void DzScriptedRenderer::setRenderScript | ( | String | filename | ) |
Set the path of the script that controls the rendering process.
Renderer
- refering to the current DzRenderer, Camera
- refering to the current DzCamera, BackDrop
- refering to the current DzBackDrop, and RenderOptions
- refering to the current DzRenderOptions, exist for the duration of filename. Referencing these variables from outside filename will result in an error. void DzScriptedRenderer::setSurfacePreProcessScript | ( | String | filename | ) |
Set the path of the script to be run before riSurface is processed.