home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!usc!hacgate!turbo4.rsg.hac.com!lee
- From: lee@turbo4.rsg.hac.com (C. Lee)
- Newsgroups: comp.sys.sgi
- Subject: GL subwindows
- Keywords: GL subwindow subwindows
- Message-ID: <24106@hacgate.SCG.HAC.COM>
- Date: 20 Nov 92 03:44:43 GMT
- Sender: news@hacgate.SCG.HAC.COM
- Organization: Hughes Transportation Simulation Center; HAC; Culver City, CA
- Lines: 27
-
- I was thinking of using GL subwindows. What are their advantages and
- disadvantages? (E.g., lower performance due to overhead?)
-
- I need to write an application that divides up the entire screen into
- different regions and does different graphics in each region.
-
- I could:
- - write one program that internally keeps track of correct
- translation before calling each region update routine (not
- worried about clipping);
-
- - write one program that uses subwindows and change subwindow
- before calling each region update routine;
-
- - write a separate program for each region, but that seems like
- it might be wasting resources since they'll all be sharing the
- same data source (either a file or shared memory), just using
- different parts of it.
-
- So, what are the advantages and disadvantages of using GL subwindows?
-
- Is there any sample code around (besides the one page in the Graphics
- LIbrary Windowing and Font Library Programming Guide)? I couldn't find
- any in ~4Dgifts. Have there been any Iris Universe articles on
- subwindows?
-
- Thanks for any help.
-