From f887bd83942f13efe98d0c2cd997d037ed2ef068 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Wed, 13 Dec 2023 04:46:45 -0500 Subject: fixing changes --- scenefiles-4d/sphere_collision.json | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 scenefiles-4d/sphere_collision.json (limited to 'scenefiles-4d') 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] + } + ] + } + ] + } + ] +} -- cgit v1.2.3-70-g09d2