icut and RGB mode
Brent Bates ViGYAN AAD/TAB
blbates at AERO36.LARC.NASA.GOV
Fri Mar 1 01:58:20 AEST 1991
When using icut (scrsave) it doesn't matter what mode the windows you
are saving are in. Scrsave uses gl_readscreen, currently an undocumented
routine, which returns rgb values no matter what mode you're in.
There is a known problem with gl_readscreen, if you try to save a full
screen width, 1280 pixels, the information returned by gl_readscreen is
garbaged. The temporary fix for this is save images less than 1280 pixels
wide. Hopefully, gl_readscreen will be fixed in the next release and
become a "supported" and documented routine.
Brent L. Bates
NASA-Langley Research Center
M.S. 361
Hampton, Virginia 23665-5225
(804) 864-2854
E-mail: blbates at aero36.larc.nasa.gov or blbates at aero8.larc.nasa.gov
More information about the Comp.sys.sgi
mailing list