POV-Ray : Newsgroups : povray.general : select, is this logical? : Re: select, is this logical? Server Time
28 Apr 2024 21:53:32 EDT (-0400)
  Re: select, is this logical?  
From: Bald Eagle
Date: 3 Oct 2016 10:15:00
Message: <web.57f2672ddf9cd0bfb488d9aa0@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> On 10/03/2016 08:06 AM, John Greenwood wrote:

> >   #declare Change = true;
> >   #declare Function = function( F){select(Change,F,-F)}

> Note there are two select variants. ....
> Then a second form which supports both such transitions and the boolean
> form.


So, the thing(s) to try would be:

#declare Change = true;
#declare Function = function (F) { select(Change, F, F, -F) }

or

#declare Function = function (F) { select(Change, F, -F, -F) }

Correct?


Post a reply to this message

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