POV-Ray : Newsgroups : povray.binaries.images : Guess what .... : Re: Guess what .... Server Time
16 Jun 2024 14:41:24 EDT (-0400)
  Re: Guess what ....  
From: Tor Olav Kristensen
Date: 1 Jul 2022 04:15:00
Message: <web.62beacd6f6159f18acf8b7ce89db30a9@news.povray.org>
"ingo" <nomail@nomail> wrote:
> it was a struggle, but the basics work now.

Hi Ingo

I guess that you are doing Fast Fourier Transform and Inverse Fast Fourier
Transform in POV-Ray SDL. That's interesting.

What will you use it for ?


Here's a little suggestion:

You can replace this:

    #if (BinPower[i] > Pmax)
        #declare Pmax = BinPower[i];
    #end

- with this:

    #declare Pmax = max(BinPower[i], Pmax);

--
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.