Ron Parker wrote:
> #include "colors.inc"
> #macro TriTiles( PigArray )
> #local hexBlock=pigment { radial pigment_map{
> #local i=0; #while (i<6)[i/6 PigArray[i]]
> [(i+1)/6 PigArray[i]] #local i=i+1; #end}}
> radial pigment_map {#local i=1; #while (i<3)
> [i/3 hexBlock translate vrotate(x,(120*i-60)*y)]
> [i/3 hexBlock translate vrotate(x,(120*i+60)*y)]
> #local i=i+1; #end } warp {repeat x flip x }
> warp {repeat sqrt(3)*z} scale .5
> #end
Now that is what I call perfectly indented Pov script.
Hooray Mr. Parker !!!
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|