|
![](/i/fill.gif) |
RGB (red, green, blue) is all there is to a color in computer context. Many
programs offer alternative ways to specify colors such as HSL (hue,
saturation, lightness), but that's not additional data, it's just the same
data shown with some different numbers. RGB is the direct way.
Many of the controls in the finish block are just some kind of multipliers
for the pigment color. A sphere with pigment {rgb 1.0} and finish {ambient
0.1 diffuse 0.6} is identical to a sphere with pigment {rgb 0.5} and finish
{ambient 0.2 diffuse 1.2}.
If you prefer to specify colors as HSL instead of RGB you should have a look
at colors.inc in the POV-Ray 3.5 distribution. It contain color conversion
macros to convert between those (and another one I don't remember right
now).
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated Jan 20)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |