aboutsummaryrefslogtreecommitdiff
path: root/scenefiles-4d/unit_cylinder.json
diff options
context:
space:
mode:
authorDavid Doan <daviddoan@Davids-MacBook-Pro-193.local>2023-12-13 01:30:56 -0500
committerDavid Doan <daviddoan@Davids-MacBook-Pro-193.local>2023-12-13 01:30:56 -0500
commite5e01a62cd12a338b66c0a33775e91854a305ec4 (patch)
tree9b8a5f01d13febcc719b531e6eb26d18d0ff1067 /scenefiles-4d/unit_cylinder.json
parentab87941ad346b0e09b7855ad834379f425538455 (diff)
grinds
Diffstat (limited to 'scenefiles-4d/unit_cylinder.json')
-rw-r--r--scenefiles-4d/unit_cylinder.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/scenefiles-4d/unit_cylinder.json b/scenefiles-4d/unit_cylinder.json
new file mode 100644
index 0000000..2a795db
--- /dev/null
+++ b/scenefiles-4d/unit_cylinder.json
@@ -0,0 +1,47 @@
+{
+ "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, 1.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, 1.0, 0.0, 0.0]
+ },
+ "groups": [
+ {
+ "lights": [
+ {
+ "type": "directional",
+ "color": [1.0, 1.0, 1.0],
+ "direction": [-3.0, -2.0, -1.0, 0.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": "cylinder",
+ "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]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}