home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / sgi / 16688 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!usc!hacgate!turbo4.rsg.hac.com!lee
  2. From: lee@turbo4.rsg.hac.com (C. Lee)
  3. Newsgroups: comp.sys.sgi
  4. Subject: GL subwindows
  5. Keywords: GL subwindow subwindows
  6. Message-ID: <24106@hacgate.SCG.HAC.COM>
  7. Date: 20 Nov 92 03:44:43 GMT
  8. Sender: news@hacgate.SCG.HAC.COM
  9. Organization: Hughes Transportation Simulation Center; HAC; Culver City, CA
  10. Lines: 27
  11.  
  12. I was thinking of using GL subwindows.  What are their advantages and
  13. disadvantages?  (E.g., lower performance due to overhead?)
  14.  
  15. I need to write an application that divides up the entire screen into
  16. different regions and does different graphics in each region.
  17.  
  18. I could:
  19.     - write one program that internally keeps track of correct
  20.     translation before calling each region update routine (not
  21.     worried about clipping);
  22.  
  23.     - write one program that uses subwindows and change subwindow
  24.     before calling each region update routine;
  25.  
  26.     - write a separate program for each region, but that seems like
  27.     it might be wasting resources since they'll all be sharing the
  28.     same data source (either a file or shared memory), just using
  29.     different parts of it.
  30.  
  31. So, what are the advantages and disadvantages of using GL subwindows?
  32.  
  33. Is there any sample code around (besides the one page in the Graphics
  34. LIbrary Windowing and Font Library Programming Guide)?  I couldn't find
  35. any in ~4Dgifts.  Have there been any Iris Universe articles on
  36. subwindows?
  37.  
  38. Thanks for any help.
  39.