home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12732 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.1 KB  |  30 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!gatech!cc.gatech.edu!gvu1!yves
  3. From: yves@gvu1.gatech.edu (Yves Darly Jean)
  4. Subject: Help: new OS  -> the colormap gets confused
  5. Message-ID: <1992Aug21.181254.12710@cc.gatech.edu>
  6. Summary: Rectwrite and the colormap call act funny        
  7. Sender: news@cc.gatech.edu
  8. Organization: Georgia Institute of Technology
  9. Date: Fri, 21 Aug 1992 18:12:54 GMT
  10. Lines: 18
  11.  
  12.  
  13. I have some code that puts an image on the screen using the Rectwrite call.
  14. The Rectwrite call is preceded by a series of colormap calls to set up
  15. a grayscale in the colormap table.  This code worked on the previous OS
  16. but on the new OS (ver. 4.01) it doesn't work correctly.
  17.  
  18. The image is put on the screen but the colors are way off.  When I Showcolormap
  19.  I can't find my graycale ramp. But when I select the cinterp option
  20. of Showcolormap and open the cinterp window the grayscale entries suddenly
  21. appear both in the colormap and in my image.
  22.  
  23. Please help if you can.  Thanks in advance.
  24.  
  25. YDJ
  26. JEAN,YVES DARLY
  27. Georgia Institute of Technology, Atlanta Georgia, 30332
  28. uucp:      ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!cc!gvu1!yves
  29. Internet: yves@cc.gatech.edu
  30.