hsbcolor to rgbcolor

Robert Skinner robert at texas.asd.sgi.com
Wed May 22 01:27:11 AEST 1991


In article <1991May21.025511.20124 at news.iastate.edu>, raeker at tc4.chem.iastate.edu (Todd J. Raeker) writes:
|> 
|>   I don't know if I can phrase this correctly or not but here goes.
|> 
|> What I need is a formula of some sort that will convert a given set 
|> hsb  color values to the corresponding rgb color values.  I am trying
|> to write a gl program that uses hsb color values much like the PostScript
|> language does, however, I do not want to use PostScript to draw on the 
|> screen my graphics images.  Any help would be greatly appreciated as I am
|> out of ideas of my own.  Thanks in advance.
|> 

use the routine hsb_to_rgb in libutil.a.  There is a man page.

-- 
Robert Skinner

	RS-232 refers to a "standard" in about the same way that 
"Delaware" refers to a location - you know enough to find it and get lost.



More information about the Comp.sys.sgi mailing list