// Last edited on 2003-05-31 10:07:36 by stolfi

#include "colors.inc"
#include "metals.inc"
#include "woods.inc"
#include "glass.inc"
#include "skies.inc"

light_source { 10*<  15.00, 50, -20.00 > color rgb 1.0*< 1,1,1 > }
light_source { 10*<   0.00, 40, -20.00 > color rgb 0.7*< 1,1,1 > }
light_source { 10*< -30.00, 65, -20.00 > color rgb 0.4*< 1,1,1 > }

#plane { y,-2 pigment { checker color rgb <1,1,1>, color rgb <1,0.75,0.6> scale 5 } }

#declare ctr = <0,0,30>;
#declare cam = <0.5,30,-20>;

camera {
  location  ctr + 1.4*cam
  right 1.2*x  up 0.9*y
  look_at   ctr
}

#declare corpo_violino= prism {
   cubic_spline
   0,
   1,
   25,
   <-9,20>,

   <0,5>,
   <-10,10>,
   <-9.7,19>,
   <-11,23>,
   <-9,22>,
   <-8,29>,
   <-9,35>,
   <-11,34>,
   <-9.7,38>,
   <-11,47>,
   <-5,53>,
   <0,54>,
   <5,53>
   <11,47>,
   <9.7,38>,
   <11,34>,
   <9,35>,
   <8,29>,
   <9,22>,
   <11,23>,
   <9.7,19>,
   <10,10>,
   <0,5>

   <9,20>
   texture{ T_Wood16}
}

object{ corpo_violino translate -ctr rotate <0,90,0> translate ctr }