Next: 1 Introduction

OpenGL and X, Part 2:
Using OpenGL with Xlib

Mark J. Kilgard
Silicon Graphics Inc.

Abstract:

This is the second article in a three-part series about using the OpenGL graphics system and the X Window System. A moderately complex OpenGL program for X is presented. Depth buffering, back-face culling, lighting, display list modeling, polygon tessellation, double buffering, and shading are all demonstrated. The program adheres to proper X conventions for colormap sharing, window manager communication, command line argument processing, and event processing. After the example, advanced X and OpenGL issues are discussed including minimizing colormap flashing, handling overlays, using fonts, and performing animation. The last article in this series discusses integrating OpenGL with the Motif toolkit.



mjk@asd.sgi.com
Wed Oct 19 18:11:46 PDT 1994