// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare tinta_A = texture { pigment {checker color rgb < 0.10, 0.80, 1.00 >, color rgb < 1.00, 0.80, 0.10 > filter 1.0} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment {checker color rgb < 1.0, 1.0, 0.10 >, color rgb < 0.20, 0.30, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.70, 1.0, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_D = texture { pigment {checker color rgb < 0.90, 0.10, 0.10 >, color rgb < 1.00, 0.80, 0.10 > filter 1.0} finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_E = texture { pigment { color rgb < 0.30, 0.30, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare A11 = <1,0,0>; #declare A21 = <1.05,0,1>; #declare A31 = <1.2,0,2>; #declare A12 = <1,0.5,0>; #declare A13 = <0.5,1,0>; #declare A14 = <0,1,0>; #declare A22 = <1.05,0.5,1>; #declare A23 = <0.5,1.05,1>; #declare A24 = <0,1.05,1>; #declare A32 = <1.2,0.5,2>; #declare A33 = <0.5,1.2,2>; #declare A34 = <0,1.2,2>; #declare B21 = <3,0,4.5>; #declare B22 = vrotate(B21, 30*z); #declare B23 = vrotate(B21, 60*z); #declare B24 = vrotate(B21, 90*z); #declare A41 = (A31+B21)/2; #declare A42 = (A32+B22)/2; #declare A43 = (A33+B23)/2; #declare A44 = (A34+B24)/2; #declare B11 = (A31+B21)/2; #declare B12 = (A32+B22)/2; #declare B13 = (A33+B23)/2; #declare B14 = (A34+B24)/2; #declare B31 = <2.6666,0.5,4.5>; #declare B32 = <2,1,4>; #declare B33 = <1,2,4>; #declare B34 = <0.5,2.6666,4.5>; #declare C21 = <3,1.5,3>; #declare C22 = <3,2.5,3>; #declare C23 = <2.5,3,3>; #declare C24 = <1.5,3,3>; #declare B41 = (B31+C21)/2; #declare B42 = (B32+C22)/2; #declare B43 = (B33+C23)/2; #declare B44 = (B34+C24)/2; #declare C11 = (B31+C21)/2; #declare C12 = (B32+C22)/2; #declare C13 = (B33+C23)/2; #declare C14 = (B34+C24)/2; #declare C31 = <4,2,3>; #declare C32 = <4,3,2>; #declare C33 = <3,4,2>; #declare C34 = <2,4,3>; #declare C41 = <4.5,4,4>; #declare C42 = <4.5,4.2,4>; #declare C43 = <4.2,4.5,4>; #declare C44 = <4,4.5,4>; #macro retalho(P11, P12, P13, P14, P21, P22, P23, P24, P31, P32, P33, P34, P41, P42, P43, P44) object{ 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 pigment {uv_mapping image_map{jpeg "image.jpg"}} } } object{ union{ sphere{P11, 0.1} sphere{P12, 0.1} sphere{P13, 0.1} sphere{P14, 0.1} sphere{P21, 0.1} sphere{P22, 0.1} sphere{P23, 0.1} sphere{P24, 0.1} sphere{P31, 0.1} sphere{P32, 0.1} sphere{P33, 0.1} sphere{P34, 0.1} sphere{P41, 0.1} sphere{P42, 0.1} sphere{P43, 0.1} sphere{P44, 0.1} texture { pigment {checker color rgb < 1.00, 1, 1 >, color rgb < 0.00, 0, 0 > } } } } #end #declare base = retalho(A11, A12, A13, A14, A21, A22, A23, A24, A31, A32, A33, A34, A41, A42, A43, A44) #declare topo = retalho(B11, B12, B13, B14, B21, B22, B23, B24, B31, B32, B33, B34, B41, B42, B43, B44) #declare ponta = retalho(C11, C12, C13, C14, C21, C22, C23, C24, C31, C32, C33, C34, C41, C42, C43, C44) object{ base} object{ base rotate 90*z} object{ base rotate 180*z} object{ base rotate 270*z} object{ topo} object{ topo rotate 90*z} object{ topo rotate 180*z} object{ topo rotate 270*z} object{ ponta} object{ ponta rotate 90*z} object{ ponta rotate 180*z} object{ ponta rotate 270*z} object {plane {z,0 texture { pigment {checker color rgb < 1.00, 0.95, 0.00 >, color rgb < 0.00, 0.20, 0.80 > } } scale <3,3,1> } } // Original camera parameters: // #local cam_ctr = <0.00,0,1> // #local cam_vec = (<10,-3,8>-<0.00,0,1>) // #local cam_sky = z #include "camlight.inc" camlight(<0.00,0,1>,<10,10,10>,20.0,z,1.0)