POV-Ray : Newsgroups : povray.text.scene-files : Stepped function offset : Re: Stepped function offset Server Time
20 Apr 2024 09:40:37 EDT (-0400)
  Re: Stepped function offset  
From: Bald Eagle
Date: 21 Jan 2020 17:30:01
Message: <web.5e277a7338985c724eec112d0@news.povray.org>
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.


Post a reply to this message

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