diff options
| author | Sakarias Johansson <sakarias.johansson@goodbyekansas.com> | 2023-03-08 20:46:11 +0100 |
|---|---|---|
| committer | Sakarias Johansson <sakariasjohansson@hotmail.com> | 2023-03-08 20:54:28 +0100 |
| commit | 5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c (patch) | |
| tree | c94239a795660bc5c376c2cd61334ab7ef9c2e5a /resources/scenes/three_balls.yml | |
| parent | c742933fbffbb5366a5f07c2b28c1a163a61b93e (diff) | |
| download | racer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.tar.gz racer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.tar.xz racer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.zip | |
📦 Move scenes into a separate folder
Diffstat (limited to 'resources/scenes/three_balls.yml')
| -rw-r--r-- | resources/scenes/three_balls.yml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/resources/scenes/three_balls.yml b/resources/scenes/three_balls.yml new file mode 100644 index 0000000..f9e7571 --- /dev/null +++ b/resources/scenes/three_balls.yml @@ -0,0 +1,53 @@ +--- +materials: + grass: + Lambertian: + color: + data: [ 0.8, 0.8, 0.0 ] + + center: + Lambertian: + color: + data: [ 0.1, 0.2, 0.5 ] + + left: + Dialectric: + refraction_index: 1.5 + + right: + Metal: + color: + data: [ 0.8, 0.6, 0.2] + fuzz: 0.0 + +geometry: + - Sphere: + pos: + data: [ 0.0, -100.5, -1.0 ] + radius: 100.0 + material: grass + + - Sphere: + pos: + data: [ 0.0, 0.0, -1.0 ] + radius: 0.5 + material: center + + - Sphere: + pos: + data: [ -1.0, 0.0, -1.0 ] + radius: 0.5 + material: left + + - Sphere: + pos: + data: [ -1.0, 0.0, -1.0 ] + radius: -0.4 + material: left + + - Sphere: + pos: + data: [ 1.0, 0.0, -1.0 ] + radius: -0.5 + material: right + |
