POV-Ray : Newsgroups : povray.general : Assumed_gamma and .gray : Re: Assumed_gamma and .gray Server Time
19 Apr 2024 18:41:35 EDT (-0400)
  Re: Assumed_gamma and .gray  
From: Bald Eagle
Date: 19 Jan 2017 07:50:00
Message: <web.5880b4f930ab893ac437ac910@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

[Lots of very interesting technical stuff as usual]

What appears superficially simple and straightforward almost always winds up
being vastly more complex than most people ever think is possible, once someone
dares to open the hood and pick underneath at the actual inner workings of a
thing.

> Since this formula is embedded deep in the bowels of POV-Ray's colour
> math, I hadn't found the guts to update it along with the other gamma
> stuff back when 3.7.0 came up, as it would have been difficult to
> maintain backward compatibility.

Ah... that backwards-facing stance has always been a trammel on humanity.

Just out of curiosity, isn't this the sort of thing the #version statement is
supposed to handle?
I (probably naively and ignorantly) thought it was supposed to do something
like:
#if (that version)
     Do_It (that way)
#else
     Do_It (this way)
#end

(I understand that such a manner of handling things might be extraordinarily
difficult to get to 'reach' that deeply into the structure of the code.)


Post a reply to this message

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