#include "colors.inc"
#include "textures.inc"


 camera {
    angle 15
    location <2, 10, -30>
    look_at <0, 1, 0>
  }




// CaMARA

//#declare centro_da_cena = <-0.8,+0.5,0>;
//#declare raio_da_cena = 4.0;
//#declare direcao_da_camera = vnormalize( < 3, 2, 1 > );

//#declare dist_da_camera = 4.0 * raio_da_cena
//#declare pos_da_camera = centro_da_cena + dist_da_camera * direcao_da_camera;
//camera {
//  location  pos_da_camera
//  right     <  -0.64,  0.00,  0.00 >
//  up        <   0.00,  0.48,  0.00 >
//  sky       z
//  look_at   centro_da_cena
//}







  light_source { <20, 20, -20> color White }

prism {
    conic_sweep
    linear_spline
    0.500, // height 1
    1, // height 2
    5, // the number of points making up the shape...
    <4,4>,<-4,4>,<-4,-4>,<4,-4>,<4,4>
    rotate <180, 0, 0>
    translate <0, 1, 0>
    scale <1, 4, 1>
    pigment { gradient y scale .2 }
  }




//text { ttf "timrom.ttf" "_" 0.3, 0
//    pigment { Red }
//    translate 3.0*X
//    translate 0.6*y
//    translate 8.3*z


//  }



#declare ponteiro =

 box {
    < +1.10 +1.5, -0.05 >,
    < +2.0, +1.2, +0.25 >
    translate -0.7*x
    pigment { Green  }
    translate<0,1,0>



     }



#declare ponteiro2=

 box {
    < +1.10 +1.5, -1.25 >,
    < +1.4, +1.2, +0.25 >
    translate -0.7*x
    pigment { Yellow  }
    translate<0,1,0>


     }










#declare pontaferrorelogio =
  box {
    < +1.10, +1.5, -0.30 >,
    < +0.95, +3.2, +0.25 >
    translate -0.7*x
    pigment { Red  }

      }



#declare ceu =
plane { y, 700
    texture {
      pigment { SkyBlue }
      finish { ambient 1 diffuse 0}
     }
     texture {
       pigment {
         bozo
         turbulence .5
         color_map {
           [0 White]
           [1 White filter 1]
         }
       }
       finish { ambient 1 diffuse 0 }
       scale <1000, 250, 250>
    }
  }




object{pontaferrorelogio}
//object{ponteiro}
object{ponteiro2}
object{ceu}