POV-Ray : Newsgroups : povray.general : Assumed_gamma and .gray : Re: Assumed_gamma and .gray Server Time
26 Apr 2024 06:46:48 EDT (-0400)
  Re: Assumed_gamma and .gray  
From: Thomas de Groot
Date: 20 Jan 2017 02:54:03
Message: <5881c21b@news.povray.org>
On 20-1-2017 5:35, Cousin Ricky wrote:
> I guess it's time (for those of us who use the One True assumed_gamma)
> to add this function to our personal libraries until this issue gets
> sorted out:
>
> #macro DotGray (Color)
>   #local C = color Color;
>   (0.2126 * C.red + 0.7152 * C.green + 0.0722 * C.blue) // ITU-R BT.709
> #end
>

[scribbles with pencil on a greasy scrap of wrapping paper, and tacks it 
to an overweight folder]

Done!

-- 
Thomas


Post a reply to this message

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