// Last edited on 2005-01-06 00:52:10 by stolfi
// Processed by remove-cam-lights

#include "colors.inc"

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

#declare tx_aco =
 texture{
  pigment{ Gray }
  finish{
   ambient 0.05 diffuse 0.25
   reflection Gray
   specular 0.20 roughness 0.05
  }
 }

#declare tx_ouro =
 texture{
  pigment{ Gold }
  finish{
   ambient 0.05 diffuse 0.3
   reflection Gold
   specular 0.20 roughness 0.05
  }
 }

#declare tx_cristal =
 texture{
  finish{
   ambient 0.1 diffuse 0.1 reflection 0.25
   specular 1 roughness 0.001
  }
  pigment {color Brown filter 1}
 }

#declare tx_cristal_azul =
 texture{
  finish{
   ambient 0.1 diffuse 0.1 reflection 0.25
   specular 1 roughness 0.001
  }
  pigment {color Blue filter 1}
 }

plane { z, -5
 texture{
  pigment{checker <0, 0, 0>, <1, 1, 1>}
  finish { ambient 0.1 diffuse 0.9}
  scale 5
 }
}

#declare A11=<0,2,0>;
#declare A12=<0,1.7,1>;
#declare A13=<0,-1.7,1>;
#declare A14=<0,-2,0>;

#declare A21=<1,2,0>;
#declare A22=<1,1.7,1>;
#declare A23=<1,-1.7,1>;
#declare A24=<1,-2,0>;

#declare A31=<2.8,1.7,0>;
#declare A32=<2.8,1.5,0.7>;
#declare A33=<2.8,-1.5,0.7>;
#declare A34=<2.8,-1.7,0>;

#declare A41=<3,1,0>;
#declare A42=<3,0.85,0>;
#declare A43=<3,-0.85,0>;
#declare A44=<3,-1,0>;

sphere{ A11, 0.03 texture{tx_ouro}}
sphere{ A12, 0.03 texture{tx_ouro}}
sphere{ A13, 0.03 texture{tx_ouro}}
sphere{ A13, 0.03 texture{tx_ouro}}
sphere{ A21, 0.03 texture{tx_ouro}}
sphere{ A22, 0.03 texture{tx_ouro}}
sphere{ A23, 0.03 texture{tx_ouro}}
sphere{ A24, 0.03 texture{tx_ouro}}
sphere{ A31, 0.03 texture{tx_ouro}}
sphere{ A32, 0.03 texture{tx_ouro}}
sphere{ A33, 0.03 texture{tx_ouro}}
sphere{ A34, 0.03 texture{tx_ouro}}
sphere{ A41, 0.03 texture{tx_ouro}}
sphere{ A42, 0.03 texture{tx_ouro}}
sphere{ A43, 0.03 texture{tx_ouro}}
sphere{ A44, 0.03 texture{tx_ouro}}

cylinder{A11, A12, 0.01 texture{ tx_cristal_azul}}
cylinder{A12, A13, 0.01 texture{ tx_cristal_azul}}
cylinder{A13, A14, 0.01 texture{ tx_cristal_azul}}
cylinder{A21, A22, 0.01 texture{ tx_cristal_azul}}
cylinder{A22, A23, 0.01 texture{ tx_cristal_azul}}
cylinder{A23, A24, 0.01 texture{ tx_cristal_azul}}
cylinder{A31, A32, 0.01 texture{ tx_cristal_azul}}
cylinder{A32, A33, 0.01 texture{ tx_cristal_azul}}
cylinder{A33, A34, 0.01 texture{ tx_cristal_azul}}
cylinder{A41, A42, 0.01 texture{ tx_cristal_azul}}
cylinder{A42, A43, 0.01 texture{ tx_cristal_azul}}
cylinder{A43, A44, 0.01 texture{ tx_cristal_azul}}

cylinder{A11, A21, 0.01 texture{ tx_cristal_azul}}
cylinder{A21, A31, 0.01 texture{ tx_cristal_azul}}
cylinder{A31, A41, 0.01 texture{ tx_cristal_azul}}
cylinder{A12, A22, 0.01 texture{ tx_cristal_azul}}
cylinder{A22, A32, 0.01 texture{ tx_cristal_azul}}
cylinder{A32, A42, 0.01 texture{ tx_cristal_azul}}
cylinder{A13, A23, 0.01 texture{ tx_cristal_azul}}
cylinder{A23, A33, 0.01 texture{ tx_cristal_azul}}
cylinder{A33, A43, 0.01 texture{ tx_cristal_azul}}
cylinder{A14, A24, 0.01 texture{ tx_cristal_azul}}
cylinder{A24, A34, 0.01 texture{ tx_cristal_azul}}
cylinder{A34, A44, 0.01 texture{ tx_cristal_azul}}

#declare B11=<-3,4,0>;
#declare B12=<-3,3.5,2>;
#declare B13=<-3,-2.6,2>;
#declare B14=<-3,-3,0>;

#declare B21=<-2,3.5,0>;
#declare B22=<-2,2.9,1.5>;
#declare B23=<-2,-2.1,1.5>;
#declare B24=<-2,-2.5,0>;

#declare B31=<-1,2,0>;
#declare B32=<-1,1.7,1>;
#declare B33=<-1,-1.7,1>;
#declare B34=<-1,-2,0>;

#declare B41=<0,2,0>;
#declare B42=<0,1.7,1>;
#declare B43=<0,-1.7,1>;
#declare B44=<0,-2,0>;

sphere{ B11, 0.03 texture{tx_ouro}}
sphere{ B12, 0.03 texture{tx_ouro}}
sphere{ B13, 0.03 texture{tx_ouro}}
sphere{ B13, 0.03 texture{tx_ouro}}
sphere{ B21, 0.03 texture{tx_ouro}}
sphere{ B22, 0.03 texture{tx_ouro}}
sphere{ B23, 0.03 texture{tx_ouro}}
sphere{ B24, 0.03 texture{tx_ouro}}
sphere{ B31, 0.03 texture{tx_ouro}}
sphere{ B32, 0.03 texture{tx_ouro}}
sphere{ B33, 0.03 texture{tx_ouro}}
sphere{ B34, 0.03 texture{tx_ouro}}
sphere{ B41, 0.03 texture{tx_ouro}}
sphere{ B42, 0.03 texture{tx_ouro}}
sphere{ B43, 0.03 texture{tx_ouro}}
sphere{ B44, 0.03 texture{tx_ouro}}

cylinder{B11, B12, 0.01 texture{ tx_cristal_azul}}
cylinder{B12, B13, 0.01 texture{ tx_cristal_azul}}
cylinder{B13, B14, 0.01 texture{ tx_cristal_azul}}
cylinder{B21, B22, 0.01 texture{ tx_cristal_azul}}
cylinder{B22, B23, 0.01 texture{ tx_cristal_azul}}
cylinder{B23, B24, 0.01 texture{ tx_cristal_azul}}
cylinder{B31, B32, 0.01 texture{ tx_cristal_azul}}
cylinder{B32, B33, 0.01 texture{ tx_cristal_azul}}
cylinder{B33, B34, 0.01 texture{ tx_cristal_azul}}
cylinder{B41, B42, 0.01 texture{ tx_cristal_azul}}
cylinder{B42, B43, 0.01 texture{ tx_cristal_azul}}
cylinder{B43, B44, 0.01 texture{ tx_cristal_azul}}

cylinder{B11, B21, 0.01 texture{ tx_cristal_azul}}
cylinder{B21, B31, 0.01 texture{ tx_cristal_azul}}
cylinder{B31, B41, 0.01 texture{ tx_cristal_azul}}
cylinder{B12, B22, 0.01 texture{ tx_cristal_azul}}
cylinder{B22, B32, 0.01 texture{ tx_cristal_azul}}
cylinder{B32, B42, 0.01 texture{ tx_cristal_azul}}
cylinder{B13, B23, 0.01 texture{ tx_cristal_azul}}
cylinder{B23, B33, 0.01 texture{ tx_cristal_azul}}
cylinder{B33, B43, 0.01 texture{ tx_cristal_azul}}
cylinder{B14, B24, 0.01 texture{ tx_cristal_azul}}
cylinder{B24, B34, 0.01 texture{ tx_cristal_azul}}
cylinder{B34, B44, 0.01 texture{ tx_cristal_azul}}

#declare C11=<0,2,0>;
#declare C12=<0,1.7,-0.5>;
#declare C13=<0,-1.7,-0.5>;
#declare C14=<0,-2,0>;

#declare C21=<1,2,0>;
#declare C22=<1,1.7,-0.5>;
#declare C23=<1,-1.7,-0.5>;
#declare C24=<1,-2,0>;

#declare C31=<2.8,1.7,0>;
#declare C32=<2.8,1.5,-0.4>;
#declare C33=<2.8,-1.5,-0.4>;
#declare C34=<2.8,-1.7,0>;

#declare C41=<3,1,0>;
#declare C42=<3,0.85,0>;
#declare C43=<3,-0.85,0>;
#declare C44=<3,-1,0>;

sphere{ C11, 0.03 texture{tx_ouro}}
sphere{ C12, 0.03 texture{tx_ouro}}
sphere{ C13, 0.03 texture{tx_ouro}}
sphere{ C13, 0.03 texture{tx_ouro}}
sphere{ C21, 0.03 texture{tx_ouro}}
sphere{ C22, 0.03 texture{tx_ouro}}
sphere{ C23, 0.03 texture{tx_ouro}}
sphere{ C24, 0.03 texture{tx_ouro}}
sphere{ C31, 0.03 texture{tx_ouro}}
sphere{ C32, 0.03 texture{tx_ouro}}
sphere{ C33, 0.03 texture{tx_ouro}}
sphere{ C34, 0.03 texture{tx_ouro}}
sphere{ C41, 0.03 texture{tx_ouro}}
sphere{ C42, 0.03 texture{tx_ouro}}
sphere{ C43, 0.03 texture{tx_ouro}}
sphere{ C44, 0.03 texture{tx_ouro}}

cylinder{C11, C12, 0.01 texture{ tx_cristal_azul}}
cylinder{C12, C13, 0.01 texture{ tx_cristal_azul}}
cylinder{C13, C14, 0.01 texture{ tx_cristal_azul}}
cylinder{C21, C22, 0.01 texture{ tx_cristal_azul}}
cylinder{C22, C23, 0.01 texture{ tx_cristal_azul}}
cylinder{C23, C24, 0.01 texture{ tx_cristal_azul}}
cylinder{C31, C32, 0.01 texture{ tx_cristal_azul}}
cylinder{C32, C33, 0.01 texture{ tx_cristal_azul}}
cylinder{C33, C34, 0.01 texture{ tx_cristal_azul}}
cylinder{C41, C42, 0.01 texture{ tx_cristal_azul}}
cylinder{C42, C43, 0.01 texture{ tx_cristal_azul}}
cylinder{C43, C44, 0.01 texture{ tx_cristal_azul}}

cylinder{C11, C21, 0.01 texture{ tx_cristal_azul}}
cylinder{C21, C31, 0.01 texture{ tx_cristal_azul}}
cylinder{C31, C41, 0.01 texture{ tx_cristal_azul}}
cylinder{C12, C22, 0.01 texture{ tx_cristal_azul}}
cylinder{C22, C32, 0.01 texture{ tx_cristal_azul}}
cylinder{C32, C42, 0.01 texture{ tx_cristal_azul}}
cylinder{C13, C23, 0.01 texture{ tx_cristal_azul}}
cylinder{C23, C33, 0.01 texture{ tx_cristal_azul}}
cylinder{C33, C43, 0.01 texture{ tx_cristal_azul}}
cylinder{C14, C24, 0.01 texture{ tx_cristal_azul}}
cylinder{C24, C34, 0.01 texture{ tx_cristal_azul}}
cylinder{C34, C44, 0.01 texture{ tx_cristal_azul}}

#declare D11=<-3,4,0>;
#declare D12=<-3,3.5,-0.6>;
#declare D13=<-3,-2.6,-0.6>;
#declare D14=<-3,-3,0>;

#declare D21=<-2,3.5,0>;
#declare D22=<-2,2.9,-0.55>;
#declare D23=<-2,-2.1,-0.55>;
#declare D24=<-2,-2.5,0>;

#declare D31=<-1,2,0>;
#declare D32=<-1,1.7,-0.5>;
#declare D33=<-1,-1.7,-0.5>;
#declare D34=<-1,-2,0>;

#declare D41=<0,2,0>;
#declare D42=<0,1.7,-0.5>;
#declare D43=<0,-1.7,-0.5>;
#declare D44=<0,-2,0>;

sphere{ D11, 0.03 texture{tx_ouro}}
sphere{ D12, 0.03 texture{tx_ouro}}
sphere{ D13, 0.03 texture{tx_ouro}}
sphere{ D13, 0.03 texture{tx_ouro}}
sphere{ D21, 0.03 texture{tx_ouro}}
sphere{ D22, 0.03 texture{tx_ouro}}
sphere{ D23, 0.03 texture{tx_ouro}}
sphere{ D24, 0.03 texture{tx_ouro}}
sphere{ D31, 0.03 texture{tx_ouro}}
sphere{ D32, 0.03 texture{tx_ouro}}
sphere{ D33, 0.03 texture{tx_ouro}}
sphere{ D34, 0.03 texture{tx_ouro}}
sphere{ D41, 0.03 texture{tx_ouro}}
sphere{ D42, 0.03 texture{tx_ouro}}
sphere{ D43, 0.03 texture{tx_ouro}}
sphere{ D44, 0.03 texture{tx_ouro}}

cylinder{D11, D12, 0.01 texture{ tx_cristal_azul}}
cylinder{D12, D13, 0.01 texture{ tx_cristal_azul}}
cylinder{D13, D14, 0.01 texture{ tx_cristal_azul}}
cylinder{D21, D22, 0.01 texture{ tx_cristal_azul}}
cylinder{D22, D23, 0.01 texture{ tx_cristal_azul}}
cylinder{D23, D24, 0.01 texture{ tx_cristal_azul}}
cylinder{D31, D32, 0.01 texture{ tx_cristal_azul}}
cylinder{D32, D33, 0.01 texture{ tx_cristal_azul}}
cylinder{D33, D34, 0.01 texture{ tx_cristal_azul}}
cylinder{D41, D42, 0.01 texture{ tx_cristal_azul}}
cylinder{D42, D43, 0.01 texture{ tx_cristal_azul}}
cylinder{D43, D44, 0.01 texture{ tx_cristal_azul}}

cylinder{D11, D21, 0.01 texture{ tx_cristal_azul}}
cylinder{D21, D31, 0.01 texture{ tx_cristal_azul}}
cylinder{D31, D41, 0.01 texture{ tx_cristal_azul}}
cylinder{D12, D22, 0.01 texture{ tx_cristal_azul}}
cylinder{D22, D32, 0.01 texture{ tx_cristal_azul}}
cylinder{D32, D42, 0.01 texture{ tx_cristal_azul}}
cylinder{D13, D23, 0.01 texture{ tx_cristal_azul}}
cylinder{D23, D33, 0.01 texture{ tx_cristal_azul}}
cylinder{D33, D43, 0.01 texture{ tx_cristal_azul}}
cylinder{D14, D24, 0.01 texture{ tx_cristal_azul}}
cylinder{D24, D34, 0.01 texture{ tx_cristal_azul}}
cylinder{D34, D44, 0.01 texture{ tx_cristal_azul}}

bicubic_patch {
   type 1 flatness 0.001
   u_steps 4 v_steps 4

   A11, A12, A13, A14
   A21, A22, A23, A24
   A31, A32, A33, A34
   A41, A42, A43, A44

   texture {tx_aco   }

}

bicubic_patch {
   type 1 flatness 0.001
   u_steps 4 v_steps 4

   B11, B12, B13, B14
   B21, B22, B23, B24
   B31, B32, B33, B34
   B41, B42, B43, B44

   texture {tx_aco   }

}

bicubic_patch {
   type 1 flatness 0.001
   u_steps 4 v_steps 4

   C11, C12, C13, C14
   C21, C22, C23, C24
   C31, C32, C33, C34
   C41, C42, C43, C44

   texture {tx_aco   }

}

bicubic_patch {
   type 1 flatness 0.001
   u_steps 4 v_steps 4

   D11, D12, D13, D14
   D21, D22, D23, D24
   D31, D32, D33, D34
   D41, D42, D43, D44

   texture {tx_aco   }

}

#include "camlight.inc"
camlight(<-1,0,0>,<2,9,1>,1.00,z,1.0)