Motion kit command

camera.stereoRig

Create Stereo 3D Rig

Builds a stereo 3D rig in `comp`: a master camera (the active one or new), left and right eye cameras and comps, a Stereo 3D Controls layer and a 3D Glasses output. `configuration`, `sceneDepth` (% of width) and `convergence` set the rig.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
yes

Parameters

Parameters of camera.stereoRig
NameTypeRequiredDescription
compinteger | stringno
configuration"stereoPair" | "centerRight" | "centerLeft"no
convergencebooleanno
convergenceOf"poi" | "zoom"no
sceneDepthnumberno% of comp width, default 3
view3dintegerno3D Glasses view index (default 5 Balanced Colored Red Blue); default 5 Balanced Colored Red Blue
zOffsetnumberno

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "camera.stereoRig" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: comp, configuration, convergence, convergenceOf, sceneDepth, view3d, zOffset. motion_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": {
    "comp": {
      "oneOf": [
        {
          "description": "item id",
          "type": "integer"
        },
        {
          "description": "comp name",
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "configuration": {
      "enum": [
        "stereoPair",
        "centerRight",
        "centerLeft"
      ],
      "type": "string"
    },
    "convergence": {
      "type": "boolean"
    },
    "convergenceOf": {
      "enum": [
        "poi",
        "zoom"
      ],
      "type": "string"
    },
    "sceneDepth": {
      "description": "% of comp width, default 3",
      "type": "number"
    },
    "view3d": {
      "description": "3D Glasses view index (default 5 Balanced Colored Red Blue); default 5 Balanced Colored Red Blue",
      "type": "integer"
    },
    "zOffset": {
      "type": "number"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.