POV-Ray : Newsgroups : povray.advanced-users : Isosurface threshold 0..1 : Re: Isosurface threshold 0..1 Server Time
26 Apr 2024 20:01:42 EDT (-0400)
  Re: Isosurface threshold 0..1  
From: clipka
Date: 24 Nov 2016 13:21:13
Message: <58372f99$1@news.povray.org>
Am 24.11.2016 um 19:02 schrieb Mike Horvath:
> On 11/24/2016 12:40 PM, Mike Horvath wrote:
>> This produces similar results as before, except it looks like someone
>> has been chewing on it. Compare the two images I attached.
>>
>> Also, I don't really know what I am doing, but taking the abs of each
>> component separately seems wrong. Rather, a color should be considered
>> "bad" if any of R, G or B are outside 0..1 range. Clamping R, G and B
>> should also not be done.
>>
>> (This is very frustrating for me.)
>>
>> :(
>>
>> Mike
>>
> 
> I guess I should explain this better. If I take the LCH coordinate <50,
> 50, 180> and convert it to RGB, the result is <-0.84558, 0.54573,
> 0.46120>. Since one of the components is outside the range 0..1, the
> coordinate is out of gamut. This should not be clamped to <0.00000,
> 0.54573, 0.46120>.

I'm not sure where you get the idea that my approach would do any
clamping. Maybe I misunderstood what "convertLCH2RGBb2" (which I
mentioned earlier in this context) is supposed to do; try to ignore
that, and only refer to my later explanations.


Post a reply to this message

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