// cs174, assignment 1 sample file (RIGHT HANDED)

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


light_source {<-10, 10, 10> color rgb <0.9, 0.9, 1.0>}

sphere { <-4, -3.5, -2>, 2.0
  pigment { color rgbf <1, 1, 0, 0.5>}
  finish {ambient 0.4 diffuse 0.8 reflection 0.4 refraction 1 ior 1.33}
}

sphere { <4, -3.5, -2>, 2.0
  pigment { color rgbf <0, 1, 0, 0.5>}
  finish {ambient 0.4 diffuse 0.8 reflection 0.4 refraction 1 ior 1.33}
}

sphere { <0, 0, -2>, 2.0
  pigment { color rgbf <0, 0.5, 1, 0.5>}
  finish {ambient 0.4 diffuse 0.8 reflection 0.4 refraction 1 ior 1.33}
}

sphere { <0, -3.5, -2>, 2.5
  pigment { color rgb <1, 0.5, 1>}
  finish {ambient 0.4 diffuse 0.8 reflection 0.4}
}

plane {<0, 0, 1>, -21
      pigment {color rgb <1.0, 1.0, 1.0>}
      finish {ambient 0.5 diffuse 0.6 reflection 1.0}
}

plane {<0, 1, 0>, -6
      pigment {color rgb <1.0, 1.0, 1.0>}
      finish {ambient 0.5 diffuse 0.6}
}

plane {<0, 0, -1>, 20
      pigment {color rgb <0, 0.7, 1.0>}
      finish {ambient 0.5 diffuse 0.6 reflection 1.0}
}

plane {<0, 0, 1>, -20
      pigment {color rgb <0.7, 0.7, 1.0>}
      finish {ambient 0.5 diffuse 0.6 reflection 1.0}
      rotate <0, 90, 0>
}

plane {<0, 0, 1>, -20
      pigment {color rgb <0.7, 0.7, 1.0>}
      finish {ambient 0.5 diffuse 0.6 reflection 1.0}
      rotate <0, -90, 0>
}