// Last edited on 2007-07-24 00:58:37 by stolfi
// Processed by remove-cam-lights

background{ color rgb < 0.8, 0.80, 0.85 > }

plane {z, 0
 pigment {
  checker color rgb <0.6,0.4,0.6>,
    color rgbf <0.5,0,1, 0.6>
 }
finish {reflection 0.9}
}

#declare Corpo =
texture {
 pigment { color rgb < 0.6 , 1 , 0.6> filter 1}
 finish { specular 0.5 roughness 0.005 ambient 0.3 reflection 0.05}
}

#declare Frase =
texture {
 pigment { color rgb < 0.1 , 0.1 , 0.1>}
 finish { specular 0.5 roughness 0.005 ambient 0.3 reflection 0.5}
}

#declare Vidro =
texture {
 pigment { color rgb < 0.8, 0.8, 0.8> filter 0.9}
 finish { specular 0.1 roughness 0.005 ambient 0.1 reflection 0.1}
}

#declare Areia =
  texture {
    pigment { color rgb < 0.60, 0.70, 0.55 > }
    finish { ambient 0.6 diffuse 0.8 phong 0.5 roughness 0.5 }
  }

#declare Prata =
  texture {
    pigment { color rgb < 0.30, 0.30, 0.40 > }
    finish { ambient 0.6 phong 0.5 reflection 0.7 roughness 0.05 brilliance 0.6 }
  }

#declare Cabeca =
texture {
    pigment { color rgb < 0.3, 0.3, 0.5 > filter 0.8}
    finish { ambient 0.6 diffuse 0.8 phong 0.5 roughness 0.04 }
  }

#declare Corpo0 =
texture {
 pigment { color rgb < 0.6 , 0.6 , 0.8> filter 0.9}
 finish { specular 0.5 roughness 0.005 ambient 0.3 ior 1.1 reflection 0.05}
}

#declare pedestal =
union {
 cone {
 <0,0,0>, 3
 <0,0,3>, 1
 texture { Vidro }
 }
 cone {
 <0,0,3>, 1
 <0,0,6>, 3
 texture { Vidro }
 }
 cone {
 <0,0,0.1>, 2.99
 <0,0,1.5>, 0.99
 texture { Areia }
 }
}

#declare base =
blob {
threshold 0.4
 sphere {
 <0,0,0>, 0.5, 10
 texture { Prata }
 }
 sphere {
 <0,0,0.6> 0.5, 10
 texture { Prata }
 }
 sphere {
 <0,0,1.2>, 0.5, 10
 texture { Prata }
 }
}

#declare corpo =
blob {
threshold 0.3
 sphere {
 <0,0,0>, 4, 10
 texture { Corpo0 }
 }
 sphere {
 <0,0,5>, 3, 10
 texture { Cabeca }
 }
 sphere {
 <0, 3 ,2>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 4, 3>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 5, 4>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 6, 5>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 7, 6>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 8, 7>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, 9, 8>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -3 ,2>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -4, 3>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -5, 4>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -6, 5>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -7, 6>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -8, 7>, 1, 10
 texture { Corpo }
 }
 sphere {
 <0, -9, 8>, 1, 10
 texture { Corpo }
 }
}

union {
object { pedestal }
object { base translate <2.6,0,6.4>}
object { base translate <2.6,0,6.4> rotate 60 * z}
object { base translate <2.6,0,6.4> rotate 120 * z}
object { base translate <2.6,0,6.4> rotate 180 * z}
object { base translate <2.6,0,6.4> rotate 240 * z}
object { base translate <2.6,0,6.4> rotate 300 * z}
object { corpo translate <0,0,10.5> }
}

text {
ttf "arial.ttf"
"Para todos, Obrigado!" 0.6,0
texture {Frase}
rotate 90*x
rotate 90*z
scale 3
translate <0,-15,19.5>
}

// Original camera parameters:
// #local cam_ctr = <0.00,0.00,10.00>
// #local cam_vec = (<45.00,0.0,25.00>-<0.00,0.00,10.00>)
// #local cam_sky = z

#include "camlight.inc"
camlight(<0.00,0.00,10.00>,<10,10,10>,43.0,z,1.0)