home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / sgi / 18351 < prev    next >
Encoding:
Text File  |  1992-12-28  |  1.4 KB  |  45 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!ames!nsisrv!helene.gsfc.nasa.gov!manyin
  3. From: manyin@helene.gsfc.nasa.gov (Michael Manyin)
  4. Subject: PM_ADD24 on RE
  5. Message-ID: <1992Dec28.141253@helene.gsfc.nasa.gov>
  6. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  7. Nntp-Posting-Host: helene.gsfc.nasa.gov
  8. Reply-To: manyin@helene.gsfc.nasa.gov (Michael Manyin)
  9. Organization: NASA Goddard Space Flight Center
  10. Date: Mon, 28 Dec 1992 19:12:53 GMT
  11. Lines: 32
  12.  
  13. We are porting a program from a VGX platform to a Crimson/RealityEngine,
  14. and have been finding it difficult to make full use of the 4096-entry
  15. colormap when lrectwrite'ing  8-bit images.
  16.  
  17. Specifically, we suspect that the call
  18.  
  19. pixmode( PM_ADD24, 256 );
  20.  
  21. on the RealityEngine, is the problem.
  22.  
  23.  
  24. In fact, any integer offset greater than 0 produces anomalous behavior.
  25.  
  26. The pixmode manual page claims that "Pixel addition can...
  27. be used to offset the range of a color map image",
  28. and our code  works fine on VGX and Indigo Elan machines.
  29.  
  30. Any hints or suggestions, posted or mailed, would be appreciated.
  31. Thanks!
  32.  
  33. Mike Manyin
  34.  
  35. -------
  36. cross posted to:
  37. comp.sys.sgi
  38. comp.sys.sgi.graphics
  39.  
  40. --
  41. --------------------------------------------------------------------
  42. Michael Manyin                         NASA/GSFC
  43. manyin@helene.gsfc.nasa.gov            Lab for Atmospheres, Code 912
  44. US: (301) 286-7825                     Greenbelt, Maryland  20771
  45.