POV-Ray : Newsgroups : povray.programming : ATT: POV team and everyone - POV4 design proposal : Re: ATT: POV team and everyone - POV4 design proposal Server Time
28 Jul 2024 22:30:01 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From:
Date: 14 Jan 2002 03:59:35
Message: <b5754u822215atr2dtgrosc05algsg0onb@4ax.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.