// Reed Garmsen Final Render #2
// Based on planes.pov

camera {
  location  <7, 0,7> 
  up        <0,  1,  0>
  right     <.94, 0,  -.94>
  look_at   <0, 0, 0>
}

light_source {<0, 0, 10> color rgb <1.0, 1.0, 1.0>}

//right wall - note distance is along normal thus to move right is negative for this normal
//plane {<-1, 0, 0>, -6 
//      pigment {color rgb <0.2, 0.2, 0.8>}
//      finish {ambient 0.4 diffuse 0.8}
//}

//bottom
plane {<0, 1, 0>, -6
      pigment {color rgb <0.8, 0.2, 0.2>}
      finish {ambient 0.4 diffuse 0.8}
}

//back
plane {<0, 0, 1>, -6
      pigment {color rgb <0.8, 0.2, 0.2>}
      finish {ambient 0.02 diffuse 0.4 specular 0.6 roughness 0.0001 reflection 0.8}

}

//left
plane {<1, 0, 0>, -6
      pigment {color rgb <0.8, 0.2, 0.2>}
      finish {ambient 0.02 diffuse 0.4 specular 0.6 roughness 0.0001 reflection 0.8}
}

//left sphere
//sphere { <-5, 3, 0>, 1.1 
//  pigment { color rgb <0.12, 0.34, 0.56>}
//  finish {ambient 0.2 diffuse 0.4}
//}


// Bottom pyramid

// Right wall
triangle {
     <6,-6,-6>,
     <0,-.3,3 >,
     <6,-6,6>
     pigment {color rgb <0.431372549, 0.274509804, 0.219607843>}
     finish {ambient 0.3 diffuse 0.4}
}

// Back wall
triangle {
     <-6,-6,-6>,
     <0,-.3,3 >,
     <6,-6,-6>
     pigment {color rgb <0.431372549, 0.274509804, 0.219607843>}
     finish {ambient 0.02 diffuse 0.4 specular 0.6 roughness 0.0001 reflection 0.8}
}

// Front wall
triangle {
     <-6,-6,6>,
     <0,-.3,3 >,
     <6,-6,6>
     pigment {color rgb <0.431372549, 0.274509804, 0.219607843>}
     finish {ambient 0.3 diffuse 0.4}
}

// Left wall
triangle {
     <-6,-6,-6>,
     <0,-.3,3 >,
     <-6,-6,6>
     pigment {color rgb <0.431372549, 0.274509804, 0.219607843>}
     finish {ambient 0.3 diffuse 0.4}
}

// Top pyramid

// Right wall
triangle {
     <6,6,-6>,
     <0,.9,3 >,
     <6,6,6>
     pigment {color rgb <0.301960784, 0.270588235, 0.254901961>}
     finish {ambient 0.3 diffuse 0.4}
}

// Back wall
triangle {
     <-6,6,-6>,
     <0,.9,3 >,
     <6,6,-6>
     pigment {color rgb <0.301960784, 0.270588235, 0.254901961>}
     finish {ambient 0.3 diffuse 0.4}
}

// Front wall
triangle {
     <-6,6,6>,
     <0,.9,3 >,
     <6,6,6>
     pigment {color rgb <0.301960784, 0.270588235, 0.254901961>}
     finish {ambient 0.3 diffuse 0.4}
}

// Left wall
triangle {
     <-6,6,-6>,
     <0,.9,3 >,
     <-6,6,6>
     pigment {color rgb <0.301960784, 0.270588235, 0.254901961>}
     finish {ambient 0.3 diffuse 0.4}
}