Skip to content

3D engine that AI agents drive

3.4 KB
Raw Blame
{
  "format": "crucible.scene",
  "schemaVersion": 1,
  "geometries": [
    { "id": "post", "type": "cylinder", "segments": 32 },
    { "id": "ball", "type": "sphere", "segments": 48, "rings": 32 },
    { "id": "floor", "type": "box", "bevel": 0 }
  ],
  "materials": [
    { "id": "subject", "color": [0.9, 0.35, 0.12], "metallic": 0, "roughness": 0.45 },
    { "id": "stone", "color": [0.62, 0.6, 0.56], "metallic": 0, "roughness": 0.8 },
    { "id": "ground", "color": [0.3, 0.32, 0.34], "metallic": 0, "roughness": 0.9 }
  ],
  "nodes": [
    { "id": "ground", "geometry": "floor", "material": "ground", "translation": [0, -0.05, -8], "scale": [14, 0.1, 30] },
    { "id": "figure-body", "geometry": "post", "material": "subject", "translation": [0, 0.55, 0], "scale": [0.28, 1.1, 0.28] },
    { "id": "figure-head", "geometry": "ball", "material": "subject", "translation": [0, 1.3, 0], "scale": [0.3, 0.3, 0.3] },
    { "id": "left-1", "geometry": "post", "material": "stone", "translation": [-2.2, 1.2, -2], "scale": [0.35, 2.4, 0.35] },
    { "id": "left-2", "geometry": "post", "material": "stone", "translation": [-2.2, 1.2, -5], "scale": [0.35, 2.4, 0.35] },
    { "id": "left-3", "geometry": "post", "material": "stone", "translation": [-2.2, 1.2, -8], "scale": [0.35, 2.4, 0.35] },
    { "id": "left-4", "geometry": "post", "material": "stone", "translation": [-2.2, 1.2, -11], "scale": [0.35, 2.4, 0.35] },
    { "id": "right-1", "geometry": "post", "material": "stone", "translation": [2.2, 1.2, -2], "scale": [0.35, 2.4, 0.35] },
    { "id": "right-2", "geometry": "post", "material": "stone", "translation": [2.2, 1.2, -5], "scale": [0.35, 2.4, 0.35] },
    { "id": "right-3", "geometry": "post", "material": "stone", "translation": [2.2, 1.2, -8], "scale": [0.35, 2.4, 0.35] },
    { "id": "right-4", "geometry": "post", "material": "stone", "translation": [2.2, 1.2, -11], "scale": [0.35, 2.4, 0.35] }
  ],
  "camera": { "eye": [0, 0.8, 1.759],"target": [0, 0.8, 0], "fov": 75 },
  "environment": { "world": true, "lightDirection": [-0.5, 1, 0.6], "keyIntensity": 1.6, "ambientIntensity": 0.5, "skyTop": [0.55, 0.7, 0.9], "skyBottom": [0.85, 0.88, 0.9] },
  "motion": {
    "duration": 4.8,
    "loop": false,
    "tracks": [
      {
        "kind": "camera", "property": "fov", "interpolation": "LINEAR",
        "keyframes": [{ "time": 0, "value": 75 }, { "time": 0.4, "value": 70.42 }, { "time": 0.8, "value": 65.83 }, { "time": 1.2, "value": 61.25 }, { "time": 1.6, "value": 56.67 }, { "time": 2, "value": 52.08 }, { "time": 2.4, "value": 47.5 }, { "time": 2.8, "value": 42.92 }, { "time": 3.2, "value": 38.33 }, { "time": 3.6, "value": 33.75 }, { "time": 4, "value": 29.17 }, { "time": 4.4, "value": 24.58 }, { "time": 4.8, "value": 20 }]
      },
      {
        "kind": "camera", "property": "eye", "interpolation": "LINEAR",
        "keyframes": [{ "time": 0, "value": [0, 0.8, 1.759] }, { "time": 0.4, "value": [0, 0.8, 1.913] }, { "time": 0.8, "value": [0, 0.8, 2.086] }, { "time": 1.2, "value": [0, 0.8, 2.28] }, { "time": 1.6, "value": [0, 0.8, 2.504] }, { "time": 2, "value": [0, 0.8, 2.763] }, { "time": 2.4, "value": [0, 0.8, 3.068] }, { "time": 2.8, "value": [0, 0.8, 3.434] }, { "time": 3.2, "value": [0, 0.8, 3.884] }, { "time": 3.6, "value": [0, 0.8, 4.45] }, { "time": 4, "value": [0, 0.8, 5.188] }, { "time": 4.4, "value": [0, 0.8, 6.197] }, { "time": 4.8, "value": [0, 0.8, 7.656] }]
      }
    ]
  }
}