Scene kit command

render.animation

Render Animation

Renders frames `start` to `end` (every `step`) and answers them as pictures. Does not change the scene.

Kit
Scene 0.1.0 (.kscene)
Changes the document
no

Parameters

Parameters of render.animation
NameTypeRequiredDescription
endintegernoThe last frame (the range's end when left out)
samplesintegernoSamples per pixel side, 1 to 4 (1)
startintegernoThe first frame (the range's start when left out)
stepintegernoRender every nth frame (1)

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "render.animation" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: end, samples, start, step. scene_run answers the step’s result in completed[i].result.

Result

Result JSON Schema
json
{
  "additionalProperties": true,
  "description": "the rendered frames (see the description)",
  "properties": {},
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "end": {
      "description": "The last frame (the range's end when left out)",
      "type": "integer"
    },
    "samples": {
      "description": "Samples per pixel side, 1 to 4 (1)",
      "type": "integer"
    },
    "start": {
      "description": "The first frame (the range's start when left out)",
      "type": "integer"
    },
    "step": {
      "description": "Render every nth frame (1)",
      "type": "integer"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.