POV-Ray : Newsgroups : povray.binaries.images : Stock colors and assumed_gamma 1 in POV-Ray 3.6 Server Time
26 Jun 2024 01:34:33 EDT (-0400)
  Stock colors and assumed_gamma 1 in POV-Ray 3.6 (Message 75 to 77 of 77)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Thomas de Groot
Subject: Re: Stock colors and assumed_gamma 1 in POV-Ray 3.6
Date: 31 Oct 2020 12:41:34
Message: <5f9d93be$1@news.povray.org>
Op 31/10/2020 om 11:52 schreef Ive:
> 
> Oh, just out of curiosity, do you remember where "Ive's macros" are 
> from? At the time I wrote CIE.inc and added a few other function to 
> lightsys I did definitely prefer this xyz_2_xyz style. And I think scRGB 
> wasn't even defined at this time.
> 

I am not sure. I wrote this scene in 2014 but I don't remember where I 
got the functions from. It must have been from a discussion at the time 
in these n.g's - I browsed around but I am unable to find a probable 
source; mention is made several times of CIE, so I wonder if I did not 
get it from there. Sorry.

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Stock colors and assumed_gamma 1 in POV-Ray 3.6
Date: 5 Nov 2020 03:04:33
Message: <5fa3b211$1@news.povray.org>
Op 31/10/2020 om 11:52 schreef Ive:
> Oh, just out of curiosity, do you remember where "Ive's macros" are 
> from? At the time I wrote CIE.inc and added a few other function to 
> lightsys I did definitely prefer this xyz_2_xyz style. And I think scRGB 
> wasn't even defined at this time.
> 

Maybe from an "earlier" version of CIE? and/or Lightsys? That seems the 
most logical to me.

In the mean time I reviewed my scene code and added the latest Bald 
Eagle macros to the collection (see image and scene file attached). I 
added all the macros to the scene file. This is what it represents:

(1a) my reference color in linear color space;
(1b) my reference color in standard color space;

(2.1a) Ive's: conversion rgb->srgb of (1a);
(2.1b) idem but with Clipka's saturation/brightness boost added;
(2.2a) Ive's: conversion back srgb->rgb;
(2.2b) idem from the boosted color;
(2.2c) idem but using (1b);

(3.1a) Cousin Ricky's: conversion rgb->srgb of (1a);
(3.1b) idem but with Clipka's saturation/brightness boost added;

(4.1a) Bald Eagle's: conversion rgb->srgb of (1a);
(4.1b) idem but with Clipka's saturation/brightness boost added;
(4.2a) Bald Eagle's: conversion back srgb->rgb;
(4.2b) idem from the boosted color;
(4.2c) idem but using (1b).

These are macros applied indiscriminately. It seems immediately obvious 
that Bald Eagle's macros do not need the saturation/brightness boost, 
except probably where 4.2c is concerned.

I leave it to the experts to judge if this little exercise (which I 
enjoyed doing btw) is of any real use. ;-)

-- 
Thomas


Post a reply to this message


Attachments:
Download 'srgb_test.png' (84 KB) Download 'utf-8' (15 KB)

Preview of image 'srgb_test.png'
srgb_test.png

From: Kenneth
Subject: Re: Stock colors and assumed_gamma 1 in POV-Ray 3.6
Date: 8 Nov 2020 15:05:09
Message: <web.5fa84ee676c60ba8d98418910@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

>
> In the mean time I reviewed my scene code and added the latest Bald
> Eagle macros to the collection (see image and scene file attached). I
> added all the macros to the scene file. This is what it represents:
>

Thanks for making this all-inclusive demonstration scene, and for posting the
code. Now I need to 'digest' all of the various color-conversion methods and
pitfalls, as well as all of the message posts here.

I am still working on my own demo scene ;-)  It will be a different way of
visualizing the color conversions-- to include rgb-vs-srgb colors in lights as
well.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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