POV-Ray : Newsgroups : povray.advanced-users : L*C*h(uv) color solid : Re: L*C*h(uv) color solid Server Time
2 May 2024 00:51:50 EDT (-0400)
  Re: L*C*h(uv) color solid  
From: Le Forgeron
Date: 19 Nov 2016 02:53:34
Message: <583004fe@news.povray.org>
Le 18/11/2016 à 19:25, Le_Forgeron a écrit :
> Le 18/11/2016 à 08:22, Mike Horvath a écrit :
>> I would like to create a three-dimensional representation of the
>> L*C*h(uv) color space in the form of a cylinder.
>>
>> How would I do that?
>>
>> I may limit myself to colors that also exist in the sRGB color space.
>>
>> Mike
> 
> I would go via the fresh uv-mapping of cylinder, using a gradient map to
> other gradient map of orthogonal direction.
> 

Here illustrated with a lemon, and HSL2RGB.

The adaptation to a cylinder and L*C*h(uv) is left as an exercise for
the reader.


Post a reply to this message


Attachments:
Download 'lemon.pov.txt' (1 KB) Download 'lemon.png' (74 KB)

Preview of image 'lemon.png'
lemon.png


 

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