From 900c6679940ab94740c39f30970fc94385080376 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 24 Jul 2014 08:03:13 -0700 Subject: [PATCH] Couple more scenes to test coordinate grids --- scenes/boxCoordinates.yml | 17 +++++++++++++++++ scenes/sphereGrid.yml | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 scenes/boxCoordinates.yml create mode 100644 scenes/sphereGrid.yml diff --git a/scenes/boxCoordinates.yml b/scenes/boxCoordinates.yml new file mode 100644 index 0000000..4cb0d8f --- /dev/null +++ b/scenes/boxCoordinates.yml @@ -0,0 +1,17 @@ +--- !Scene +dimensions: [800, 600] +camera: + origin: [0, 0, -5] +objects: + - !Object.Sphere + radius: 0.2 + origin: [0, 0, 0] + color: [1, 1, 1] + - !Object.Sphere + radius: 0.2 + origin: [-0.5, -0.5, -0.5] + color: [1, 0, 0] + - !Object.Sphere + radius: 0.2 + origin: [0.5, 0.5, 0.5] + color: [0, 1, 1] diff --git a/scenes/sphereGrid.yml b/scenes/sphereGrid.yml new file mode 100644 index 0000000..d68cf53 --- /dev/null +++ b/scenes/sphereGrid.yml @@ -0,0 +1,34 @@ +--- !Scene +dimensions: [800, 600] +camera: !Camera.Perspective + origin: [1.0, 1.5, -5] + direction: [-0.188, -0.282, 0.941] +objects: + - !Object.Sphere + origin: [-1, 0, 0] + radius: 0.2 + color: [1, 0, 0] + - !Object.Sphere + origin: [0, 0, 0] + radius: 0.2 + color: [0, 1, 0] + - !Object.Sphere + origin: [1, 0, 0] + radius: 0.2 + color: [0, 0, 1] + - !Object.Sphere + origin: [0, 1, 0] + radius: 0.2 + color: [1, 1, 0] + - !Object.Sphere + origin: [0, -1, 0] + radius: 0.2 + color: [1, 0, 1] + - !Object.Sphere + origin: [0, 0, 1] + radius: 0.2 + color: [0, 1, 1] + - !Object.Sphere + origin: [0, 0, -1] + radius: 0.2 + color: [1, 1, 1]