Log in Sign up
Back to Discover
💻

OpenGL

technology Maturity 5-7 war conflict
This article covers sensitive topics: war_conflict. Parents can manage visibility in Parental Controls.

Computers use special tools to draw.

Pipeline OpenGL.svg
Pipeline OpenGL.svg
These tools help make pictures. They make games look real. They help show 3D shapes on a screen. This helps you see cool things. Do you like computer games?

37 words

Computers use special tools to draw.

Pipeline OpenGL.svg
Pipeline OpenGL.svg
These tools help make pictures. They make games look real. They help show 3D shapes on a screen.
Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png
One tool is called OpenGL. It tells the computer how to draw. It works on many different machines. It can help make flight games. It can also help with science pictures. It helps the computer work fast. This makes the pictures look great.

73 words

OpenGL is a special tool for computers. It helps them draw 2D and 3D pictures.

Pipeline OpenGL.svg
Pipeline OpenGL.svg
This tool is called an API. An API is a set of rules that lets programs talk to hardware.

OpenGL works with a GPU. A GPU is a graphics processing unit. It is a part of the computer that makes pictures very fast.

Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png
This tool is used for many things. It helps make video games and flight simulations. It also helps with science pictures and virtual reality.

Silicon Graphics, Inc. started making OpenGL in 1991. They released it in 1992. Since 2006, a group called the Khronos Group has managed it. This group includes many big tech companies. They work together to add new features.

OpenGL works on many different types of computers. It can also work with many different coding languages. This makes it very useful for developers. Even though there are newer tools like Vulkan, many people still use OpenGL today. It stays useful because it works on so many machines.

174 words

OpenGL is a special tool used to draw 2D and 3D graphics on a computer screen. It is called an API, which stands for application programming interface. You can think of an API as a set of rules that lets different programs talk to each other. OpenGL specifically helps software talk to a graphics processing unit, or GPU. The GPU is a piece of hardware that is very good at making pictures quickly.

Pipeline OpenGL.svg
Pipeline OpenGL.svg
Because it is so fast, OpenGL is used for many exciting things. It helps create video games, flight simulations, and virtual reality worlds. It is also used for scientific visualization and computer-aided design.

This tool works through a step-by-step way of moving data. It uses a set of functions and named constants to tell the hardware what to do. For example, it might use a code like GL_TEXTURE_2D to describe a surface. Most of the time, the GPU does the heavy lifting to make the rendering fast. However, it is also possible for a computer to do this work using only its main processor, called a CPU.

Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png
This process allows computers to show complex shapes and colors on a screen. The API focuses only on drawing the graphics. It does not handle things like sound, mouse clicks, or windows.

Before OpenGL, making graphics software was a very hard job for developers. In the 1980s, programmers had to write different code for every single piece of hardware. This took a lot of time and money. A company called Silicon Graphics, Inc., or SGI, wanted to fix this. They began developing OpenGL in 1991. They released it to the public on June 30, 1992.

Pipeline OpenGL.svg
Pipeline OpenGL.svg
SGI turned their own special system into a public standard that anyone could use. This helped many different types of computers speak the same language.

Many different groups have helped manage OpenGL over the years. In 1992, SGI helped start the OpenGL Architecture Review Board. This group helped decide how the tool would grow. Later, in July 2006, the Khronos Group took over managing the standard. This is a non-profit group made of many technology companies. They work together to add new features to the system.

Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png
While newer tools like Vulkan were released in 2016, OpenGL is still very important. The latest version, called 4.6, was released in 2017.

OpenGL is very flexible because it works across many platforms and languages. It can work on different operating systems and with different coding languages. For instance, WebGL is a version that lets you see 3D graphics inside a web browser. There are also versions for Android and iOS devices. Even though it is an older tool, it stays useful today. It can run on many different machines using special layers. This helps it stay a standard in the world of computer graphics.

478 words

OpenGL, or the Open Graphics Library, is a cross-language and cross-platform application programming interface (API). An API acts as a bridge that allows different software programs to communicate. In this case, OpenGL allows programs to send instructions to a graphics processing unit (GPU). The GPU is specialized hardware designed for hardware-accelerated rendering. This means the hardware does the heavy work of drawing pictures very quickly. OpenGL is essential for rendering 2D and 3D vector graphics. It powers many modern technologies, including video games, virtual reality, and flight simulations. It is also used in scientific visualization and computer-aided design (CAD).

Pipeline OpenGL.svg
Pipeline OpenGL.svg

The mechanism of OpenGL relies on a specific set of functions and named integer constants. A programmer calls these functions to tell the computer what to draw. For example, the constant GL_TEXTURE_2D is used to describe a surface, which corresponds to the decimal number 3553. While these functions look similar to the C programming language, the API is actually language-independent. This means it can be used with many different coding languages. Most of the time, the API uses the GPU to handle the rendering process. However, it is also possible to implement OpenGL using only a central processing unit (CPU). This is known as software rendering.

Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png

OpenGL is highly flexible because it supports many different environments through language bindings. A binding is a way to connect the API to a specific programming language. One famous example is WebGL, which is a JavaScript binding used for 3D rendering inside web browsers. WebGL is actually based on OpenGL ES 2.0. There are also C bindings like WGL, GLX, and CGL. Mobile devices use different versions, such as the C binding for iOS and the Java and C bindings for Android. It is important to note that OpenGL only handles rendering. It does not manage input from a mouse, audio, or the creation of windows. Developers use other libraries, like GLFW or SDL, to handle those tasks.

Before OpenGL, creating graphics software was an expensive and difficult process. In the 1980s, developers had to write custom drivers for every different piece of hardware. This required a massive amount of repetitive effort. Silicon Graphics, Inc. (SGI) changed this by developing OpenGL in 1991. They released it on June 30, 1992. SGI previously had a system called IRIS GL, which was an industry standard for workstations. To create a public standard, SGI opened a version of IRIS GL to become OpenGL. This allowed applications to use advanced graphics even on low-powered systems by using software implementations for unsupported hardware features.

Pipeline OpenGL.svg
Pipeline OpenGL.svg

The history of OpenGL includes many attempts to unify graphics standards. In 1992, SGI helped form the OpenGL Architecture Review Board (ARB) to manage the specification. In 1996, Microsoft released Direct3D, which became a major competitor. This led to the Fahrenheit project in 1997, a joint effort between Microsoft and SGI to unify their interfaces. However, the project was abandoned in 1999 due to financial constraints and a lack of industry support. In July 2006, the management of OpenGL transferred from the ARB to the Khronos Group. This is a non-profit technology consortium that includes many different companies.

Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png

Development of OpenGL has changed significantly over the years. Between 2001 and 2014, the specification was updated almost every year. For example, in 2009, versions 3.1 and 3.2 were released. In 2010, three new versions arrived: 3.3, 4.0, and 4.1. The latest version, OpenGL 4.6, was released in 2017 after a three-year break. This version included eleven existing extensions into the core profile. Today, active development for OpenGL has largely stopped. The Khronos Group has moved its focus to a newer API called Vulkan, which was released in 2016. Because of this shift, some modern GPU features like ray tracing are not supported by the standard OpenGL specification.

Despite the rise of newer tools, OpenGL remains a vital part of computer science. It stays relevant because it is cross-platform and works on many different systems. Even though it is an older standard, it can still run efficiently on modern hardware. This is possible through compatibility layers like ANGLE and Zink. These layers allow OpenGL to run on top of newer APIs like Vulkan or Metal. Furthermore, hardware vendors can add new features through extensions. These extensions are added to the OpenGL Registry and allow for custom functionality. This flexibility ensures that OpenGL continues to be used in many professional and creative fields today.

747 words
🖼️ Images & Media (2)
File:Pipeline OpenGL.svg
Pipeline OpenGL.svg
File:Glxinfo with glxgears screenshot.png
Glxinfo with glxgears screenshot.png
Up Next
💻
Vulkan
Technology
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.