{ "globalData": { "ambientCoeff": 0.5, "diffuseCoeff": 0.5, "specularCoeff": 0.5, "transparentCoeff": 1 }, "cameraData": { "position": [5, 1, 5], "up": [0, 1, 0], "heightAngle": 30, "look": [-1, 0, -1] }, "groups": [ { "name": "Lights", "lights": [ { "color": [1, 0, 0], "type": "directional", "direction": [0, -0.2, -1] }, { "color": [0, 1, 0], "type": "directional", "direction": [1, -0.2, 1] }, { "color": [0, 0, 1], "type": "directional", "direction": [-1, -0.2, 0] }, { "color": [0, 0, 1], "type": "directional", "direction": [1, -0.2, -1] }, { "color": [0, 0, 1], "type": "directional", "direction": [-1, -0.2, 1] } ] }, { "name": "Mirror 1", "translate": [-3, 1, 0], "scale": [0.1, 3, 4], "primitives": [ { "type": "cube", "reflective": [0.9, 0.9, 0.9], "ambient": [0.68, 0.85, 0.9], "diffuse": [0.8, 0.8, 0.8] } ] }, { "name": "Mirror 2", "translate": [0, 1, -3], "scale": [4, 3, 0.1], "primitives": [ { "type": "cube", "reflective": [0.9, 0.9, 0.9], "ambient": [0.68, 0.85, 0.9], "diffuse": [0.8, 0.8, 0.8] } ] }, { "name": "Table", "translate": [0, -1, 0], "scale": [10, 0.5, 10], "primitives": [ { "type": "cube", "ambient": [0, 0.2, 0.13] } ] }, { "name": "Sphere 1", "translate": [1, 0, -1], "primitives": [ { "type": "sphere", "ambient": [0, 1, 0], "reflective": [0.6, 0.6, 0.6], "shininess": 30 } ] }, { "name": "Sphere 2", "translate": [-1, 0, -1], "primitives": [ { "type": "sphere", "ambient": [1, 0, 0], "reflective": [0.6, 0.6, 0.6], "shininess": 30 } ] }, { "name": "Sphere 3", "translate": [-1, 0, 1], "primitives": [ { "type": "sphere", "ambient": [0, 0, 1], "reflective": [0.6, 0.6, 0.6], "shininess": 30 } ] } ] }