// by Rafal Maj 'Raf256' http://www.raf256.com/me/ // "Borg Cube III" (plastic, L-system) http://www.raf256.com/3d/image/a00124/ // in PovRAY ray-tracer 3.6 beta 1 light_source{<1,3,7>rgb 5} // strong light #macro L(V) M(N-1,V,y) #end // just a short cut #macro M(N,R,T) // L-system recrusrion N=depth levels left R=rotate T=translate #if(N) union{ M(N-1,0,0) L(-y) L(x)L(-x) L(z)L(-z) rotate R*90 translate T scale .5 pigment{rgb y}//green } #else cone{0 .1y.1} // cone - at deepthest fractal recursion level #end #end union { M(6,.1,-y/2) translate+z/2 } // start recursion global_settings{radiosity{count 999}} // radioisity