home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!gatech!cc.gatech.edu!gvu1!yves
- From: yves@gvu1.gatech.edu (Yves Darly Jean)
- Subject: Help: new OS -> the colormap gets confused
- Message-ID: <1992Aug21.181254.12710@cc.gatech.edu>
- Summary: Rectwrite and the colormap call act funny
- Sender: news@cc.gatech.edu
- Organization: Georgia Institute of Technology
- Date: Fri, 21 Aug 1992 18:12:54 GMT
- Lines: 18
-
-
- I have some code that puts an image on the screen using the Rectwrite call.
- The Rectwrite call is preceded by a series of colormap calls to set up
- a grayscale in the colormap table. This code worked on the previous OS
- but on the new OS (ver. 4.01) it doesn't work correctly.
-
- The image is put on the screen but the colors are way off. When I Showcolormap
- I can't find my graycale ramp. But when I select the cinterp option
- of Showcolormap and open the cinterp window the grayscale entries suddenly
- appear both in the colormap and in my image.
-
- Please help if you can. Thanks in advance.
-
- YDJ
- JEAN,YVES DARLY
- Georgia Institute of Technology, Atlanta Georgia, 30332
- uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!cc!gvu1!yves
- Internet: yves@cc.gatech.edu
-