diff options
-rw-r--r-- | scenefiles-4d/unit_sphere.json | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/scenefiles-4d/unit_sphere.json b/scenefiles-4d/unit_sphere.json new file mode 100644 index 0000000..f86ee09 --- /dev/null +++ b/scenefiles-4d/unit_sphere.json @@ -0,0 +1,46 @@ +{ + "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, 1.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, 1.0, 0.0, 0.0] + }, + "groups": [ + { + "lights": [ + { + "type": "directional", + "color": [1.0, 1.0, 1.0], + "direction": [-3.0, -2.0, -1.0, 0.0] + } + ] + }, + { + "groups": [ + { + "translate": [0.0, 0.0, 0.0, 0.0], + "rotate": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], + "scale": [1.0, 1.0, 1.0, 1.0], + "primitives": [ + { + "type": "sphere", + "diffuse": [1.0, 0.0, 0.0], + "specular": [1.0, 1.0, 1.0], + "shininess": 25.0 + } + ] + } + ] + } + ] +} |