POV-Ray : Newsgroups : povray.newusers : Parametric Object : Re: Parametric Object Server Time
19 Apr 2024 21:08:26 EDT (-0400)
  Re: Parametric Object  
From: Bald Eagle
Date: 6 Apr 2023 13:55:00
Message: <web.642f06b8535bc3e01f9dae3025979125@news.povray.org>
kurtz le pirate <kur### [at] gmailcom> wrote:

> Find the solution.
>
> #declare fnK = function(u,v) { ... }
> parametric {
>  function { fnK(u,v)*(...) }
>  function { fnK(u,v)*(...) }
>  function { fnK(u,v)*(...) }
>
> Must also specify the parameters for fnK().

Yes.   This is what I often refer to as "daisy-chaining".

https://www.props4shows.co.uk/Portals/1/product/images/prd35729f1d-79d7-4e7b-9f10-8aa76ed62377.jpg

One function depends on the result of another function, which may depend on yet
another function....


Post a reply to this message

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