home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 17850 < prev    next >
Encoding:
Text File  |  1992-12-11  |  1.1 KB  |  30 lines

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