From 20a672388f5fa351aaa500503e6c135bc116f215 Mon Sep 17 00:00:00 2001 From: Miguel Angel Date: Wed, 18 Jan 2017 23:40:47 -0400 Subject: [PATCH] Added scene2.json --- scenes/scene2.json | 124 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 scenes/scene2.json diff --git a/scenes/scene2.json b/scenes/scene2.json new file mode 100644 index 0000000..8d2f792 --- /dev/null +++ b/scenes/scene2.json @@ -0,0 +1,124 @@ +{ + "sphere": { + "position": [0.2, 0.0, -0.75], + "radius": 0.25, + "material": { + "emission": [10.0, 10.0, 10.0], + "diffuse": [1.0, 1.0, 1.0], + "rho": 0.2 + } + }, + + "sphere":{ + "position": [-0.5, -0.5, -1.5], + "radius": 0.5, + "material": { + "diffuse": [0.0, 0.0, 0.0], + "rho": 1.0 + } + }, + + "sphere":{ + "position": [-0.5, -0.5, 0.6], + "radius": 0.5, + "material": { + "diffuse": [1.0, 1.0, 0.0], + "transmissive": true, + "ref_index": 1.33 + } + }, + + "disk": { + "position": [-0.25, 1.0, -1.0], + "normal": [1.0, 0.0, 0.0], + "radius": 0.25, + "material": { + "diffuse": [1.0, 1.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "disk": { + "position": [0.25, 1.0, -1.0], + "normal": [-1.0, 0.0, 0.0], + "radius": 0.25, + "material": { + "diffuse": [1.0, 1.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "disk": { + "position": [0.0, 1.0, -1.25], + "normal": [0.0, 0.0, 1.0], + "radius": 0.25, + "material": { + "diffuse": [1.0, 1.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "disk": { + "position": [0.0, 1.0, -0.75], + "normal": [0.0, 0.0, -1.0], + "radius": 0.25, + "material": { + "diffuse": [1.0, 1.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [0.0, -1.0, 0.0], + "normal": [0.0, 1.0, 0.0], + "material": { + "diffuse": [0.0, 1.0, 0.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [-2.0, 0.0, 0.0], + "normal": [1.0, 0.0, 0.0], + "material": { + "diffuse": [1.0, 0.0, 0.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [2.0, 0.0, 0.0], + "normal": [-1.0, 0.0, 0.0], + "material": { + "diffuse": [0.0, 0.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [0.0, 1.0, 0.0], + "normal": [0.0, -1.0, 0.0], + "material": { + "diffuse": [0.0, 1.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [0.0, 0.0, -2.0], + "normal": [0.0, 0.0, 1.0], + "material": { + "diffuse": [1.0, 0.0, 1.0], + "specular": [0.0, 0.0, 0.0] + } + }, + + "plane": { + "position": [0.0, 0.0, 1.1], + "normal": [0.0, 0.0, -1.0], + "material": { + "diffuse": [1.0, 1.0, 0.0], + "specular": [0.0, 0.0, 0.0] + } + } +}