// Last edited on DATE TIME by USER // 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 tinta_pink = texture { pigment { color rgb < 1.0, 0.8, 0.8 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #macro flor(P11,P12,P13,P14,P21,P22,P23,P24,P31,P32,P33,P34,P41,P42,P43,P44) union{ bicubic_patch{ type 1 u_steps 3 v_steps 3 P11,P12,P13,P14,P21,P22,P23,P24,P31,P32,P33,P34,P41,P42,P43,P44 texture { tinta_pink } } union{ union{ sphere{P11,0.02} sphere{P12,0.02} sphere{P13,0.02} sphere{P14,0.02} sphere{P21,0.02} sphere{P22,0.02} sphere{P23,0.02} sphere{P24,0.02} sphere{P31,0.02} sphere{P32,0.02} sphere{P33,0.02} sphere{P34,0.02} sphere{P41,0.02} sphere{P42,0.02} sphere{P43,0.02} sphere{P44,0.02} texture{tinta_yellow} } union{ cylinder{P11,P12,0.01} cylinder{P12,P13,0.01} cylinder{P13,P14,0.01} cylinder{P21,P22,0.01} cylinder{P22,P23,0.01} cylinder{P23,P24,0.01} cylinder{P31,P32,0.01} cylinder{P32,P33,0.01} cylinder{P33,P34,0.01} cylinder{P41,P42,0.01} cylinder{P42,P43,0.01} cylinder{P43,P44,0.01} texture { tinta_green } } } } #end #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); #declare A11 = <+0.00,-0.45,+0.00>; #declare A12 = <+0.30,-0.15,+0.00>; #declare A13 = <+0.30,+0.15,+0.00>; #declare A14 = <+0.00,+0.45,+0.00>; #declare A21 = <+0.05,-0.45,+0.15>; #declare A22 = <+0.35,-0.15,+0.15>; #declare A23 = <+0.35,+0.15,+0.15>; #declare A24 = <+0.05,+0.45,+0.15>; #declare A31 = <+0.10,-0.45,+0.30>; #declare A32 = <+0.25,-0.15,+0.30>; #declare A33 = <+0.25,+0.15,+0.30>; #declare A34 = <+0.10,+0.45,+0.30>; #declare A41 = <+0.15,-0.45,+0.45>; #declare A42 = <+0.30,-0.15,+0.45>; #declare A43 = <+0.30,+0.15,+0.45>; #declare A44 = <+0.15,+0.45,+0.45>; #declare B21 = <+0.35,-0.45,+0.60>; #declare B22 = <+0.40,-0.15,+0.60>; #declare B23 = <+0.40,+0.15,+0.60>; #declare B24 = <+0.35,+0.45,+0.60>; #declare B31 = <+0.35,-0.45,+0.75>; #declare B32 = <+0.35,-0.15,+0.75>; #declare B33 = <+0.35,+0.15,+0.75>; #declare B34 = <+0.35,+0.45,+0.75>; #declare B41 = <+0.45,-0.45,+0.90>; #declare B42 = <+0.50,-0.15,+0.90>; #declare B43 = <+0.50,+0.15,+0.90>; #declare B44 = <+0.45,+0.45,+0.90>; #declare A41 = (A31 + B21)/2; #declare A42 = (A32 + B22)/2; #declare A43 = (A33 + B23)/2; #declare A44 = (A34 + B24)/2; #declare B11 = A41; #declare B12 = A42; #declare B13 = A43; #declare B14 = A44; #declare C21 = <+0.50,-0.45,+1.05>; #declare C22 = <+0.55,-0.15,+1.05>; #declare C23 = <+0.55,+0.15,+1.05>; #declare C24 = <+0.50,+0.45,+1.05>; #declare C31 = <+0.60,-0.45,+1.20>; #declare C32 = <+0.60,-0.15,+1.25>; #declare C33 = <+0.60,+0.15,+1.25>; #declare C34 = <+0.60,+0.45,+1.20>; #declare C41 = <+0.70,-0.45,+0.85>; #declare C42 = <+0.90,-0.15,+1.05>; #declare C43 = <+0.90,+0.15,+1.05>; #declare C44 = <+0.70,+0.45,+0.85>; #declare B41 = (B31 + C21)/2; #declare B42 = (B32 + C22)/2; #declare B43 = (B33 + C23)/2; #declare B44 = (B34 + C24)/2; #declare C11 = B41; #declare C12 = B42; #declare C13 = B43; #declare C14 = B44; 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{ union{ object{flor(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44)} object{flor(B11,B12,B13,B14,B21,B22,B23,B24,B31,B32,B33,B34,B41,B42,B43,B44)} object{flor(C11,C12,C13,C14,C21,C22,C23,C24,C31,C32,C33,C34,C41,C42,C43,C44)} translate <0.35,0,0.1> } union{ object{flor(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44)} object{flor(B11,B12,B13,B14,B21,B22,B23,B24,B31,B32,B33,B34,B41,B42,B43,B44)} object{flor(C11,C12,C13,C14,C21,C22,C23,C24,C31,C32,C33,C34,C41,C42,C43,C44)} translate <0.35,0,0.1> rotate 90*z } union{ object{flor(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44)} object{flor(B11,B12,B13,B14,B21,B22,B23,B24,B31,B32,B33,B34,B41,B42,B43,B44)} object{flor(C11,C12,C13,C14,C21,C22,C23,C24,C31,C32,C33,C34,C41,C42,C43,C44)} translate <0.35,0,0.1> rotate 180*z } union{ object{flor(A11,A12,A13,A14,A21,A22,A23,A24,A31,A32,A33,A34,A41,A42,A43,A44)} object{flor(B11,B12,B13,B14,B21,B22,B23,B24,B31,B32,B33,B34,B41,B42,B43,B44)} object{flor(C11,C12,C13,C14,C21,C22,C23,C24,C31,C32,C33,C34,C41,C42,C43,C44)} translate <0.35,0,0.1> rotate 270*z } translate <7,7,0> } } // Original camera parameters: // #local cam_ctr = <5.00,10.00,-4.00> // #local cam_vec = (<9.0,5.0,3.0>-<5.00,10.00,-4.00>) // #local cam_sky = z #include "camlight.inc" camlight(<5.00,10.00,-4.00>,<10,10,10>,20.0,z,1.0)