Defines a scene, which is a collection of new instances (with applicable hook-ups into what may already be in the scene) and property settings.
Scene objects can exist in either a DUF or a DSF file, but only one scene object can exist per file. Scene objects are typically in the user facing DUF files. A scene object can represent either an entire scene (scene replacement) or to augment or replace parts of a scene.
| Name | Description | Default | Required |
|---|---|---|---|
| presentation | A presentation object representing information to be displayed to the user. | None | no |
| nodes | An array of node_instance objects to add to the scene. | None | no |
| uvs | An array of uv_set_instance objects to add to the scene. | None | no |
| modifiers | An array of modifier_instance objects to add to the scene. | None | no |
| materials | An array of material_instance objects to assign to geometries in the scene. | None | no |
| animations | An array of channel_animation objects. | None | no |
| current_camera | A string representing the URI of a camera node_instance within the scene to use as the current camera. | None | no |
| extra | An array of objects that represent additional application-specific information for this object. | N/A | no |
{
"nodes" : [
node_instance,
node_instance,
...
],
"materials" : [
material_instance,
material_instance,
...
],
"extra" : [
{
"type" : "studio_scene_settings",
"current_time" : 0,
"background_color" : [ 0.3686275, 0.3686275, 0.3686275 ]
},
{
"type" : "studio_render_settings",
"render_options" : {
"aspect_ratio" : [ 827, 983 ],
"startTime" : 0,
"endTime" : 1,
"renderMovToId" : "MovieFile",
"isAspectConstrained" : true,
"imageSize" : [ 827, 983 ],
"renderType" : "Software",
"renderStyle" : "Normal",
"rayTraceDepth" : 2,
"openGLPasses" : 8,
"useGLSL" : true,
"isCurrentFrameRender" : true,
"xPixelSamples" : 4,
"yPixelSamples" : 4,
"shadowSamples" : 16,
"shadingRate" : 1,
"doubleSided" : true,
"gain" : 1,
"gamma" : 1,
"pixelFilter" : "Sinc",
"xFilterWidth" : 6,
"yFilterWidth" : 6
}
}
]
}