home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sgi / 11139 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.3 KB

  1. Path: sparky!uunet!utcsri!dgp.toronto.edu!clr
  2. Newsgroups: comp.sys.sgi
  3. From: clr@dgp.toronto.edu (Stephen Bohus)
  4. Subject: GL question: writing to user-defined frame buffers
  5. Message-ID: <1992Jul21.201836.7395@jarvis.csri.toronto.edu>
  6. Organization: CSRI, University of Toronto
  7. Date: 22 Jul 92 00:18:37 GMT
  8. Lines: 22
  9.  
  10.     In article 23321 Jonathan Lim lim@cs.umass.edu writes:
  11.  
  12. > Is it possible to define some array in which all graphics output will be sent?
  13. > As it stands now, I have to open a window, call some routines to draw into a
  14. > buffer, then read from the buffer using lrectread. What I'd like to do is to
  15. > have GL draw into some array without ever opening a window. (This would be
  16. > analogous to X's capability of writing into a drawable, e.g. pixmap.) Any help
  17. > would be appreciated.
  18.  
  19.     No, this can't be done (as far as I know).  The graphics pipeline is
  20. hardwired to the screen.  I don't know if this will change under OpenGL or
  21. on new hardware architectures.
  22.     The only way you can send graphics output to an array (like the ones used
  23. in lrectread and lrectwrite) is to write your own graphics routine.  I have
  24. written a few routines to do two dimensional drawing in arrays (for polygons,
  25. circles, fills).
  26.  
  27.     Stephen Bohus (clr@dgp.toronto.edu)
  28.  
  29. ~~~~~~~~~~
  30. APWAIWGATI
  31.         "Anything's possible WHEN and IF we get around to it."
  32.