summaryrefslogtreecommitdiff
path: root/resources/scenes/two_balls.yml
diff options
context:
space:
mode:
authorSakarias Johansson <sakarias.johansson@goodbyekansas.com>2023-03-08 20:46:11 +0100
committerSakarias Johansson <sakariasjohansson@hotmail.com>2023-03-08 20:54:28 +0100
commit5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c (patch)
treec94239a795660bc5c376c2cd61334ab7ef9c2e5a /resources/scenes/two_balls.yml
parentc742933fbffbb5366a5f07c2b28c1a163a61b93e (diff)
downloadracer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.tar.gz
racer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.tar.xz
racer-tracer-5e87f21e480dbe04fcf6cf95c52e5b98fa3b923c.zip
📦 Move scenes into a separate folder
Diffstat (limited to 'resources/scenes/two_balls.yml')
-rw-r--r--resources/scenes/two_balls.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/scenes/two_balls.yml b/resources/scenes/two_balls.yml
new file mode 100644
index 0000000..338b8f9
--- /dev/null
+++ b/resources/scenes/two_balls.yml
@@ -0,0 +1,25 @@
+---
+materials:
+ left:
+ Lambertian:
+ color:
+ data: [ 0.0, 0.0, 1.0 ]
+
+ right:
+ Lambertian:
+ color:
+ data: [ 1.0, 0.0, 0.0 ]
+
+geometry:
+ - Sphere:
+ pos:
+ data: [ -0.707, 0.0, -1.0 ]
+ radius: 0.707
+ material: left
+
+ - Sphere:
+ pos:
+ data: [ 0.707, 0.0, -1.0 ]
+ radius: 0.707
+ material: right
+