Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/data/test.cim

193 lines
6 KiB
Text

{
"shots": [
{
"world": "test.world",
"start": 0,
"end": 5,
"entities": [
{
"name": "suzanne",
"components": [
{
"type": "Mesh",
"path": "suzanne.obj",
"material": "test.material"
},
{
"type": "Transform",
"position": "0,0,0"
}
]
},
{
"name": "suzanne2",
"components": [
{
"type": "Mesh",
"path": "suzanne.obj",
"material": "test.material"
},
{
"type": "Transform",
"position": "0,0,0"
},
{
"type": "Light",
"color": "1,0,0",
"kind": 0
}
]
},
{
"name": "camera",
"components": [
{
"type": "Transform",
"position": "0,0,0"
},
{
"type": "Camera",
"fov": 75
}
]
}
],
"animations": [
{
"target": "suzanne",
"targetComponent": "Transform",
"property": "position",
"keyframes": [
{
"time": 0,
"value": "0,2,0"
},
{
"time": 1,
"value": "0,4,-3.5"
},
{
"time": 3,
"value": "0,2.5,-4"
},
{
"time": 5,
"value": "0,2,-6"
}
]
},
{
"target": "suzanne2",
"targetComponent": "Transform",
"property": "position",
"keyframes": [
{
"time": 0,
"value": "5,2,-2"
},
{
"time": 2,
"value": "-5,2,-2"
}
]
},
{
"target": "camera",
"targetComponent": "Transform",
"property": "position",
"keyframes": [
{
"time": 0,
"value": "1,3,1"
},
{
"time": 3,
"value": "4,4,4"
}
]
}
]
},
{
"world": "empty.world",
"start": 5,
"end": 10,
"entities": [
{
"name": "suzanne",
"components": [
{
"type": "Mesh",
"path": "suzanne.obj",
"material": "test.material"
},
{
"type": "Transform",
"position": "0,5,0"
}
]
},
{
"name": "camera",
"components": [
{
"type": "Transform",
"position": "0,0,0"
},
{
"type": "Camera",
"fov": 75
}
]
}
],
"animations": [
{
"target": "camera",
"targetComponent": "Transform",
"property": "position",
"keyframes": [
{
"time": 5,
"value": "-5,5,2"
},
{
"time": 10,
"value": "5,5,2"
}
]
},
{
"target": "camera",
"targetComponent": "Camera",
"property": "fov",
"keyframes": [
{
"time": 5,
"value": 35
},
{
"time": 10,
"value": 75
}
]
},
{
"target": "camera",
"targetComponent": "Camera",
"property": "target",
"keyframes": [
{
"time": 5,
"value": "0,5,0"
},
{
"time": 10,
"value": "0,5,0"
}
]
}
]
}
]
}