diff options
| author | sotech117 <michael_foiani@brown.edu> | 2023-12-13 04:46:45 -0500 |
|---|---|---|
| committer | sotech117 <michael_foiani@brown.edu> | 2023-12-13 04:53:35 -0500 |
| commit | f887bd83942f13efe98d0c2cd997d037ed2ef068 (patch) | |
| tree | c9bbf009b7181ca40ca0fa8b7e0b0ba45ffe1761 /scenefiles-4d | |
| parent | c6c65df3122329a8748899d48ddeeb04ed23518d (diff) | |
fixing changes
Diffstat (limited to 'scenefiles-4d')
| -rw-r--r-- | scenefiles-4d/sphere_collision.json | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/scenefiles-4d/sphere_collision.json b/scenefiles-4d/sphere_collision.json new file mode 100644 index 0000000..415ec08 --- /dev/null +++ b/scenefiles-4d/sphere_collision.json @@ -0,0 +1,66 @@ +{ + "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": [0.0, -1.0, 0.0, 0.0] + }, + { + "type": "directional", + "color": [1.0, 1.0, 1.0], + "direction": [1.0, 1.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, 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, + "velocity": [0.0, 0.0, 0.0, 0.0] + } + ] + }, + { + "translate": [5.0, 0.0, 0.0, 5.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": [0.0, 1.0, 0.0], + "specular": [1.0, 1.0, 1.0], + "shininess": 25.0, + "velocity": [-1.0, 0.0, 0.0, -1.0] + } + ] + } + ] + } + ] +} |
