---
title: "camera.stereoRig: Create Stereo 3D Rig — Motion kit command — Kition"
description: "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."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/camera.stereoRig"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/camera.stereoRig](https://developer.kition.ai/docs/kits/motion/commands/camera.stereoRig)

# 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); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `comp` | `integer \| string` | no |  |
| `configuration` | `"stereoPair" \| "centerRight" \| "centerLeft"` | no |  |
| `convergence` | `boolean` | no |  |
| `convergenceOf` | `"poi" \| "zoom"` | no |  |
| `sceneDepth` | `number` | no | % of comp width, default 3 |
| `view3d` | `integer` | no | 3D Glasses view index (default 5 Balanced Colored Red Blue); default 5 Balanced Colored Red Blue |
| `zOffset` | `number` | no |  |

## 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/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
