home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 17894 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.1 KB

  1. Path: sparky!uunet!gatech!news.ans.net!cmcl2!adm!news
  2. From: wiltzius@s1.gov (Dave Wiltzius)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Colormaps and Reality Engine incompatibilities
  5. Message-ID: <34577@adm.brl.mil>
  6. Date: 12 Dec 92 11:06:28 GMT
  7. Sender: news@adm.brl.mil
  8. Lines: 18
  9.  
  10.  
  11. We have recently received a Reality Engine.  However, I have seen
  12. an incompatibility with other SGI machines regarding colormaps.  For
  13. example, I have a very short program using *only* X that allocates
  14. (XAllocColorCells) colors, then sets colors (XStoreColor then XSync).
  15.  
  16. In one case I allocate only 2 colors.  The XAllocColorCells succeeds
  17. but the XStoreColor fails (BadAccess).  In another case I allocate
  18. 32 colors, then allocate 256 more and set the 256 colors that I allocated
  19. last.  No errors, but no color changes either (using the colormap tool).
  20.  
  21. In all cases the default display and colormap (DefaultColormap) were
  22. referenced (to avoid flashing between applications).
  23.  
  24. Any suggestions or ideas?  Please respond by email.  Thanks much.
  25.   Dave Wiltzius
  26.   Lawrence Livermore Nat'l Lab
  27.   wiltzius@llnl.gov
  28.