// Last edited on 2007-07-24 01:29:20 by stolfi // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_A = texture { pigment { color rgb < 0.50, 0.50, 1.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_B = texture { pigment { color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_C = texture { pigment { color rgb < 0.10, 0.50, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_BR = texture { pigment { color rgb < 2.00, 2.00, 2.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_P = texture { pigment { color rgb < 0.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare bandeira = bicubic_patch { type 1 u_steps 3 v_steps 3 <0,0,0> <1,1,-1> <2,-1,1> <3,0,0> <0,1,0> <1,2,-1> <2,0,1> <3,1,0> <0,2,0> <1,3,-1> <2,1,1> <3,2,0> <0,3,0> <1,4,-1> <2,2,1> <3,3,0> } #declare mastro = union { cylinder { <0,0,3>, <0,0,-2>, 0.1 } sphere { <0,0,3>, 0.2 } texture {tinta_C } } object {mastro translate<2,0,0> } object{bandeira // pigment { uv_mapping image_map {jpeg "jsflag.jpg"} } pigment { uv_mapping image_map {jpeg "jsflag.jpg"} } rotate<90,0,100> translate<2,0,0> } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <8.00,4.00,2.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)