POV-Ray : Newsgroups : povray.unofficial.patches : yuqk feature requests / suggestions : Re: yuqk feature requests / suggestions Server Time
2 Jun 2024 15:19:10 EDT (-0400)
  Re: yuqk feature requests / suggestions  
From: Tor Olav Kristensen
Date: 27 Dec 2023 19:30:00
Message: <web.658cc0b6d9619d9a2ba5690489db30a9@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
>...
> With regard to the current shader, I've run into quite a number of stumbling
> blocks that highlight the deeply ingrained problems and limitations of the
> function parser.  I'm not saying that Thorsten didn't do a good job - it's just
> that what we have isn't really adequate to the tasks I would (reasonably) like
> to accomplish, and isn't conducive to moving forward toward 4.0.
>
> When evaluating a pattern, things need to be coded in a certain "static" way.
> What one might do in a macro - declaring variables to store intermediate
> calculation results - isn't possible with functions.
>...

To not have variables in functions is not necessarily a showstopper.

It just requires you to rewire your brain to program in a more "functional" way.
    ;-)
A lot of people struggle with this when they start programming in functional
languages.

--
Tor Olav
http://subcube.com
https://github.com/t-o-k


Post a reply to this message

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