Scene kit command

render.set

Render Settings

Sets render width and height, motion blur and shutter, ambient occlusion (on, distance, strength), and colour management (view transform, look, exposure).

Kit
Scene 0.1.0 (.kscene)
Changes the document
yes

Parameters

Parameters of render.set
NameTypeRequiredDescription
aobooleannoAmbient occlusion in fast renders: creases and covered places get less of the world's light (on)
aoDistancenumber | nullnoHow far around a point surfaces occlude it, in metres (up to 1000); null works it out from the scene's size (6 % of its diagonal, 0.05 to 2 m)
aoStrengthnumbernoHow much of the occlusion shows, 0 to 4 (1)
exposurenumbernoStops of exposure before the view transform, -32 to 32 (0)
heightintegernoPixels
look"none" | "punchy" | "greyscale" | "high-contrast" | "low-contrast"noA grade after the view transform (none)
motionBlurbooleannoBlur what moves while the shutter is open, in path-traced renders
shutternumbernoHow long the shutter is open, in frames (0.5)
shutterPosition"center" | "start" | "end"noWhere the shutter opens around the frame (center)
view"standard" | "agx" | "khronos-pbr-neutral"noColour management's view transform (standard): standard clips at white, agx and khronos-pbr-neutral roll highlights off
widthintegernoPixels

Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: ao, aoDistance, aoStrength, exposure, height, look, motionBlur, shutter, shutterPosition, view, width. scene_run answers the step’s result in completed[i].result.

Result

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "ao": {
      "description": "Ambient occlusion in fast renders: creases and covered places get less of the world's light (on)",
      "type": "boolean"
    },
    "aoDistance": {
      "description": "How far around a point surfaces occlude it, in metres (up to 1000); null works it out from the scene's size (6 % of its diagonal, 0.05 to 2 m)",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ]
    },
    "aoStrength": {
      "description": "How much of the occlusion shows, 0 to 4 (1)",
      "type": "number"
    },
    "exposure": {
      "description": "Stops of exposure before the view transform, -32 to 32 (0)",
      "type": "number"
    },
    "height": {
      "description": "Pixels",
      "type": "integer"
    },
    "look": {
      "description": "A grade after the view transform (none)",
      "enum": [
        "none",
        "punchy",
        "greyscale",
        "high-contrast",
        "low-contrast"
      ],
      "type": "string"
    },
    "motionBlur": {
      "description": "Blur what moves while the shutter is open, in path-traced renders",
      "type": "boolean"
    },
    "shutter": {
      "description": "How long the shutter is open, in frames (0.5)",
      "type": "number"
    },
    "shutterPosition": {
      "description": "Where the shutter opens around the frame (center)",
      "enum": [
        "center",
        "start",
        "end"
      ],
      "type": "string"
    },
    "view": {
      "description": "Colour management's view transform (standard): standard clips at white, agx and khronos-pbr-neutral roll highlights off",
      "enum": [
        "standard",
        "agx",
        "khronos-pbr-neutral"
      ],
      "type": "string"
    },
    "width": {
      "description": "Pixels",
      "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.