POV-Ray : Newsgroups : povray.text.scene-files : Stepped function offset (attempt #2) : Stepped function offset (attempt #2) Server Time
19 Apr 2024 12:46:40 EDT (-0400)
  Stepped function offset (attempt #2)  
From: Mike Horvath
Date: 20 Jan 2020 00:20:22
Message: <5e253896$1@news.povray.org>
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


Attachments:
Download 'csolid_hsl_sphere_show_test.pov.txt' (7 KB) Download 'shapegrid_macro.inc.txt' (48 KB)

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