// cs473, recurses
camera {
  location  <0, 0, 14>
  up        <0,  1,  0>
  right     <1.5, 0,  0>
  look_at   <0, 0, 0>
}

light_source {<-5, 5, 10> color rgb <1, 1, 1>}
light_source {<5, 5, 10> color rgb <1, 1, 1>}

sphere { <0, 0, 0>, 2
  pigment { color rgb <1.0, 1.0, 1.0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.6 refraction 1.0 ior 2.5}
}

// Top and bottom planes
plane { <0, 1, 0>, 10
  pigment { color rgb <1, 0, 0> }
  finish { ambient 0.2 diffuse 0.8 specular 0.6 }
}
plane { <0, -1, 0>, 10
  pigment { color rgb <1, 1, 0> }
  finish { ambient 0.2 diffuse 0.8 specular 0.6 }
}

// Left and right planes
plane { <1, 0, 0>, 10
  pigment { color rgb <0, 1, 0> }
  finish { ambient 0.2 diffuse 0.8 specular 0.6 reflection 1.0}
}
plane { <-1, 0, 0>, 10
  pigment { color rgb <0, 0, 1> }
  finish { ambient 0.2 diffuse 0.8 specular 0.6 reflection 1.0}
}

// Front and back planes
// plane { <0, 0, 1>, 20
//   pigment { color rgb <1, 1, 1> }
//   finish { ambient 0.2 diffuse 0.8 specular 0.6 reflection 1.0}
// }
// plane { <0, 0, -1>, 20
//   pigment { color rgb <1, 1, 1> }
//   finish { ambient 0.2 diffuse 0.8 specular 0.6 reflection 1.0}
// }


box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 1>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <3, 0, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 1>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <-3, 0, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 1>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <0, 3, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 1>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <0, -3, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <3, 3, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <-3, 3, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <-3, -3, 0>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <3, -3, 0>
}


box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <3, 0, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <-3, 0, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <0, 3, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <0, -3, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <0.25, 0.5, 1.0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <3, 3, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <0.25, 0.5, 1.0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <-3, 3, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <0.25, 0.5, 1.0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <-3, -3, 3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <0.25, 0.5, 1.0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <3, -3, 3>
}


box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <3, 0, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <-3, 0, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <0, 3, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 refraction 1.0 ior 1.33}
  translate <0, -3, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <3, 3, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <-3, 3, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <-3, -3, -3>
}
box { <-1, -1, -1>, <1, 1, 1>
  pigment { color rgb <1, 0, 0>}
  finish {ambient 0.2 diffuse 0.8 specular 0.5 reflection 0.6}
  translate <3, -3, -3>
}