POV-Ray : Newsgroups : povray.text.scene-files : Stepped function offset : Re: Stepped function offset Server Time
5 Jul 2025 15:04:12 EDT (-0400)
  Re: Stepped function offset  
From: Mike Horvath
Date: 24 Jan 2020 17:05:11
Message: <5e2b6a17$1@news.povray.org>
On 1/21/2020 5:25 PM, Bald Eagle wrote:
> Mike Horvath <mik### [at] gmailcom> wrote:
>> I have created the attached scene.
>>
>> It works well, except the pigment function needs to be offset at the
>> beginning and end of the gradients "CSolid_HSLSphere_Saturation" and
>> "CSolid_HSLSphere_Lightness". The end result is supposed to look like this:
>>
>> https://commons.wikimedia.org/wiki/File:HSLSphere.svg
>>
>> Can someone clue me in on how to do this? Thanks.
>>
>>
>> Michael
> 
> This just looks like a 12-section radial pattern.
> Make a color_map or pigment_map and start 1/2-way out of section 12, move along
> normally, and you'll wind up ending 1/2-way through section 12.
> 
> 
> 
> 

Okay, but there are also 7 saturation steps, 7 lightness steps. So 12 x 
7 x 7 sphere chunks total! That will take too much effort for the time 
being.


Mike


Post a reply to this message

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