home *** CD-ROM | disk | FTP | other *** search
- Backing store example
-
- This is a simple example of the use of pbuffers to implement backing store.
- Single buffering is used in this example, which can be easly extended for
- double buffering. This technique has been used in a commercial CAD application.
-
- This example was developed for O2.
-
- The supplied Makefile can be used on IRIX revisions 6.2 and greater.
-
- This example draws hidden line removed cubes with an optional delay for
- each cube face. The delay is to make the difference between drawing
- and backing store recovery more visible. To run this example, simply type
- "backingstore [d]", where d is an optional integer which controls the number
- of cubes. Initially, hidden line removal is off and delay is on. "h" toggles
- hidden line removal and "d" toggles the delay. The cubes can be rotated
- with the mouse.
-