Project files

The scene file, archetypes.json and kebab-project.json.

Scene file

A standard glTF 2.0 file. Archetype instances live under extras.kebab on each node:

{
  "name": "Lamp",
  "translation": [0, 3, 0],
  "extras": {
    "kebab": {
      "archetypes": [
        { "id": "point_light",
          "params": { "color": "(1.0, 0.5, 0.0)", "intensity": 1000.0, "range": 6.0 } }
      ]
    }
  }
}

A greybox is stored as extras.kebab.greybox with a shape, a size and a color.

archetypes.json

Your own archetype definitions, next to the scene. Each has an id, a display name, an optional icon, a single flag and typed parameters with defaults.

kebab-project.json

FieldMeaning
versionAlways 1
assetRootThe explorer root, relative to the folder containing the file
assetFoldersFolders shown under the root, relative to assetRoot
scenesScene files that open as editable scenes, relative to assetRoot

All paths must stay inside the project.

Edit this page on GitHub