What are the differences between glu, glew, glut, qt, sdl, openGL and webGL?

So, I understand that there are different posts that span a couple of them, but it's hard for me to understand how they all fit together.

Explain what is used for each of them and how they relate to each other:
glu
glew
overwork
sdl
qt
openGL
webGL

+86
qt sdl opengl glut glu
Nov 01 '13 at 0:40
source share
1 answer

Opengl

OpenGL (Open Graphics Library) is a cross-platform API for rendering 2D and 3D graphics. The API is basically trying to focus on using the GPU to achieve hardware-accelerated rendering.

Opengl-es

OpenGL-ES (OpenGL for Embedded Systems) is a subset of OpenGL designed for use in embedded systems such as smartphones, tablets, game consoles, etc.

Webgl

WebGL (Web Graphics Library) is a JavaScript API for rendering 2D and 3D graphics. WebGL also uses the GPU as much as possible through the browser.

WebGL is based on OpenGL-ES . Keep in mind that they may have the same features, although WebGL is not OpenGL or OpenGL-ES. WebGL is based only on OpenGL-ES.

GLU

GLU (OpenGL Utility Library) is a graphical library for OpenGL, consisting of utility functions that can be used with OpenGL. Functions are mainly focused on primitive rendering and display between screen and world coordinates, etc.

Glew

GLEW (OpenGL Extension Wrangler Library) is a cross-platform library that helps in requesting and downloading OpenGL extensions.

GLUT

GLUT (OpenGL Utility Toolkit) is a library of utilities for OpenGL that mainly focuses on window definition, window management, and keyboard and mouse input monitoring.

Sdl

SDL (Simple DirectMedia Layer) is a cross-platform development library designed to provide low levels of access to audio, keyboard, mouse, joystick and graphic equipment via OpenGL.

SDL can also be used for other graphical APIs such as DirectX, etc.

QT

QT is a cross-platform application development platform widely used for developing graphic programs (in this case, it is known as a widget toolkit) and is also used for developing non-GUI programs such as console tools and servers.

Conclusion

  • OpenGL is an API for rendering 2D and 3D graphics.
  • OpenGL-ES is a subset of the built-in OpenGL targeting systems.
  • WebGL is a JavaScript API for rendering 2D and 3D graphics based on OpenGL-ES.

  • GLU is a utility library for OpenGL that mainly contains display functions.

  • GLEW is a utility library for OpenGL that can handle loading OpenGL extensions.
  • GLUT and SDL is a library for handling various things, such as managing windows, keyboard and mouse, as well as listening.
  • QT is the basis for creating a graphical interface.

So GLU, GLEW, GLUT are just OpenGL utilities that require OpenGL if they are not very good.

SDL does not require OpenGL and is not directly the main OpenGL library, but can be used with OpenGL, but also with other things.

+138
Nov 01 '13 at 1:12
source share



All Articles