POV-Ray : Newsgroups : povray.unofficial.patches : megapov bug: condition inside declaration of function{pigment{}} : Re: megapov bug: condition inside declaration of function{pigment{}} Server Time
8 Jul 2024 16:28:53 EDT (-0400)
  Re: megapov bug: condition inside declaration of function{pigment{}}  
From: Christoph Hormann
Date: 22 Aug 2001 08:04:17
Message: <3B83A04E.3CEC1082@gmx.de>
Scott Hill wrote:
> 
>     I've had this problem - it seems 'function' uses its own parsing
> routines which don't support the entire set of POV keywords... The solution
> is to do something like this :
> 
> #declare Q=no;
> #declare RadialPigment=pigment{radial#if(Q)turbulence.3#end}
> #declare RadialFunction=function{pigment{RadialPigment}}
> 

Yes, a lot of Povray's language features can't be used in isosurface
functions.  This will be improved in Povray 3.5 BTW, even macros can be
used then.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

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