Skip to content

3D engine that AI agents drive

2.1 KB
Raw Blame
{
  "format": "crucible.scene",
  "schemaVersion": 1,
  "geometries": [
    { "id": "base", "type": "lathe", "segments": 64, "profile": [[0, 0], [0.36, 0], [0.38, 0.03], [0.3, 0.07], [0.06, 0.1], [0, 0.1]] },
    { "id": "stem", "type": "cylinder", "segments": 32 },
    { "id": "shade", "type": "lathe", "segments": 64, "profile": [[0.12, 0], [0.4, 0], [0.4, 0.02], [0.14, 0.34], [0.1, 0.34]] },
    { "id": "bulb", "type": "sphere", "segments": 48, "rings": 32 },
    { "id": "floor", "type": "box", "bevel": 0 }
  ],
  "materials": [
    { "id": "brass", "color": [0.6, 0.38, 0.12], "metallic": 0.9, "roughness": 0.3 },
    { "id": "shade", "color": [0.9, 0.45, 0.12], "metallic": 0, "roughness": 0.7, "emission": 0.3, "emissiveColor": [1, 0.35, 0.05] },
    { "id": "glow", "color": [1, 0.35, 0.05], "emission": 3, "emissiveColor": [1, 0.35, 0.05] },
    { "id": "table", "color": [0.36, 0.22, 0.14], "metallic": 0, "roughness": 0.5 },
    { "id": "wall", "color": [0.12, 0.1, 0.1], "metallic": 0, "roughness": 0.9 }
  ],
  "nodes": [
    { "id": "table", "geometry": "floor", "material": "table", "translation": [0, -0.05, 0], "scale": [5, 0.1, 3] },
    { "id": "wall", "geometry": "floor", "material": "wall", "translation": [0, 1.5, -1.4], "scale": [8, 3.2, 0.1] },
    { "id": "lamp", "translation": [0, 0, 0] },
    { "id": "base", "parent": "lamp", "geometry": "base", "material": "brass" },
    { "id": "stem", "parent": "lamp", "geometry": "stem", "material": "brass", "translation": [0, 0.5, 0], "scale": [0.04, 0.8, 0.04] },
    { "id": "shade", "parent": "lamp", "geometry": "shade", "material": "shade", "translation": [0, 0.9, 0] },
    { "id": "bulb", "parent": "lamp", "geometry": "bulb", "material": "glow", "translation": [0, 0.98, 0], "scale": [0.2, 0.22, 0.2] }
  ],
  "camera": { "eye": [0.4, 0.95, 2.6], "target": [0, 0.55, 0], "fov": 32 },
  "environment": {
    "world": false,
    "viewTransform": "agx",
    "keyIntensity": 0.1,
    "ambientIntensity": 0.1,
    "pointLights": [{ "position": [0, 0.98, 0.35], "color": [1, 0.5, 0.15], "intensity": 3 }]
  },
  "effects": { "exposure": 1 }
}