## Introduction to OpenGL

# What is OpenGL?

OpenGL is an application programming interface (API) that allows us to draw 2D and 3D graphics.

In this article we look at the development of OpenGL and introduce the graphics pipeline.

OpenGL is an application programming interface (API) that allows us to draw 2D and 3D graphics.

In this article we look at the development of OpenGL and introduce the graphics pipeline.

We can easily write complex graphics routines which involve many changes to OpenGL states, off-screen buffers and complex shaders. One of the biggest problems with programming OpenGL is that if we get something wrong we can get weird results or just a blank screen. In this article we'll look at some approaches to debugging OpenGL code and GLSL shaders.

Geometry is a large and exciting topic. In this article we're going to look at some of the basic geometric constructs we commonly use in computer graphics, with an emphasis on those for real-time graphics and games. We'll look at points, lines, 2D and 3D shapes, as well as classifying transformations.