OpenGL Overlay Example

Qt 3.0.5

Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

OpenGL Overlay Example

This example demonstrates how to use OpenGL overlays with the Qt OpenGL Extension. It features a QGLWidget with a relatively expensive redrawing operation, and rubber-band drawing in the overlay plane. Using the overlay has the advantage that the rubber-band may be drawn and erased without damaging the image in the main plane, so costly redraws are avoided.

See $QTDIR/examples/opengl/overlay for the source code.

See also OpenGL Examples.


Copyright © 2002 TrolltechTrademarks
Qt version 3.0.5