From caa765bff49d54217b75aaf0e7acf4e5392a11e4 Mon Sep 17 00:00:00 2001 From: sotech117 Date: Thu, 7 Dec 2023 16:23:20 -0500 Subject: upload base code --- scenefiles/intersect/required/unit_cube.json | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 scenefiles/intersect/required/unit_cube.json (limited to 'scenefiles/intersect/required/unit_cube.json') 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 + } + ] + } + ] + } + ] +} -- cgit v1.2.3-70-g09d2