aboutsummaryrefslogtreecommitdiff
path: root/scenefiles/intersect/required/unit_cube.json
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-12-07 16:23:20 -0500
committersotech117 <michael_foiani@brown.edu>2023-12-07 16:23:20 -0500
commitcaa765bff49d54217b75aaf0e7acf4e5392a11e4 (patch)
tree9b92914dfb88b99599e8e60e4512e9e9ea9a25db /scenefiles/intersect/required/unit_cube.json
parenta9274459443f1d560d7580a162deb581549980cb (diff)
upload base code
Diffstat (limited to 'scenefiles/intersect/required/unit_cube.json')
-rw-r--r--scenefiles/intersect/required/unit_cube.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/scenefiles/intersect/required/unit_cube.json b/scenefiles/intersect/required/unit_cube.json
new file mode 100644
index 0000000..2c43b7b
--- /dev/null
+++ b/scenefiles/intersect/required/unit_cube.json
@@ -0,0 +1,40 @@
+{
+ "name": "root",
+ "globalData": {
+ "ambientCoeff": 0.5,
+ "diffuseCoeff": 0.5,
+ "specularCoeff": 0.5,
+ "transparentCoeff": 0
+ },
+ "cameraData": {
+ "position": [3.0, 3.0, 3.0],
+ "up": [0.0, 1.0, 0.0],
+ "heightAngle": 30.0,
+ "focus": [0.0, 0.0, 0.0]
+ },
+ "groups": [
+ {
+ "lights": [
+ {
+ "type": "directional",
+ "color": [1.0, 1.0, 1.0],
+ "direction": [-3.0, -2.0, -1.0]
+ }
+ ]
+ },
+ {
+ "groups": [
+ {
+ "primitives": [
+ {
+ "type": "cube",
+ "diffuse": [1.0, 0.0, 0.0],
+ "specular": [1.0, 1.0, 1.0],
+ "shininess": 25.0
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}