Dawn/assets/test_scene.json

35 lines
674 B
JSON

{
"name": "Test Scene",
"assets": {
"rosa": {
"type": "texture",
"path": "rosa.texture"
}
},
"items": {
"camera": {
"lookAt": {
"position": [ 5, 5, 5 ],
"look": [ 0, 0, 0 ],
"view": [ 0, 1, 0 ]
},
"components": {
"camera": {
"type": "Camera",
"fov": 90
}
}
},
"cube": {
"position": [ 0, 0, 0 ],
"scale": [ 3, 3, 3 ],
"components": {
"mat": { "type": "SimpleTexturedMaterial", "color": "blue", "texture": "rosa" },
"renderer": { "type": "MeshRenderer" },
"mesh": { "type": "CubeMesh" }
}
}
}
}