POV-Ray : Newsgroups : povray.binaries.images : Andrews Edible Sliders (320x240 png ~100k) : Re: Andrews Edible Sliders (320x240 png ~100k) Server Time
6 Aug 2024 23:22:28 EDT (-0400)
  Re: Andrews Edible Sliders (320x240 png ~100k)  
From: Gail Shaw
Date: 22 Aug 2006 00:36:04
Message: <44ea89b4@news.povray.org>
"Orchid XP v3" <voi### [at] devnull> wrote in message
news:44ea1dc9$1@news.povray.org...

> I suspected as much.
>
> I wrote a generator somewhere which is guaranteed to provide maximum
> saturation colours... but it's not what you'd call "short".

Wouldn't this work?

CHSL2RGB(rgb <rand(rnd)*360,1,0.5>)
where CHSL2RGB is the function in colors.inc that converts a colour from
Hue, Saturation, Lightness colour space into rgb


Post a reply to this message

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