POV-Ray : Newsgroups : povray.binaries.programming : yuqk value distributions and color maps : yuqk value distributions and color maps Server Time
15 Mar 2025 01:24:35 EDT (-0400)
  yuqk value distributions and color maps  
From: Bald Eagle
Date: 10 Feb 2025 14:50:00
Message: <web.67aa576a4dc6aa6525b4de9225979125@news.povray.org>
I was looking over some shader code for the glory rainbow effect, and was
impressed that there were some in-built distributions that could be applied
(bell curve, etc).

One of the things that has bothered me for a long time is the opaqueness of the
internally used values that POV-Ray uses to construct patterns.

It's been noticeable that certain patterns are skewed in their representation of
certain value ranges - and it takes a great deal of effort to visualize the
underlying value distributions, and then translate that to how it affects the
composition and color-mapping of the final pigment patterns.

https://news.povray.org/web.650c19af5bb87ec31f9dae3025979125%40news.povray.org

https://news.povray.org/povray.advanced-users/thread/%3Cweb.63ed381961f8e3fb1f9dae3025979125%40news.povray.org%3E/

https://news.povray.org/web.5ad4e0b9bb501a74c437ac910%40news.povray.org

It also seemed to me that there wasn't a very even distribution of random values
coming out of the PRNG.

I'm not sure if you (WFP) have any ideas for some sort of in-built tool to
somehow graph or otherwise represent and visualize the value distributions, or
if you think that such a thing is just going to be left as "an exercise for the
alert reader".

Perhaps having some sort of inbuilt graphing calculator object {} would be nice
to have - and maybe things like function {pigment{}} could get plugged in...
Values for noise distributions ....

It might help mightily in debugging current and future yuqk development work.


Post a reply to this message

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