The following is a list and brief descriptions of the sample scripts shipped with the DAZ Studio SDK.
DAZ Studio Core Functionality | |
Point At | The source for the DAZ Script that provides the Point At functionality, via the context menu for the viewport, in DAZ Studio. |
Move To Floor | The source for the DAZ Script that provides the Move To Floor functionality, via the Option Menu for the Parameters tab, in DAZ Studio. |
Aim Camera | The source for the DAZ Script that provides the Aim Camera functionality, via the View tab, in DAZ Studio. |
Frame Camera | The source for the DAZ Script that provides the Frame Camera functionality, via the View tab, in DAZ Studio. |
General Standards | |
Simple Dialog | The source for a simple DAZ Script that provides the standard dialog button layout of dialogs in DAZ Studio. |
Widget Test | The source for a simple DAZ Script that tests various aspects of the widget types. |
Utilities | |
Calculator | The source for a calculator, written completely using DAZ Script' intrinsic types. |
DS to DSB Converter | The source for a simple DAZ Script that will convert ascii scripts (*.ds) to their encrypted counterpart (*.dsb). |
Render To RIB | The source for a DAZ Script that will allow you to "render" to a RIB file. |
Render To Backdrop | The source for a DAZ Script that will allow you to render to an image that is immediately set as the backdrop. |
Set Default Property Groups | The source for a DAZ Script that will arrange specific properties into their "default" groups. |
Geometry Pipeline | The source for a DAZ Script that will generate a geometric plane, demonstrating use of the geometry pipeline. |
RenderMan® Surface Shader Related ( ./samples/shader swapping/) | |
Constant Shader Preset | The source for a Shader Preset that applies a DzShaderMaterial definition (below) for the standard RenderMan Constant Surface Shader. The file is as written by the standard SaveFilter at File > Save As > Shader Preset. |
Constant Material Definition | The source for a material definition script, a support file required by the Shader Preset sample linked above, that builds the DzRSLShader objects that interface with a shader. |
Constant Shader Definition | The source for a shader definition script, a support file required by the Material Definition sample linked above, that builds the properties accessible to users, in the UI, via the Surface tab. |
Constant Surface Shader | The RenderMan Shading Language (RSL) source for the standard RenderMan Constant Surface Shader. |
Default RenderTime Script | The source for a render time script, a support file required by the sample linked above, that sets object attributes. |
Example Material Definition | The source for an example material definition script, showing shader object creation. |
Example Shader Definition | The source for an example shader definition script, showing property creation for passing tokens to the shader and alternatively for use in setting attributes via the rendertime script(s). |
Advanced Edition - Scripted Renderer ( ./samples/advanced/scripted renderer/) | |
Load Script | The source for a DAZ Script that prepares the DzScriptedRenderer in DAZ Studio Advanced for rendering operations. |
Render Pass Script | The source for a DAZ Script that controls the rendering process for the DzScriptedRenderer in DAZ Studio Advanced. |