// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare raio = 2.000; #declare tinta_X = 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_Y = texture { pigment { color rgb < 1.00, 0.80, -250.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_Z = 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 tinta_Red = texture { pigment { color rgb < 1.00, 0.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare tinta_verde = texture { pigment { color rgb < 0.00, 1.00, 0.00 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare num = seed ( 123456 ); #macro galho ( centro, v1, comp_tronco, raio_tronco ) #if ( (raio_tronco>0.01) & ( ((centro.x>-8)&(centro.x<8)) & ((centro.y>-8)&(centro.y<8)) & ((centro.z>-8)&(centro.z<10)) ) ) object { union { cylinder { centro, (centro+(comp_tronco*v1)), raio_tronco texture{ tinta_verde } } galho ((centro+comp_tronco*v1), vnormalize(v1+ ),comp_tronco*0.9,raio_tronco*0.8) galho ((centro+comp_tronco*v1), vnormalize(v1+ ),comp_tronco*0.9,raio_tronco*0.8) } } #else object { sphere { centro, 0.1 texture{tinta_Red} } } #end #end object {galho( <0,0,0>, <0,0,1>,2, 1 ) } // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <10.00,10.00,10.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)