// Last edited on DATE TIME by stolfi #include "textures.inc" #include "colors.inc" // The include files contain #include "stones.inc" // pre-defined scene elements #include "metals.inc" #include "woods.inc" #include "finish.inc" #include "shapes.inc" #include "skies.inc" #include "chars.inc" #include "stars.inc" #include "dados.inc" #declare ctr = <-10, 2, 0 >; #declare camDir = (< 8,20,40 >) - (<-10, 2, 0 >); camera { location ctr + 1.00*camDir right -1.00*x up 0.75*y sky y look_at ctr } // ====================================================================== // FONTES DE LUZ light_source { 10 * < -50.0, +30.0, +50.0 > // Posição da lâmpada. color rgb 1.2 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } light_source { 10 * < -50.0, -10.0, +10.0 > // Posição da lâmpada. color rgb 0.8 * < 1.00, 1.00, 1.00 > // Intensidade e corda luz. } // ====================================================================== // DESCRIÇÃO DA CENA sky_sphere { pigment {color rgb < 0.75, 0.80, 0.85 >} } //sky_sphere { pigment {checker color rgb < 0.3, 0.3, 0.3 > color rgb <0.7,0.7,0.7>} } background{ color rgb < 0.75, 0.80, 0.85 > } #declare sup_transp= texture{ finish { ambient 0.1 diffuse 0.1 roughness 0.001 reflection 0.25 specular 1 } pigment {color rgb <0.9,0.9,0.9> filter 1 } } //interior {ior 1.5} #declare sup_metalica = texture { finish{ ambient 0.05 diffuse 0.05 reflection color rgb <0.8,0.4,0.5> specular 0.20 roughness 0.05 } } #declare sup_metalica2 = texture { finish{ ambient 0.05 diffuse 0.05 reflection color rgb <0.8,0.8,0.7> specular 0.20 roughness 0.05 } } #declare eixoX= union{ cylinder { <0,0,0> <-40,0,0> 0.5 texture {sup_metalica2} } cone{ <0,0,0> 1 <-5,0,0> 0 pigment {color rgb <0.9,0.1,0.5>} translate x*-40 } } #declare eixoY= union{ cylinder { <0,0,0> <0,15,0> 0.5 texture {sup_metalica2} } cone{ <0,0,0> 1 <0,5,0> 0 pigment {color rgb <0.9,0.1,0.5>} translate y*15 } } #declare chao= plane { <0,1,0>, -1 pigment {checker color rgb < 0.3, 0.3, 0.3 > color rgb <0.7,0.7,0.7> scale 2} //rotate y*30 //pigment {color <0.8,0.8,0.8>} } //object {rede} //object {rede rotate z*90 translate <4.0,-0.4,0>} //object {pacotes rotate z*90 translate <4.0,1,0>} //object {pacotes translate x*1} //object {pacotes2 translate y*2} object {chao} object {eixoX} object {eixoY}