Chapter 15OpenGL on Linux

by Nicholas Haemel

What You’ll Learn in this Chapter:

image

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.

In this chapter we look 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 ...

Get OpenGL SuperBible: Comprehensive Tutorial and Reference, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.