aboutsummaryrefslogtreecommitdiff
path: root/scenefiles-4d
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-12-13 14:41:20 -0500
committersotech117 <michael_foiani@brown.edu>2023-12-13 14:41:20 -0500
commite118c821460043c97e856eb780bd60f17570f278 (patch)
tree39c9904050ee59ef33643373eb444fec936c3e37 /scenefiles-4d
parent757b5d8718ffb4862560db3fa6aaba486acb92a5 (diff)
ensure refract works
Diffstat (limited to 'scenefiles-4d')
-rw-r--r--scenefiles-4d/sphere_collision.json12
1 files changed, 9 insertions, 3 deletions
diff --git a/scenefiles-4d/sphere_collision.json b/scenefiles-4d/sphere_collision.json
index a6d6441..f2d7a6a 100644
--- a/scenefiles-4d/sphere_collision.json
+++ b/scenefiles-4d/sphere_collision.json
@@ -4,7 +4,7 @@
"ambientCoeff": 0.5,
"diffuseCoeff": 0.5,
"specularCoeff": 0.5,
- "transparentCoeff": 0,
+ "transparentCoeff": 0.5,
"gravity": [0.0, -0.0098, 0.0, 0.0]
},
"cameraData": {
@@ -42,7 +42,10 @@
"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]
+ "velocity": [0.0, 0.0, 0.0, 0.0],
+ "reflective": [0.6, 0.6, 0.6],
+ "transparent": [0.8, 0.6, 0.6],
+ "ior": 1.01
}
]
},
@@ -56,7 +59,10 @@
"diffuse": [0.0, 1.0, 0.0],
"specular": [1.0, 1.0, 1.0],
"shininess": 25.0,
- "velocity": [-0.1, 0.0, 0.0, -0.1]
+ "velocity": [-0.03, 0.0, 0.0, -0.03],
+ "reflective": [0.6, 0.6, 0.6],
+ "transparent": [0.2, 0.2, 0.2],
+ "ior": 1.01
}
]
}