aboutsummaryrefslogtreecommitdiff
path: root/scenefiles-4d
diff options
context:
space:
mode:
authorsotech117 <michael_foiani@brown.edu>2023-12-13 15:09:10 -0500
committersotech117 <michael_foiani@brown.edu>2023-12-13 15:09:10 -0500
commit4a1527bdb10f8953fa3f387f5cb3144805541738 (patch)
tree681d0151550bcd6aa577a927c4b85ae9918e73f0 /scenefiles-4d
parentab6e60b1c6bd7e7aaabdfa9f0f23135982e96222 (diff)
improve unit cube so each face is lit up
Diffstat (limited to 'scenefiles-4d')
-rw-r--r--scenefiles-4d/unit_cube.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/scenefiles-4d/unit_cube.json b/scenefiles-4d/unit_cube.json
index b21615a..7bf63cc 100644
--- a/scenefiles-4d/unit_cube.json
+++ b/scenefiles-4d/unit_cube.json
@@ -32,6 +32,21 @@
"type": "directional",
"color": [0.0, 0.0, 1.0],
"direction": [-3.0, 3.0, 3.0, -3.0]
+ },
+ {
+ "type": "directional",
+ "color": [1.0, 0.0, 1.0],
+ "direction": [-3.0, -3.0, -3.0, -3.0]
+ },
+ {
+ "type": "directional",
+ "color": [1.0, 1.0, 0.0],
+ "direction": [-3.0, -3.0, 3.0, 3.0]
+ },
+ {
+ "type": "directional",
+ "color": [0.0, 1.0, 1.0],
+ "direction": [3.0, 3.0, -3.0, -3.0]
}
]
},
@@ -44,7 +59,7 @@
"primitives": [
{
"type": "cube",
- "diffuse": [1.0, 0.0, 1.0],
+ "diffuse": [1.0, 1.0, 1.0],
"specular": [1.0, 1.0, 1.0],
"shininess": 25.0,
"velocity": [0.0, 0.0, 0.0, 0.0]