Le 18/05/2012 20:30, Le_Forgeron nous fit lire :
> Le 18/05/2012 19:06, clipka nous fit lire :
>> Am 18.05.2012 18:19, schrieb Le_Forgeron:
>>> The real non-slope is opposite hue. (yellow& blue... magenta& green..)
>>
>> When interpolating hues, those would become rainbow-style rather than
>> going via neutral grey.
>
> My personal approach on that: hue is a circle, choose whichever section
> is smaller for interpolation; if both are equal, just go through the center.
Here some illustration of povray rgb interpolation, hsv, hsl and using
linear cartesian interpolation of (h,s) taken as polar coordinate,
The important point in interpolation is at least that (red,red) stay red
all the way.
Post a reply to this message
Attachments:
Download 'pol9.png' (105 KB)
Download 'pol6.png' (120 KB)
Download 'pol3.png' (123 KB)
Download 'pol.png' (146 KB)
Preview of image 'pol9.png'
![pol9.png](/povray.binaries.images/attachment/%3C4fb6b993%40news.povray.org%3E/pol9.png?preview=1)
Preview of image 'pol6.png'
![pol6.png](/povray.binaries.images/attachment/%3C4fb6b993%40news.povray.org%3E/pol6.png?preview=1)
Preview of image 'pol3.png'
![pol3.png](/povray.binaries.images/attachment/%3C4fb6b993%40news.povray.org%3E/pol3.png?preview=1)
Preview of image 'pol.png'
![pol.png](/povray.binaries.images/attachment/%3C4fb6b993%40news.povray.org%3E/pol.png?preview=1)
|