// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare madeira = texture { pigment { color rgb < 2.00, 1.20, 0.80 > } finish { diffuse 0.60 reflection 0.20 roughness 0.20 } } #declare laranja = texture { pigment { color rgb < 1.00, 0.70, 0.20 > } finish { diffuse 0.60 reflection 0.20 roughness 0.20 } } #declare r1=seed(1235); #declare r2=seed(5276); #declare r3=seed(8234); #declare r4=seed(0239); #declare r5=seed(3744); #declare r6=seed(4875); #macro galho(p,v0,L,r) #if( r>0.05 & ((p+(L*v0)).x < 15 & (p+(L*v0)).x > -15) & ((p+(L*v0)).y < 15 & (p+(L*v0)).y > -15) & ((p+(L*v0)).z < 15 & (p+(L*v0)).z > -15)) union{ cylinder { p,p+(L*v0) r texture{ madeira } } galho(p+(L*v0),vnormalize(v0+),L*0.8,r*0.6) galho(p+(L*v0),vnormalize(v0+),L*0.8,r*0.6) } #else sphere { p+v0*0.5, 0.5 texture { laranja } } #end #end plane { z,0 texture{ pigment{ color rgb < 0.60, 1.00, 0.10 > } finish{ diffuse 0.40 specular 0.20 reflection 0.20 ambient 0.20 } } } galho(<0,0,0>,<0,0,1>,4,0.8) // Original camera parameters: // #local cam_ctr = <0,0,0> // #local cam_vec = <25.00,0.00,25.00> // #local cam_sky = z #include "camlight.inc" camlight(<0,0,0>,<10,10,10>,20.0,z,1.0)