POV-Ray : Newsgroups : povray.general : strange problem with srgb color in light_source : Re: strange problem with srgb color in light_source Server Time
27 Apr 2024 15:02:26 EDT (-0400)
  Re: strange problem with srgb color in light_source  
From: Bald Eagle
Date: 1 Apr 2021 13:35:00
Message: <web.60660391a9b7c9591f9dae3025979125@news.povray.org>
I was doing a little surfing around when looking at some ShaderToy methods, and
perhaps normalizing all of the color data to 0-1 before applying any power
functions would be helpful.

https://towardsdatascience.com/everything-you-need-to-know-about-min-max-normalization-in-python-b79592732b79

https://towardsdatascience.com/how-and-why-to-standardize-your-data-996926c2c832

Anything out of range gets a multiplier stored for later use.
Values get abs () and MinMaxed, then whatever other operations can be performed.
Then the MinMax gets undone, the sign corrected, and the result spit out.

I'm thinking that there have to be other softwares that have handled all of
this, and certainly companies that manufacture film, printers, monitors, and
other color-sensitive products must have worked a lot of this out already.   I
know that the guy who did the polynomial texture mapping for Hewlett Packard
posted all of that work on the web for free.   Might be worth contacting some
color-correction specialists or just posting some ads requesting help.
StackExchange, StackOverflow, ... those sorts of places.


No sense in keeping this place an echo chamber when we can draw on the whole
wide world of experience.


Post a reply to this message

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