Silicon Graphics

[Prev] [TOC] [Next]



(-) OpenGL Programming Guide

Appendix E
The OpenGL Programming Guide Auxiliary Library

This appendix describes the auxiliary library that was written using OpenGL for this guide. It has the following major sections:

See "How to Obtain the Sample Code" for information about how to obtain the source code for the auxiliary library.

With the auxiliary library, your application structures its event handling to use callback functions. (This method is similar to using the Xt Toolkit, also known as the X Intrinsics, with a widget set.) For example, first you open a window and register callback routines for specific events. Then you create a main loop without an exit. In that loop, if an event occurs, its registered callback functions are executed. Upon completion of the callback functions, flow of control is returned to the main loop.


(+) Initializing and Exiting a Window
(+) Handling Window and Input Events
(+) Loading the Color Map
(+) Initializing and Drawing Three-Dimensional Objects
(+) Managing a Background Process
(+) Running the Program

[Prev] [TOC] [Next]

OpenGL Programming Guide


Maintained by Maintainer: Send e-mail to .htm">name@address.