// MC930 - Exemplo de main.pov para o trabalho final
// Last edited on 2000-12-14 09:07:40 by mc726

#include "colors.inc"

light_source { <40,30,-80> White }

sky_sphere {
    pigment {
      gradient y
      color_map {
        [0.000 0.002 color rgb <0.0, 0.2, 1.0>
                     color rgb <1.0, 0.2, 0.0>]
        [0.002 0.200 color rgb <0.0, 0.5, 0.8>
                     color rgb <0.2, 0.2, 0.3>]
      }
      scale 2
      translate -1
    }
    pigment {
      bozo
      turbulence 0.65
      //octaves 6
      omega 0.7
      lambda 2
      color_map {
          [0.0 0.1 color rgb <0.85, 0.85, 0.85>
                   color rgb <0.75, 0.75, 0.75>]
          [0.1 0.5 color rgb <0.75, 0.75, 0.75>
                   color rgbt <1, 1, 1, 1>]
          [0.5 1.0 color rgbt <1, 1, 1, 1>
                   color rgbt <1, 1, 1, 1>]
      }
      scale <0.2, 0.5, 0.2>
    }
    rotate -135*x
  }



camera {
    location <19,10,-130>
    look_at <10,5,9>
    angle 35
  }

plane { y,-0.2
    texture {
      pigment { Silver }
      finish { ambient 0.05 specular 0.8 }
      normal { ripples .35 turbulence .5 scale .25 }
    }
  }

#declare origem = < 0, 0, 0 >;

//telhado

#declare telhado =
  box{ <0,10,0>, <50,12,20>
    texture{ 
      pigment{ color rgb < 0.8, 0.8, 0.8 > }
      finish{ diffuse 0.05 ambient 0.05 reflection 0.20 }
    }
  }
  
// primeiro andar

#declare contato =
   box { <2,0,18>,<3.5,2.5,16.5>
      pigment{
        color rgb < 0.80, 0.90, 1.00 >

              }
      finish{ diffuse 0.9 ambient 0.05 specular 0.3 roughness 0.1 }
    }

#declare predio =
difference {
   box { <2,0,2>,<48,10,18>
      pigment{ color rgb <0.8,0.8,0.8>
              }
  //    finish{ diffuse 0.9 ambient 0.05 specular 0.3 roughness 0.1 }
       }
   box{ <28,0,-1>,<30,2,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
   box{ <28,3,-1>,<29,5,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <3,7,-1>,<4.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <6,7,-1>,<7.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <9,7,-1>,<10.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <12,7,-1>,<13.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <15,7,-1>,<16.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <18,7,-1>,<19.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <21,7,-1>,<22.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <24,7,-1>,<25.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <27,7,-1>,<28.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <30,7,-1>,<31.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }
  box{ <33,7,-1>,<34.5,9,10>
      pigment{ color rgb <0.8,0.8,0.8>}
      }

           }
#declare saida =
   box { <-20,5,9>,<0,6,20>
      pigment{ color rgb <0.5,0.5,0.5>
              }
      }

#declare toldo1 =
   box { <0,3.6,-1>,<48,4,0>
      texture{
      pigment{ color rgb < 0.8, 0.8, 0.8 > }
      finish{ diffuse 0.05 ambient 0.05 reflection 0.20 }
             }
       }

#declare toldo2 =
   box { <0,6,-1>,<48,6.5,0>
      texture{
      pigment{ color rgb < 0.8, 0.8, 0.8 > }
      finish{ diffuse 0.05 ambient 0.05 reflection 0.20 }
             }
       }

background{ color rgb < 0.90, 0.92, 0.95 > }



object { telhado }
object { contato }
object { predio }
object { saida }
object { toldo1 }
object { toldo2 }