POV-Ray : Newsgroups : povray.text.scene-files : Stepped function offset (attempt #2) : Re: Stepped function offset (attempt #2) Server Time
16 Apr 2024 18:45:04 EDT (-0400)
  Re: Stepped function offset (attempt #2)  
From: Mike Horvath
Date: 20 Jan 2020 00:40:41
Message: <5e253d59@news.povray.org>
Kind of hate newsgroups sometimes, meh.

Anyway, by offset scale I mean:

|-0-|---1--|---2--|---3--|---4--|---5--|-6-|

Notice how the beginning and end sections are 1/2 length.

Better yet I should draw a diagram explaining the above. Which I will 
start working on now.




On 1/20/2020 12:20 AM, Mike Horvath 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


Post a reply to this message

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