// Last edited on 2007-06-28 09:24:34 by stolfi // Processed by remove-cam-lights global_settings { max_trace_level 12 } background { color rgb < 0.90, 0.95, 1.00 > } #declare tinta_red = texture { pigment { color rgb < 0.65, 0.0, 0.0 > filter 1.0} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_yellow = 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_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 aro = difference{ difference { sphere { < 2, 2, 1 >,0.7 texture { tinta_yellow } } sphere { < 2, 2, 1 >,0.65 texture { tinta_yellow } } } box{ <3, 0, 0>, <0, 3, 0.8> texture { tinta_yellow } } box{ <3, 0, 1.2>, <0, 3, 2> texture { tinta_yellow } } } #declare caveira = difference { intersection { box{ <1.6, 1.3, 0.5>, <2.4, 1.25, 1.5> texture { tinta_silver } } sphere { < 2, 1.3, 1>,0.4 texture { tinta_silver } } } sphere { <2.4, 1.3, 0.8>, 0.2 texture { tinta_silver } } sphere { <1.6, 1.3, 0.8>, 0.2 texture { tinta_silver } } box{ <2.15, 1.28, 0.5>, <2.2, 1.20, 0.8> texture { tinta_silver } } box{ <2.05, 1.28, 0.5>, <2.1, 1.20, 0.8> texture { tinta_silver } } box{ <1.95, 1.28, 0.5>, <2.0, 1.20, 0.8> texture { tinta_silver } } box{ <1.85, 1.28, 0.5>, <1.9, 1.20, 0.8> texture { tinta_silver } } } #declare rubi = sphere{ <2.0 , 1.23, 1.1>, 0.06 texture { tinta_red } interior {ior 1.5} } #declare esmeralda = sphere{ <1.7 , 1.5, 1.0>, 0.08 texture { tinta_green } interior {ior 1.5} } #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<20) #declare i = 0; #declare shift_x = 0; #while (i<20) #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{ union{ object { aro } object {caveira} } object { rubi translate <-0.15, 0, 0> } object { rubi translate <0.15, 0, 0> } object { esmeralda translate <-0.3, 0.05, 0> } object { esmeralda translate <-0.3, 0.95, 0> } object { esmeralda translate <0.90, 0.05, 0> } object { esmeralda translate <0.90, 0.95, 0> } } } // Original camera parameters: // #local cam_ctr = <7.00,7.00,-10.00> // #local cam_vec = (<-0.50,-0.50,4.00>-<7.00,7.00,-10.00>) // #local cam_sky = z sphere { < 0,0,0>, 0.5 texture{ tinta_yellow } } #include "camlight.inc" camlight(<2.00,2.00,0.75>,<10,-10,6>,3.0,z,1.0)