POV-Ray : Newsgroups : povray.binaries.images : A combined cell pattern : Re: A combined cell pattern Server Time
8 May 2024 09:16:38 EDT (-0400)
  Re: A combined cell pattern  
From: And
Date: 20 Jan 2024 06:00:00
Message: <web.65aba6a160c048b3e7e1a75aa81652d@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> On 1/19/24 06:23, William F Pokorny wrote:
> > As a function?
>
> Hit me while getting coffee this morning I didn't answer your second
> question.
>
> You can turn any pattern into a function of your own with something like:
>
> #declare FnCrackle = function { pattern { crackle form <-1,1,0> ... }
>
> The bit wrapped in pattern{} there can be any sort of valid pattern
> specification as you'd set up for *_map use.
>
>

Thanks for your reminder. Although I ever use function {pattern {...}}, but I'm
not very familiar with it, so I forgot this a lot.


Post a reply to this message

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