POV-Ray : Newsgroups : povray.binaries.images : gradient variations : Re: gradient variations Server Time
30 Jul 2024 08:21:01 EDT (-0400)
  Re: gradient variations  
From: Le Forgeron
Date: 18 May 2012 12:19:44
Message: <4fb676a0@news.povray.org>
Le 18/05/2012 14:44, clipka nous fit lire :
> Am 17.05.2012 12:24, schrieb Le_Forgeron:
> 
>> What about... interpolating in HSV or HSL space ?
> 
> No, thanks - we certainly don't want to average hues. That would mess up
> every gradient involving some neutral grey and any other color, giving
> the transition an unexpected reddish hue (or whatever hue our algorithm
> would assign to grey).

If you have a neutral grey and another non-neutral, the right hue for
grey is the other hue.

The real non-slope is opposite hue. (yellow & blue... magenta & green..)


> 
>> any available scene source ?
> 
> Nope; the scene relies on a source code patch, which won't make it into
> 3.7.0 (it may become part of some future 3.7.1 though).

My mind with a twist: could you make the same picture, but with the
original colours rotated by about 10° to 15° in the Hue ?

Anyway, waiting for a general coded solution in 3.7.1 then ;)


Post a reply to this message

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