POV-Ray : Newsgroups : povray.general : Assumed_gamma and .gray : Re: Assumed_gamma and .gray Server Time
8 May 2024 11:27:46 EDT (-0400)
  Re: Assumed_gamma and .gray  
From: Thomas de Groot
Date: 21 Jan 2017 02:53:12
Message: <58831368$1@news.povray.org>
On 20-1-2017 22:04, Cousin Ricky wrote:
> On 2017-01-20 03:53 AM (-4), Thomas de Groot wrote:
>> On 20-1-2017 5:35, Cousin Ricky wrote:
>>>
>>> #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!
>
> Ah, and fortunately for those of you not under Donald Trump's
> jurisdiction, this version also works:
>
> #macro DotGrey (Colour)
>   #local C = colour Colour;
>   (0.2126 * C.red + 0.7152 * C.green + 0.0722 * C.blue) // ITU-R BT.709
> #end
>

Obviously. I shall use the other one in solidarity.

-- 
Thomas


Post a reply to this message

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