summaryrefslogtreecommitdiff
path: root/resources/scenes/two_balls.yml
diff options
context:
space:
mode:
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
+