// Exemplo de arquivo de descricao de cena para POV-ray // edited on 09/06/2001 by Joao Amancio Junior - RA007877 // Last edited on 2001-06-09 21:55:31 by stolfi #include "colors.inc" background{ color rgb < 0.70, .70, 1.00 > } // camera { angle 17 location <-30,10 ,90>//0,0,70 look_at <1,6,4.5> } light_source { <-40, 50, 110> color 1.2*White } #declare eixoX = cylinder { < -5, 0, 0 >, < 5, 0, 0 >, 0.03 pigment { Green } } #declare eixoY = cylinder { < 0,-2, 0 >, < 0, 10, 0 >, 0.03 pigment { Blue } } #declare eixoZ = cylinder { < 0, 0, -2 >, < 0, 0, 10 >, 0.03 pigment { Red } } #declare coluna = union { box { <6, 0, 6>, < 8, 0.5, 8> }// Base box { <6.3, 0.5, 6.3>, < 7.7, 1 , 7.7> } cylinder { < 7, 0.5, 7 >, <7, 5, 7 >, 0.5 }// box { <6.3, 5, 6.3>, < 7.7, 5.5 , 7.7> } box { <6, 5.5, 6>, < 8, 6, 8> }// Base pigment { White } } #declare i=-2 #while (i<2) object {coluna translate <0,0,5*i>} #declare i=i+1; #end #declare i=-2 #while (i<2) object {coluna translate <-12,0,5*i>} #declare i=i+1; #end union { difference { box { <9.5, 6, 13>, <-7.5, 9 , -4> pigment {White}} box { <7, 9.5, 13.2>, <-7.5, 12 , -4.5> pigment {White} rotate 25*z} box { <9, 10.5, 13.2>, <-8.5, 13.5 , -4.5> pigment {White} rotate -25*z} } torus { 1.0, .5 rotate x*-90 translate <1,10.2,12.6> pigment {White} } } #declare plano = plane { <0,1,0>, 0 pigment { color Yellow} finish {ambient 0.2 diffuse 0.8 }} // plane { <0,1,0>, 0 pigment {checker color Green color Yellow} } object {plano} #declare gerador = seed(123456); #declare i=0; #while(i<40) #declare r=.5 + 0.004*i sphere { <-.3*i, 0, 4*rand(gerador)+13.2 >, r pigment {Brown} } #declare i = i + 1; #end