// Last edited on 2007-07-24 01:30:18 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare flag = texture { //pigment { uv_mapping image_map{jpeg "trinidad_tobago_flag.jpg" }} pigment { uv_mapping image_map{jpeg "jsflag.jpg" }} } #declare prata = texture { pigment { color rgb < 0.50, 0.50, 0.50 > } finish { diffuse 1.5 specular 0.2 roughness 0.005 reflection 0.1 ambient 0.2 } } #declare P11 = <0,2,1.2>; #declare P12 = <0.3,2.5,1.4>; #declare P13 = <0.6,2,1.2>; #declare P14 = <1.2,2.5,1.4>; #declare P21 = <0.2,2,0.9>; #declare P22 = <0.3,2.5,1.1>; #declare P23 = <0.6,2,0.9>; #declare P24 = <1.3,2.3,1.1>; #declare P31 = <0.2,2,0.6>; #declare P32 = <0.3,2.5,0.8>; #declare P33 = <0.6,2,0.6>; #declare P34 = <1.3,2.3,0.8>; #declare P41 = <0,2,0.3>; #declare P42 = <0.3,2.5,0.5>; #declare P43 = <0.6,2,0.3>; #declare P44 = <1.2,2.2,0.5>; #declare bandeira = 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 } #declare mastro = union { cylinder{ <0,2,0>, <0,2,3.3>, 0.03 } sphere{ <0,2,3.3>,0.05 } } union{ object{bandeira texture{flag} translate 2*z } object{mastro texture{prata}} } plane{z,0 translate -10*y texture{ pigment{ checker color rgb <0.5,0.5,0.5>, color rgb <1.5,1.5,1.5> } } } // Original camera parameters: // #local cam_ctr = <0.00,100.00,2.60> // #local cam_vec = (<0.00,-5.00,+2.60>-<0.00,100.00,2.60>) // #local cam_sky = z #include "camlight.inc" camlight(<0.00,100.00,2.60>,<10,10,10>,20.0,z,1.0)