home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / graphics / 116 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.4 KB  |  38 lines

  1. Newsgroups: comp.sys.sgi.graphics
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uunet.ca!geac!alias!rjanzen
  3. From: rjanzen@alias.com (Ron Janzen)
  4. Subject: Re: can you make readdisplay() read back buffer
  5. Message-ID: <1993Jan8.211148.28054@alias.com>
  6. Sender: news@alias.com (News Owner)
  7. Organization: Alias Research, Inc., Toronto ON Canada
  8. References: <1993Jan7.170216.1065@alias.com> <1iiavsINN8p4@fangio.asd.sgi.com>
  9. Date: Fri, 8 Jan 1993 21:11:48 GMT
  10. Lines: 26
  11.  
  12. In <1iiavsINN8p4@fangio.asd.sgi.com> rck@fangio.asd.sgi.com (Robert Keller) writes:
  13. >rjanzen@alias.com (Ron Janzen) writes:
  14. >>Does anybody know of a way to read the back buffer in the same way as
  15. >>readdisplay() can read what is displayed on the screen? 
  16. >
  17. ><...good description of how readdisplay() works and why I couldn't use it>
  18. >
  19. >>It must be
  20. >>possible since snoop (a demo program supplied by SGI) can do it.
  21. >
  22. >snoop uses lrectread(3G) to just Rambo-out the pixels.
  23.  
  24. I had tried using lrectread() and readsource() but I always figured you
  25. had to do some weird junk to read outside the bounds of your window.
  26. So I messed around with fullscrn()/endfullscrn() and other distasteful
  27. routines all to no avail.
  28.  
  29. Anyways after reading this article, I changed my program to just read
  30. outside the bounds of my window and presto! it worked.
  31.  
  32. thanks for the hint,
  33. ron
  34. --
  35. Ron Janzen
  36. Alias Research Inc., Toronto
  37. rjanzen@alias.com
  38.