POV-Ray : Newsgroups : povray.binaries.images : unexplained : Re: unexplained Server Time
6 Oct 2024 08:24:48 EDT (-0400)
  Re: unexplained  
From: clipka
Date: 6 Jan 2015 17:43:00
Message: <54ac64f4$1@news.povray.org>
Am 28.08.2014 um 19:41 schrieb James Holsenback:
> On 08/20/2014 09:40 AM, clipka wrote:
>> Am 20.08.2014 15:26, schrieb James Holsenback:
>>
>>> OTO_Get_Mask
>>> <-8.00000000000000000000,-5.00000000000000000000,0.0000000000000000
>>> 0000> Result:0.99999997764825820923
>>>
>>> Hmmm ... OK I think this shows problem the above is output from inside
>>> the OTO_Get_Mask function ... I now see why reversing the logic (and my
>>> "on a lark" test) in corner test works
>>
>> Bingo!
>>
>> Okay, you obviously have already figured a way around this problem by
>> way of modifying OTOc.inc, and I think I now have enough information to
>> go hunting for the root cause in the codebase.
>>
>> I might come back to you for testing of some code modifications, if
>> that's ok for you.
>>
>
> curious if you've had any time to follow up

Now that I've returned from outer space, I have at last; can you please 
try the following patch:

At the beginning of source/base/colour.h, around line 95, replace the 
following lines:

const float kRedIntensity   = 0.297;
const float kGreenIntensity = 0.589;
const float kBlueIntensity  = 0.114;

with this:

const PreciseColourChannel kRedIntensity   = 0.297;
const PreciseColourChannel kGreenIntensity = 0.589;
const PreciseColourChannel kBlueIntensity  = 0.114;

I /think/ it should fix the issue. The culprit would then have been 
change 0ea2da4.


Post a reply to this message

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