// Last edited on 2007-07-24 01:29:08 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_red = texture { pigment { color rgb < 0.65, 0.0, 0.0 >} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.2 reflection 0.2 } } #declare tinta_yellow = texture { pigment { color rgb < 1.0, 0.8, 0.1 > filter 1.0} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_gold = texture { pigment { color rgb < 1.0, 0.8, 0.1 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.2 reflection 0.2} } #declare tinta_green = texture { pigment { color rgb < 0.00, 0.65, 0.0 > filter 1.0} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_green_metal = texture { pigment { color rgb < 0.00, 0.65, 0.0 >} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.2 reflection 0.2 } } #declare tinta_blue = texture { pigment { color rgb < 0.00, 0.0, 0.65 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_black = texture { pigment { color rgb < 0.00, 0.00, 0.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_white = texture { pigment { color rgb < 1.0, 1.0, 1.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_silver = texture { pigment { color rgb < 1.0, 1.0, 1.0 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.2 reflection 0.2 } } #declare tinta_brown = texture { pigment { color rgb < 0.5, 0.25, 0.1 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.2 reflection 0.2 } } #declare bandeira = bicubic_patch{ type 1 u_steps 3 v_steps 3 <0.0,1.0,0.0>,<0.5,0.0,0.5>,<1.0,0.75,0.0>,<1.5,0.0,0.5>, <0.0,1.5,0.5>,<0.5,0.0,1.0>,<1.0,0.5,0.5>,<1.5,0.5,1.0>, <0.0,0.25,1.0>,<0.5,0.0,1.5>,<1.0,0.25,1.0>,<1.5,0.0,1.5>, <0.0,0.0,1.5>,<0.5,0.0,2.0>,<1.0,0.0,1.5>,<1.5,0.0,2.0> // pigment{ uv_mapping image_map{png "band.png" }} pigment{ uv_mapping image_map{jpeg "jsflag.jpg" }} } #declare haste = union{ sphere{ <1.5,0,4.0>,0.12 texture {tinta_gold} } cylinder{ <1.5,0,0>, <1.5,0,4.0>,0.08 texture {tinta_gold} } } #declare tab_preto = box { < 0.25, 0.00, 0.00 >, < 0.00, 0.25, 0.10 > texture { tinta_black } } #declare tab_branco = box { < 0.25, 0.00, 0.00 >, < 0.00, 0.25, 0.10 > texture { tinta_white } } #declare j = 0; #declare shift_y = 0; #declare roleta = seed(12345); union { #while (j<50) #declare i = 0; #declare shift_x = 0; #while (i<50) #if (mod(j,2)=0) #if (mod(i,2)=0) object { tab_preto translate } #else object { tab_branco translate } #end #else #if (mod(i,2)=0) object { tab_branco translate } #else object { tab_preto translate } #end #end #declare shift_x = shift_x+0.25; #declare i = i+1; #end #declare j = j+1; #declare shift_y = shift_y+0.25; #end union{ object{bandeira translate <5,5,2> } object{haste translate <5,5,0> } } } // Original camera parameters: // #local cam_ctr = <10.00,10.00,-5.00> // #local cam_vec = (<4.0,0.0,6.0>-<10.00,10.00,-5.00>) // #local cam_sky = z #include "camlight.inc" camlight(<10.00,10.00,-5.00>,<10,10,10>,20.0,z,1.0)