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 20:31:59 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From: Francois Labreque
Date: 14 Jan 2002 07:46:38
Message: <3C42D2AC.2090801@videotron.ca>


> 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 ?).


#macro appeared in 3.1.

But anyway, I think Eugene said he didn't want to have to use temporary 
files to achieve this.

-- 
/*Francois Labreque*/#local a=x+y;#local b=x+a;#local c=a+b;#macro P(F//
/*    flabreque    */L)polygon{5,F,F+z,L+z,L,F pigment{rgb 9}}#end union
/*        @        */{P(0,a)P(a,b)P(b,c)P(2*a,2*b)P(2*b,b+c)P(b+c,<2,3>)
/*   videotron.ca  */}camera{location<6,1.25,-6>look_at a orthographic}


Post a reply to this message

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