// Last edited on 2003-12-07 17:56:46 by stolfi

// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !! Um arquivo "filtro.c" com data 2003-10-21-190000 foi recolhido
// !! de /home/ec2000/ra002937/public_html/mc930/10-28 Nessa hora o
// !! arquivo "main.pov" já estava substituído pelo de tp07. Estou
// !! usando portanto esse "filtro.c" (2003-10-21-190000), com o
// !! "main.pov" entregue em aula (original de 2003-10-21-160700),
// !! ambos com minhas alterações necessárias. --stolfi
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

#include "colors.inc"

#include "dados.inc"

// sun ---------------------------------------------------------------------

light_source{<1500,2500,2500> color White}

light_source{<-1500,2500,2500> color White}

// sky ---------------------------------------------------------------------
plane{<0,0.1,0>,1 hollow
  texture{ pigment{ bozo turbulence 0.76
    color_map { [0.5 rgb <0.20, 0.20, 1.0>]
      [0.6 rgb <1,1,1>]
      [1.0 rgb <0.5,0.5,0.5>]}
  }
    finish {ambient 1 diffuse 0} }
  scale 10000}

//light_source {
//  < 7.5, 100.00, -15.00 >
//  color rgb < 3.00, 3.00, 3.00 >
//}

#declare ctr = < 7.5, 3.00, 0.00 >;
#declare camDir = (< 7.5, 0, 15.00 >) - (< 7.5, 3.00, 0.00 >);

camera {
  location   ctr + 1.25*camDir
  right      -1.20*x
  up         0.90*y
  sky        y
  look_at    ctr
}
 

plane {
  y, -9
  pigment { checker color Green color White }
}

//fog ---------------------------------------------------------------------
fog{fog_type   2
  distance   55
  color      White
  fog_offset 0.1
  fog_alt    2.0
  turbulence 0.8}



// ground -----------------------------------------------------------------
plane { y, -9
  texture{ pigment{color rgb<0.35,0.95,0.0>}
    normal {bumps 0.75 scale 0.015}
    finish {ambient 0.1 diffuse 0.8}
  } // end of texture
} // end of plane



graph