Browse Source

should probably actually add changes to last commit

master
cinnaboot 8 years ago
parent
commit
8832712517
  1. 77
      data/test_scene.json

77
data/test_scene.json

@ -34,87 +34,34 @@
{
"name" : "box",
"model_file" : "block2.dae",
"position" : {
"x" : 140,
"y" : -100,
"z" : 0
},
"rotation" : {
"x" : 0,
"y" : 0,
"z" : 0,
"w" : 0
},
"scale" : {
"x" : 10,
"y" : 10,
"z" : 10
}
"position" : {"x":140,"y":-100,"z":0},
"rotation" : {"x":0,"y":0,"z":0,"w":0},
"scale" : {"x":10,"y":10,"z":10}
},
{
"name" : "ground",
"model_file" : "level.2.dae",
"position" : {
"x" : 0,
"y" : 0,
"z" : -1
},
"rotation" : {
"x" : 0,
"y" : 0,
"z" : 0,
"w" : 0
},
"scale" : {
"x" : 300,
"y" : 300,
"z" : 300
}
"position" : {"x":0,"y":0,"z":-1},
"rotation" : {"x":0,"y":0,"z":0,"w":0},
"scale" : {"x":300,"y":300,"z":300}
}
],
"lights" : [
{
"intensity" : 1.0,
"color" : {
"r" : 0,
"g" : 0,
"b" : 0
},
"position" : {
"x" : -1000,
"y" : 0,
"z" : 100
}
"color" : {"r":0,"g":0,"b":0},
"position" : {"x":-1000,"y":0,"z":100}
},
{
"intensity" : 1.0,
"color" : {
"r" : 0,
"g" : 0,
"b" : 0
},
"position" : {
"x" : -400,
"y" : 0,
"z" : 100
}
"color" : {"r":0,"g":0,"b":0},
"position" : {"x":-400,"y":0,"z":100}
},
{
"intensity" : 1.0,
"color" : {
"r" : 0,
"g" : 0,
"b" : 0
},
"position" : {
"x" : 200,
"y" : 0,
"z" : 100
}
"color" : {"r":0,"g":0,"b":0},
"position" : {"x":200,"y":0,"z":100}
}
]
}

Loading…
Cancel
Save