POV-Ray : Newsgroups : povray.general : Undefine macro? : Re: Undefine macro? Server Time
7 Aug 2024 07:19:25 EDT (-0400)
  Re: Undefine macro?  
From:
Date: 7 Dec 2001 10:55:32
Message: <g8p11u41ah88kc5078uk8m61b23jgumjb1@4ax.com>
On Fri, 7 Dec 2001 16:41:58 +0100, "Rune" <run### [at] mobilixnetdk> wrote:
> Besides, the macro is to be defined by the *user* of my include file, so
> simplicity is vital.

Is it some kind of method/properities of the particle ?
Can you list this methods ?
Can you build array of arrays of methods ?
#if(Defined_Method(ParticleID,Method_Selector)) ?
So user have to write macro with method and define entry in array of methods?
Of course it is workaround not as good as it could be.

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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