O'Reilly logo

OpenGL® SuperBible: Comprehensive Tutorial and Reference, Sixth Edition by Richard S Wright, Graham Sellers, Nicholas Haemel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

OpenGL on Linux

One great thing about OpenGL is that it’s supported on so many different platforms. We looked at how to use OpenGL on Windows and on Macs. Now let’s dig into 3D rendering on one of the most popular open source platforms — Linux.

This section looks at how Linux supports OpenGL, how to pick a specific version of OpenGL, what interfaces are available for developers, and how to set up an application. We also touch on GLUT, context management, and how to allocate, render to, and deal with windows on X Windows.

The Basics

OpenGL has been the go-to API for 3D rendering on various versions of Linux, UNIX, and similar platforms for nearly as long as 3D rendering has been possible. Linux offers several ways to access OpenGL. Most major ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required