|
@@ -11,7 +11,7 @@
|
|
"objects":
|
|
"objects":
|
|
{
|
|
{
|
|
"cube1" : {
|
|
"cube1" : {
|
|
- "geometry" : "cube",
|
|
|
|
|
|
+ "geometry" : "cubeNormals",
|
|
"materials": [ "lambert_red" ],
|
|
"materials": [ "lambert_red" ],
|
|
"position" : [ 0, 0, 0 ],
|
|
"position" : [ 0, 0, 0 ],
|
|
"rotation" : [ 0, -0.3, 0 ],
|
|
"rotation" : [ 0, -0.3, 0 ],
|
|
@@ -20,7 +20,7 @@
|
|
},
|
|
},
|
|
|
|
|
|
"cube2" : {
|
|
"cube2" : {
|
|
- "geometry" : "cube",
|
|
|
|
|
|
+ "geometry" : "cubeWire",
|
|
"materials": [ "basic_white" ],
|
|
"materials": [ "basic_white" ],
|
|
"position" : [ 0, 0, 0 ],
|
|
"position" : [ 0, 0, 0 ],
|
|
"rotation" : [ 0, -0.3, 0 ],
|
|
"rotation" : [ 0, -0.3, 0 ],
|
|
@@ -153,6 +153,30 @@
|
|
"sides" : { "px": true, "nx": true, "py": true, "ny": true, "pz": true, "nz": true }
|
|
"sides" : { "px": true, "nx": true, "py": true, "ny": true, "pz": true, "nz": true }
|
|
},
|
|
},
|
|
|
|
|
|
|
|
+ "cubeNormals": {
|
|
|
|
+ "type" : "cube",
|
|
|
|
+ "width" : 10,
|
|
|
|
+ "height": 10,
|
|
|
|
+ "depth" : 10,
|
|
|
|
+ "segmentsWidth" : 1,
|
|
|
|
+ "segmentsHeight" : 1,
|
|
|
|
+ "segmentsDepth" : 1,
|
|
|
|
+ "flipped" : false,
|
|
|
|
+ "sides" : { "px": true, "nx": true, "py": true, "ny": true, "pz": true, "nz": true }
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ "cubeWire": {
|
|
|
|
+ "type" : "cube",
|
|
|
|
+ "width" : 10,
|
|
|
|
+ "height": 10,
|
|
|
|
+ "depth" : 10,
|
|
|
|
+ "segmentsWidth" : 1,
|
|
|
|
+ "segmentsHeight" : 1,
|
|
|
|
+ "segmentsDepth" : 1,
|
|
|
|
+ "flipped" : false,
|
|
|
|
+ "sides" : { "px": true, "nx": true, "py": true, "ny": true, "pz": true, "nz": true }
|
|
|
|
+ },
|
|
|
|
+
|
|
"plane": {
|
|
"plane": {
|
|
"type" : "plane",
|
|
"type" : "plane",
|
|
"width" : 10,
|
|
"width" : 10,
|