Kevin's Table

{ "name":"testscene", "cameras":[{ "fovy": 1.0, "pos": [0, 2, 5] } ], "lights":[ { "pos":[0, 2, 0], "color":[1, 1, 1] } ], "materials":{ "green":{ "kd":[0.0, 1.0, 0.0] }, "red":{ "kd":[1.0, 0.0, 0.0] }, "brown":{ "kd":[0.66, 0.39, 0.29], "ks":[0.66, 0.39, 0.29] }, "yellow":{ "kd":[1.0, 1.0, 0.0] } }, "children":[ { "name":"testscene", "materials":{ "green":{ "ka":[0.05, 0.05, 0.05], "kd":[0.0, 1.0, 0.0], "ks":[0.8, 0.0, 0.0] }, "red":{ "kd":[1.0, 0.0, 0.0] }, "brown": { "kd": [0.75, 0.25, 0], "ks":[0.33, 0.33, 0.33], "ka":[0.2, 0.05, 0] }, "yellow": { "kd": [1, 1, 0], "ks": [0.33, 0.33, 0.33], "ka": [0.05, 0.05, 0] } }, "lights":[ { "pos":[0, 2, 1], "color":[1, 1, 1] }, { "pos":[0, 2, -3], "color":[1, 1, 1] } ], "cameras":[ { "pos": [0.00, 1.50, 5.00], "rot": [0.00, 0.00, 0.00, 1.00], "fovy": 1.0 } ], "children":[ { "transform":[0.71, 0, 0.71, 0, 0, 1, 0, 0.5, -0.71, 0, 0.71, 0, 0, 0, 0, 1], "children": [ { "transform":[1, 0, 0, 0, 0, 0.15, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1], "shapes":[ { "type":"box", "length":1, "width":1, "height":1, "center":[0, 0, 0], "material":"brown" } ] }, { "transform":[1, 0, 0, -0.4, 0, 1, 0, -0.25, 0, 0, 1, -0.65, 0, 0, 0, 1], "shapes":[ { "type":"box", "length":0.15, "width":0.15, "height":0.5, "center":[0, 0, 0], "material":"brown" } ] }, { "transform":[1, 0, 0, -0.4, 0, 1, 0, -0.25, 0, 0, 1, 0.65, 0, 0, 0, 1], "shapes":[ { "type":"box", "length":0.15, "width":0.15, "height":0.5, "center":[0, 0, 0], "material":"brown" } ] }, { "transform":[1, 0, 0, 0.4, 0, 1, 0, -0.25, 0, 0, 1, 0.65, 0, 0, 0, 1], "shapes":[ { "type":"box", "length":0.15, "width":0.15, "height":0.5, "center":[0, 0, 0], "material":"brown" } ] }, { "transform":[1, 0, 0, 0.4, 0, 1, 0, -0.25, 0, 0, 1, -0.65, 0, 0, 0, 1], "shapes":[ { "type":"box", "length":0.15, "width":0.15, "height":0.5, "center":[0, 0, 0], "material":"brown" } ] } ] }, { "transform":[20, 0, 0, 0, 0, 20, 0, 0, 0, 0, 20, 0, 0, 0, 0, 1], "shapes":[ { "type":"mesh", "filename":"../../Materials/ggslac/meshes/square.off", "material":"green" } ] }, { "transform":[2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], "shapes":[ { "type":"sphere", "radius":0.5, "center":[0, 0, -10], "material":"green" } ] }, { "transform":[1, 0, 0, 0, 0, 1, 0, 1.1, 0, 0, 1, 0, 0, 0, 0, 1], "shapes":[ { "type":"mesh", "filename": "../../Materials/ggslac/meshes/homer.off", "material": "yellow" } ] } ] } ] }

Controls

  • Mouse: Click and drag to look around
  • W: Forward
  • S: Backwards
  • A: Left
  • D: Right
  • E: Up
  • C: Down