// Last edited on DATE TIME by USER // Processed by remove-cam-lights #include "colors.inc" #include "stones.inc" background{ color rgb < 0.75, 0.80, 0.85 > } #declare predio = cylinder { <0,1,0>, <0,5,0>, 5 open texture { T_Stone17 } } #declare tinta_A = texture { pigment { color rgb < 0.10, 0.80, 1.00 > } finish { diffuse 0.8 specular 0.2 roughness 0.005 ambient 0.1 } } #declare filme_rgb = <0.2, 0.20, 0.80>; #declare filme = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.15 specular 2 roughness 0.010 } pigment { color filme_rgb filter 1 } } #declare filme_t_rgb = <0.7, 0.70, 0.87>; #declare filme_t = texture { finish { ambient 0.1 diffuse 0.1 reflection 0.15 specular 2 roughness 0.010 } pigment { color filme_t_rgb filter 1 } } #declare vagoes = union { #declare a = 1; #while ( a <= 7 ) #declare vagao = #declare b = 1; union { #while (b <= 5) #declare janela = #if (b <= 3) box{<0.1,4,0>, <0.2,5,1> texture { filme_t } } #else box{<0.1,4,0>, <0.2,5,1> texture { filme } } #end object { janela translate <3,2,0>} torus {0.40,0.30 translate <3,0,0> rotate 90*y pigment{color <0.02,0.42,0.65>} } torus {0.40,0.30 translate <-3,0,3> rotate 90*y pigment{color <0.02,0.42,0.65>} } box{<0,0,0>, <3,2,5> pigment { color <0.67,0.3,0.2>}} #declare b = b + 1; #end } object { vagao translate <-2,0,2*a> } #declare a = a + 1; #end } vagoes #include "camlight.inc" camlight(<0,0,0>,<40.00,40.00,40.00>,1.00,z,1.0)