POV-Ray : Newsgroups : povray.advanced-users : Projecting sRGB gamut into xyY space : Re: Projecting sRGB gamut into xyY space Server Time
5 May 2024 02:11:24 EDT (-0400)
  Re: Projecting sRGB gamut into xyY space  
From: Mike Horvath
Date: 29 Mar 2017 19:59:07
Message: <58dc4a4b@news.povray.org>
On 3/29/2017 12:18 PM, clipka wrote:
> Am 29.03.2017 um 04:36 schrieb Mike Horvath:
>> I am once again projecting the sRGB gamut into xyY space. This time,
>> however, I am generating a mesh parametrically instead of creating an
>> isosurface.
>>
>> All goes well until R, G and B are all equal to zero, since xyY space
>> doesn't like this coordinate.
>>
>> How should I handle this case? Should I just skip it and not render a
>> triangle there? Or is there a better way to handle it?
>
> My recommendation would be to go as close to 0 as you can (e.g. 1e-6).
> If you feel like it, you can add some hard-coded triangles from there to
> (x,y,Y)=(0,0,0) to get a closed shape.
>

Plotting the triangles to (x,y,Y)=(0,0,0) or very near there is not 
going to produce nice/correct results. See the attached image. Those 
triangles would look very much out of place.


Mike


Post a reply to this message


Attachments:
Download 'cie_srgb_gamut_xyy_space_cube_mesh000.png' (37 KB)

Preview of image 'cie_srgb_gamut_xyy_space_cube_mesh000.png'
cie_srgb_gamut_xyy_space_cube_mesh000.png


 

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