// Last edited on DATE TIME by USER // Processed by remove-cam-lights background{ color rgb < 0.75, 0.80, 0.85 > } #declare galho1 = texture { pigment { color rgb < 0.70, 1.0, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare fruto = texture { pigment {checker color rgb < 0.90, 0.10, 0.10 >, color rgb < 1.00, 0.80, 0.10 > } finish { diffuse 0.5 specular 0.5 roughness 0.005 ambient 0.1 } } #declare fonte1 = seed(32); #declare fonte2 = seed(2455); #declare fonte3 = seed(288754); #declare fonte4 = seed(68); #declare fonte5 = seed(5423); #declare fonte6 = seed(245); #declare fatorL = 0.9; #declare fatorR = 0.9; #declare Quad = 5.2; #macro galho(centro,vetor,L,R) #if((R>0.08)&((((centro+L*vetor).x>-1*Quad)&((centro+L*vetor).x-1*Quad)&((centro+L*vetor).y-0.1)&((centro+L*vetor).z<(Quad+5))))) union{ cone{ centro, R (centro+L*vetor), fatorR*R texture{galho1} } galho((centro+L*vetor),vnormalize(vetor + <0.8*rand(fonte1)-0.4,0.8*rand(fonte2)-0.4,0.8*rand(fonte3)-0.4>),(fatorL*L),(fatorR*R)) galho((centro+L*vetor),vnormalize(vetor + <0.8*rand(fonte4)-0.4,0.8*rand(fonte5)-0.4,0.8*rand(fonte6)-0.4>),(fatorL*L),(fatorR*R)) } #else object{ sphere{ centro, 0.25} texture{fruto} } #end #end object{ galho(<0,0,0>,<0,0,1>,1.5,0.5)} 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,0,5> // #local cam_vec = (<20,20,20>-<0,0,5>) // #local cam_sky = z #include "camlight.inc" camlight(<0,0,5>,<10,10,10>,20.0,z,1.0)