POV-Ray : Newsgroups : povray.beta-test.binaries : Function / pattern issues. Updating cubic_wave. : Re: Function / pattern issues. Updating cubic_wave. Server Time
3 May 2024 06:01:41 EDT (-0400)
  Re: Function / pattern issues. Updating cubic_wave.  
From: Bald Eagle
Date: 5 Apr 2020 14:00:00
Message: <web.5e8a1b99aae34904fb0b41570@news.povray.org>
Alain Martel <kua### [at] videotronca> wrote:
> Le 2020-04-05 à 12:12, William F Pokorny a écrit :

> This looks like an improvement.
> As I very rarely encounter that wave type, i don't think that it will
> break anything.

Having had to ascend the learning curve to the point where I read source code
and re-write everything from pattern functions to how the color is mapped, to
the point where I uncover malfunctioning code that's been lurking for 20+
years....

It's a PITA to have to do all that because some function that I want is not
accessible internally, or the output that I wrest from SDL is not sufficiently
suitable for further use (no vector-result functions).

That isosurface using the old cubic function is a nasty, gnarly looking thing
that would be useful and desirable for rendering organic growths.
Consider the render and response to:
http://news.povray.org/povray.binaries.images/message/%3Cweb.5d2f9172746ba36d4eec112d0%40news.povray.org%3E/#%3Cweb.5d2
f9172746ba36d4eec112d0%40news.povray.org%3E

So, I'd say keep the original cubic wave, but implement it in some other way,
such as in an updated function include file, a way to specify what is used,
perhaps with a new "wave_set" argument, such as how we now can select which
default noise generator is used, or tack it on as some other numbered internal
function.

But don't delete it.

We have a user-defined pattern, a user-defined camera,
http://wiki.povray.org/content/Reference:User_Defined_Pattern
http://wiki.povray.org/content/Reference:Camera#User_defined_projection
(etc if there are more such things)

It would be ideal to have a user-defined option for all things - noise
functions, turbulence, ... and wave types.

So maybe that's a long-term option to ponder while you're in the midst of all
this.


Great work as always, Bill.   You are seemingly indefatigable.
All the best.

In the words of Truthstream Media, "We're Living in 12 Monkeys."


Post a reply to this message

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