diff options
Diffstat (limited to 'scenefiles-4d/unit_cube_rotated.json')
-rw-r--r-- | scenefiles-4d/unit_cube_rotated.json | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/scenefiles-4d/unit_cube_rotated.json b/scenefiles-4d/unit_cube_rotated.json new file mode 100644 index 0000000..4cdb15b --- /dev/null +++ b/scenefiles-4d/unit_cube_rotated.json @@ -0,0 +1,72 @@ +{ + "name": "root", + "globalData": { + "ambientCoeff": 0.5, + "diffuseCoeff": 0.5, + "specularCoeff": 0.5, + "transparentCoeff": 0, + "gravity": [0.0, -0.0098, 0.0, 0.0] + }, + "cameraData": { + "position": [-3.0, -3.0, -3.0, -3.0], + "up": [0.0, 1.0, 0.0, 0.0], + "heightAngle": 30.0, + "depthAngle": 30.0, + "focus": [0.0, 0.0, 0.0, 0.0], + "over": [0.0, 0.0, 0.0, 1.0] + }, + "groups": [ + { + "lights": [ + { + "type": "directional", + "color": [1.0, 1.0, 1.0], + "direction": [3.0, 3.0, 3.0, 3.0] + }, + { + "type": "directional", + "color": [1.0, 0.0, 0.0], + "direction": [3.0, -3.0, 3.0, -3.0] + }, + { + "type": "directional", + "color": [0.0, 0.0, 1.0], + "direction": [-3.0, 3.0, 3.0, -3.0] + }, + { + "type": "directional", + "color": [1.0, 0.0, 1.0], + "direction": [-3.0, -3.0, -3.0, -3.0] + }, + { + "type": "directional", + "color": [1.0, 1.0, 0.0], + "direction": [-3.0, -3.0, 3.0, 3.0] + }, + { + "type": "directional", + "color": [0.0, 1.0, 1.0], + "direction": [3.0, 3.0, -3.0, -3.0] + } + ] + }, + { + "groups": [ + { + "translate": [0.0, 0.0, 0.0, 0.0], + "rotate": [0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 30.0], + "scale": [1.0, 1.0, 1.0, 1.0], + "primitives": [ + { + "type": "cube", + "diffuse": [1.0, 1.0, 1.0], + "specular": [1.0, 1.0, 1.0], + "shininess": 25.0, + "velocity": [0.0, 0.0, 0.0, 0.0] + } + ] + } + ] + } + ] +} |