diff options
| author | David Doan <daviddoan@Davids-MacBook-Pro-193.local> | 2023-12-13 01:30:56 -0500 |
|---|---|---|
| committer | David Doan <daviddoan@Davids-MacBook-Pro-193.local> | 2023-12-13 01:30:56 -0500 |
| commit | e5e01a62cd12a338b66c0a33775e91854a305ec4 (patch) | |
| tree | 9b8a5f01d13febcc719b531e6eb26d18d0ff1067 /scenefiles-4d/unit_cube.json | |
| parent | ab87941ad346b0e09b7855ad834379f425538455 (diff) | |
grinds
Diffstat (limited to 'scenefiles-4d/unit_cube.json')
| -rw-r--r-- | scenefiles-4d/unit_cube.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/scenefiles-4d/unit_cube.json b/scenefiles-4d/unit_cube.json new file mode 100644 index 0000000..6810d2e --- /dev/null +++ b/scenefiles-4d/unit_cube.json @@ -0,0 +1,47 @@ +{ + "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": "cube", + "diffuse": [1.0, 0.0, 0.0], + "specular": [1.0, 1.0, 1.0], + "shininess": 25.0, + "velocity": [0.0, 0.0, 0.0, 0.0] + } + ] + } + ] + } + ] +} |
