//csc 473 simple reflect - plane reflective

camera {
  location  <0, 2, 14>
  up        <0,  1,  0>
  right     <1.33333, 0,  0>
  look_at   <0, 0, 0>
}


light_source {<-100, 100, 100> color rgb <1.5, 1.5, 1.5>}

//line1

sphere { <0, 0, 0>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.5}
}

//line2

sphere { <-4, 0, -4>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.33}
}

sphere { <4, 0, -4>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.33}
}

//line3

sphere { <-8, 0, -8>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.5}
}

sphere { <0, 0, -8>, 2
  pigment { color rgb <1.0, 0.3, 0.3>}
  finish {ambient 0.2 diffuse 0.8}
}

sphere { <8, 0, -8>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.5}
}

//line4

sphere { <-12, 0, -12>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.33}
}

sphere { <-4, 0, -12>, 2
  pigment { color rgb <1.0, 1.0, 0.2>}
  finish {ambient 0.2 diffuse 0.8}
}

sphere { <4, 0, -12>, 2
  pigment { color rgb <1.0, 0.2, 1.0>}
  finish {ambient 0.2 diffuse 0.8}
}

sphere { <12, 0, -12>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.33}
}

//line5

sphere { <-16, 0, -16>, 2
  pigment { color rgb <0.3, 1.0, 0.3>}
  finish {ambient 0.2 diffuse 0.8}
}

sphere { <-8, 0, -16>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.5}
}

sphere { <0, 0, -16>, 2
  pigment { color rgb <0.2, 1.0, 1.0>}
  finish {ambient 0.2 diffuse 0.8}
}

sphere { <8, 0, -16>, 2
  pigment { color rgb <1.0, 0.92, 0.51>}
  finish {ambient 0.2 diffuse 0.4 refraction 1.0 ior 1.5}
}

sphere { <16, 0, -16>, 2
  pigment { color rgb <0.3, 0.3, 1.0>}
  finish {ambient 0.2 diffuse 0.8}
}

plane {<0, 1, 0>, -2
      pigment {color rgb <0.29, 0.25, 0.49>}
		finish {ambient 0.4 diffuse 0.8 reflection 0.8}
}