POV-Ray : Newsgroups : povray.binaries.images : nonperiodic contours : Re: nonperiodic contours Server Time
16 Aug 2024 16:16:57 EDT (-0400)
  Re: nonperiodic contours  
From:
Date: 18 Jan 2002 03:18:23
Message: <i4mf4u87mk8jc8hu70gmvr85t3riv7vad3@4ax.com>
On Thu, 17 Jan 2002 12:43:59 -0800, Anton Sherwood <bro### [at] poboxcom> wrote:
> #declare tau = (1+sqrt(5))/2;
> #declare F0 = function {
>	pigment { marble color_map { [0 rgb 0] [1 rgb 1] } }
>        }
> #declare F1 = function {
>        pigment {
>                marble color_map { [0 rgb 0] [1 rgb 1] }
>                scale tau-1
>                }
>        }
> #declare taumarble = function { (F0+F1)/2 }

BTW: you did it probably with megapov, right ? I think this becouse you not
attached (x,y,z) after F0 anf F1. For others playing with this on 3.5. Below
version afaik gives in 3.5 the same result as above:

#declare tau = (1+sqrt(5))/2;
#declare F0 = function{pattern{marble}}
#declare F1 = function{pattern{marble scale tau-1}}
#declare taumarble = function{(F0(x,y,z)+F1(x,y,z))/2 }

ABX


Post a reply to this message

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