POV-Ray : Newsgroups : povray.pov4.discussion.general : Complex Numbers : Re: Complex Numbers Server Time
30 Oct 2025 23:00:01 EDT (-0400)
  Re: Complex Numbers  
From: Bald Eagle
Date: 29 Oct 2025 15:40:00
Message: <web.69026d7b793e4bec7459de3125979125@news.povray.org>
"ingo" <nomail@nomail> wrote:

> #declare complexnumber = cmp<re, im>;
>
> it's kind of vector hence the vector notation and fits with the colour vectors
> rgb<1,1,1>. All the re and im <x, y> extraction code should be available in
> POV-Ray, it c++ after al ...(can't read it, always get lost)

I have written such SDL-side macros to use that type of formulation, however, I
was looking to see what needed to be changed / added at the source code level,
so it could be natively available, fast, useable in isosurfaces, and assignable
to POV-space cardinal axes.

(see threads with complex macros, and discussions about complex numbers with
clipka)

Just exploring options at this point, and hoping the c++ programmers and
dev-types (Jerome, WFP, etc) will look some of it over and be inspired, comment,
and perhaps even try implementing.

In the absence of anything else I'm just trying to relentlessly keep _pushing
forward_.

- BW


Post a reply to this message

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