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

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


light_source {<-25, 15, 80> color rgb <1, 0, 0>}
light_source {<25, 15, 80> color rgb <0, 1, 0>}
light_source {<0, 500, 0> color rgb <.5, .5, .5>}

sphere { <0, 0, 0>, 2
  pigment { color rgb <1.0, 1.0, 1.0> }
  finish { ambient 0.02 diffuse 0.4 specular 10.0 roughness 0.001 refraction 1.0 ior 1.02 }
  translate <-1.5, 2.0, 6.0>
}

sphere { <0, 0, 0>, 2
  pigment { color rgb <1.0, 1.0, 1.0> }
  finish { ambient 0.02 diffuse 0.4 specular 10.0 roughness 0.001 refraction 1.0 ior 1.02 }
  translate <-.75, 2.0, 3.0>
}

sphere { <0, 0, 0>, 1
   pigment { color rgb <1.0, 0.0, 0.0>}
   finish {ambient 0.2 diffuse 0.86 specular 0.6 roughness .2 reflection 0.2}
   translate <-5.0, 2.0, -2.0 >
}

sphere { <0, 0, 0>, 1
   pigment { color rgb <0.0, 1.0, 0.0>}
   finish {ambient 0.2 diffuse 0.86 specular 0.6 roughness .2 reflection 0.2}
   translate <-1.5, 2.0, -2.0 >
}

sphere { <0, 0, 0>, 1
   pigment { color rgb <0.5, 0.5, 0.0>}
   finish {ambient 0.2 diffuse 0.86 specular 0.6 roughness .2 reflection 0.2}
   translate <2.5, 2.0, -2.0 >
}

sphere { <0, 0, 0>, 1
   pigment { color rgb <0.0, 0.0, 1.0>}
   finish {ambient 0.2 diffuse 0.86 specular 0.6 roughness .2 reflection 0.2}
   translate <5.5, 2.0, -2.0 >
}

plane {<0, 1, 0>, 0
   pigment {color rgb <0.5, 0.5, 0.5>}
   finish { ambient 0.4 diffuse 0.9 specular 0.4 roughness .2 reflection 0.1}
}