|
|
"nobody->" wrote:
>
> If I'm not mistaken, there is a POV macro that will convert HSL colors
> to RGB values that you can use in scenes. However, I have been having
> trouble finding it. Does anyone know where it is or of any equations I
> can use to implement my own macro?
----------
subject: Re: HSL --> RGB
Date: Sun, 11 Oct 1998 12:23:11 -0700
From: Mark Donovan <don### [at] worldnetattnet>
Newsgroups: povray.text.scene-files
References: 1
Mark writes:
I've done it. Here's a version of HSL to RGB and also a macro for HSB to
RGB. The descriptions explain the difference. These versions work
without trig or vector functions. To be complete, I've tacked on RGB to
HSL and RGB to HSB conversions.
----------
You will also find a hex2rgb macro posted in the same thread.
--
Ken Tyler - 1400+ POV-Ray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/
Post a reply to this message
|
|