diff options
author | Nicholas Bottone <nick@bottone.io> | 2023-12-12 22:36:31 -0500 |
---|---|---|
committer | Nicholas Bottone <nick@bottone.io> | 2023-12-12 22:36:32 -0500 |
commit | 7ee442a06af880c13d060d5d5f2257b12f036ab7 (patch) | |
tree | bcbf7190db6aec7b6ae6ec490fe2539652cf5065 | |
parent | 37eeb71306b11d8980482443b173d6c44030c1e9 (diff) |
Add unit sphere
-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 + } + ] + } + ] + } + ] +} |