|
|
On Sun, 13 Jan 2002 12:33:51 +0200, Eugene Arenhaus <eug### [at] avalon-netcoil>
wrote:
> Can I make a macro that would calculate a macro that I would pass it in
> a parameter?
sure. you only need #include, #macro, #fopen and #write directives. So it should
work when those directives started in POV (3.0 ? 2.0 ?).
ABX
--
disc{z,-z 5#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;pigment{#local g=function(_){ceil(_)-_}function#local//X
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e>0)<O(),O()//AB
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//POV35
Post a reply to this message
|
|