Difference between revisions of "Related toolkits and APIs"

From OpenGL.org
Jump to: navigation, search
(Cross-platform Toolkits)
m (Toolkits that are Layered on top of OpenGL)
(42 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== Toolkits top on OpenGL ==
+
== Beginner frameworks ==
  
Many programming interfaces are layered on OpenGL with rich and varied functionality. Not all can interoperate.
+
One-shot downloads that contain multiple tools, so as to make it easier for the user to get started with OpenGL.
  
=== Extension libraries ===
+
; [http://glsdk.sourceforge.net/ Unofficial OpenGL SDK]: A collection of several cross-platform libraries, using a common build system to simplify OpenGL development. It distributes several easy-to-use libraries for GL initialization. It also has a library for OpenGL loading, image loading, and more.
{{main|Extension Loading Library}}
+
; [http://www.graphics-and-physics-framework.spieleprogrammierung.net/  Graphics And Physics Framework]: German OpenGL based graphics And physics framework.
  
A extension libraries simplifies the work with OpenGL extensions. They are also used to get the function pointers for standard OpenGL functions.
+
== OpenGL initialization ==
  
; [http://glew.sourceforge.net/ GLEW] : A extension library for Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
+
Creating an OpenGL context usually requires writing platform-specific code to create a window. It also requires loading OpenGL functions manually from that context. These tools simplify these tasks greatly, in most cases providing cross-platform solutions.
; [http://elf-stone.com/glee.php GLee] : A extension library for Windows, Linux and FreeBSD.
+
; [https://github.com/skaslev/gl3w gl3w] : An OpenGL3/4 Core context loading library for Windows, Linux and FreeBSD.
+
  
=== Scene graphs ===
+
=== Context/Window Toolkits ===
  
A [http://en.wikipedia.org/wiki/Scene_graph scene graph] works on the top of OpenGL.
+
The creation of a window to render stuff in is not covered in the OpenGL specification. This is handled by platform-specific APIs. These APIs have been abstracted in many toolkits.
 +
{| class="wikitable"
 +
|- valign="top"
 +
| style="width: 33%;" |
 +
These toolkits are designed specifically around creating and managing OpenGL windows. They also manage input, but little beyond that.
  
; [http://www.openscenegraph.org/ Open Scene Graph] : This scene graph works on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris and FreeBSD.
+
; [http://freeglut.sourceforge.net/ freeGLUT]
; [http://www.opensg.org/ OpenSG] : It's a scene graph which works on IRIX, Windows and Linux.
+
: A crossplatform windowing and keyboard/mouse handler. Its API is a superset of the GLUT API, and it is more stable and up to date than GLUT. It supports creating a core OpenGL context.
; [http://www.gizmosdk.com/ Gizmo3D] :This scene graph works on all Windows platforms, OSX, GNU/Linux, and IRIX.
+
; [http://www.glfw.org/ GLFW]
 +
: A crossplatform windowing and keyboard/mouse/joystick handler. Is more aimed for creating games. Supports Windows, Mac OS X and *nix systems. Supports creating a core OpenGL context.
 +
; [http://en.wikipedia.org/wiki/OpenGL_Utility_Toolkit GLUT]
 +
: Very old, '''do not use'''.
 +
| style="width: 33%;" |
 +
Several "multimedia libraries" can create OpenGL windows, in addition to input, sound and other tasks useful for game-like applications.
  
===Game engines/toolkits===
+
; [http://alleg.sourceforge.net/ Allegro version 5]
 +
: A cross-platform multimedia library with a C API focused on game development. Supports core OpenGL context creation.
 +
; [http://www.libsdl.org/index.php SDL]
 +
: A cross-platform multimedia library with a C API. Version 1.2 does not support core OpenGL context creation, but version 2.0 will.
 +
; [http://www.sfml-dev.org SFML]
 +
: A cross-platform multimedia library with a C++ API. Supports creating a core OpenGL context.
 +
| style="width: 33%;" |
 +
Many [http://en.wikipedia.org/wiki/Widget_toolkit widget toolkits] have the ability to create OpenGL windows, but their primary focus is on being widget toolkits.
  
; [http://panda3d.org/ Panda3D] : A C++ 3D game engine with Python bindings.
+
; [http://www.fltk.org/ FLTK]
; [http://www.delta3d.org/ Delta3D] : Game engine based on Open Scene Graph and ODE.
+
: A small C-based widget library.
; [http://clanlib.org/ ClanLib] : A cross platform C++ toolkit library  with a BSD style license. Essentially the library offers a series of  different functionality under a streamlined API. Its primary focus is on games, although not limited for that usage only.
+
; [http://qt.nokia.com/products/qt/index.html Qt]
 +
: A C++ toolkit which abstracts the Linux, MacOS X and Windows away. It provides a number of OpenGL helper objects, which even abstract away the difference between desktop GL and OpenGL ES.
 +
; [http://www.wxwidgets.org/ wxWidgets]
 +
: A C++ cross-platform widget toolkit.
 +
|}
  
== Toolkits to bridge OpenGL and the Window System ==
+
=== OpenGL loading libraries ===
 +
{{main|OpenGL Loading Library}}
  
OpenGL knows nothing about the surrounding window system. You need [http://en.wikipedia.org/wiki/Widget_toolkit widget toolkit] to bridge OpenGL and the window system. The widget toolkit abstract the interface for connecting the windows system and OpenGL like [[WGL]], [[GLX]] and [[AGL]] away. There are many toolkits for that task. Most modern widget libraries provide this support.
+
OpenGL loading libraries handle the loading of OpenGL functions.
  
=== Cross-platform Toolkits ===
+
; [http://glew.sourceforge.net/ GLEW]
 +
: An OpenGL loading library for Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
 +
; [https://github.com/shakesoda/gl3w gl3w]
 +
: An OpenGL loading library, focusing on OpenGL3/4 Core context loading for Windows, Linux and FreeBSD.
 +
; [https://bitbucket.org/alfonse/glloadgen/wiki/Home OpenGL Loader Generator]
 +
: A tool for generating OpenGL loaders that include the exact version/extensions you want, and ''only'' them.
  
* [http://www.equalizergraphics.com/ Equalizer]: A crossplatform framework for the development and deployment of parallel OpenGL applications for large scale graphics clusters and multi-GPU workstations.
+
== Utilities ==
* [http://www.fltk.org/ FLTK] : A small widget library.
+
 
* [http://freeglut.sourceforge.net/ freeGLUT] : A crossplatform windowing and keyboard/mouse handler. More up to date than GLUT.
+
There are many utilities that, while they don't rely on OpenGL very much, are useful in making OpenGL applications.
* [http://www.glfw.org/ GLFW] : A crossplatform windowing and keyboard/mouse handler. Contrary to GLUT, this is more aimed for creating games. Windows, Mac OS X and Unix-like systems such as Linux and FreeBSD.
+
* [http://en.wikipedia.org/wiki/GLUT GLUT] : A crossplatform windowing and keyboard/mouse handler. Very old, consider using the compatible freeGLUT instead.
+
** [http://www.xmission.com/~nate/glut.html GLUT binary and source for Win32] : Nate Robins, precompiled and source for Win32
+
* [http://www.trolltech.com/products/qt/index.html Qt] : A toolkit which abstracts the Linux, MacOS X and Windows away.
+
* [http://www.libsdl.org/opengl/index.php SDL] : A crossplatform windowing and keyboard/mouse handler. Better than GLUT because it is up to date. SDL supports Linux, Windows, Windows CE, BeOS, MacOS, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported.
+
* [http://www.sfml-dev.org SFML] : A cross-platform multimedia C++ API that provides you low and high level access to graphics, input, audio, etc. Free, still updated and written in C++.
+
  
 
=== Image and Texture Libraries ===
 
=== Image and Texture Libraries ===
Line 52: Line 70:
 
=== Math Libraries ===
 
=== Math Libraries ===
 
* [http://glm.g-truc.net GLM]: GLM ( OpenGL Mathematics ) is a cross-platform C++ mathematics library designed to match the GLSL math functions. It also provides vectors and matrices classes and functions to replace the deprecated OpenGL functions and many more features from half-precision floating point or quaternions. It is licensed under the MIT license.
 
* [http://glm.g-truc.net GLM]: GLM ( OpenGL Mathematics ) is a cross-platform C++ mathematics library designed to match the GLSL math functions. It also provides vectors and matrices classes and functions to replace the deprecated OpenGL functions and many more features from half-precision floating point or quaternions. It is licensed under the MIT license.
 +
* [http://tvmet.sourceforge.net/ TVMet]: The '''T'''iny '''V'''ector '''M'''atrix library using '''E'''xpression '''T'''emplates. This math library is focused on performance via the use of expression template metaprogramming techniques and lazy evaluation. It is licensed under a modified from of the GNU LGPL license. The license modification specifically allows static linking without having the entire program be subject to LGPL. The library has not been updated since 2007.
 +
 +
=== 3D File Libraries ===
 +
* [http://assimp.sourceforge.net/ Open Asset Import]: The Open Asset Import Library can read a variety of 3D file formats such as COLLADA (often .dae), Blender3D native files (.blend), 3DS (.3ds), Wavefront Obj (.obj), and many more.
 +
* [http://code.google.com/p/lib3ds/ lib3ds]: The lib3ds library is for reading 3ds files.
 +
 +
== Toolkits that are Layered on top of OpenGL ==
 +
 +
Many programming interfaces are layered on top of OpenGL, providing rich and varied functionality. Not all can interoperate.
 +
 +
{| class="wikitable"
 +
! width="33%" | [http://en.wikipedia.org/wiki/Scene_graph Scene Graphs]
 +
! width="33%" | Graphics Engines
 +
! width="33%" | Game Engines/Toolkits
 +
|- valign="top"
 +
|
 +
; [http://www.gizmosdk.com/ Gizmo3D]: This scene graph works on all Windows platforms, OSX, GNU/Linux, and IRIX.
 +
; [http://www.openscenegraph.org/ Open Scene Graph]: This scene graph works on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris and FreeBSD.
 +
; [http://www.opensg.org/ OpenSG]: It's a scene graph which works on IRIX, Windows and Linux.
 +
; [http://www.openinventor.com/ Open Inventor - by VSG]: Object-oriented scene graph API. Commercial implementation. Supports Windows, Linux, OSX.
 +
|
 +
; [http://www.crystalspace3d.org/main/Main_Page Crystal Space]
 +
; [http://irrlicht.sourceforge.net/ Irrlicht]
 +
; [http://www.ogre3d.org/ Ogre3D]
 +
|
 +
; [http://clanlib.org/ ClanLib]: A cross platform C++ toolkit library  with a BSD style license. Essentially the library offers a series of different functionality under a streamlined API.
 +
; [http://www.delta3d.org/ Delta3D]: Game engine based on Open Scene Graph and ODE.
 +
; [http://panda3d.org/ Panda3D]: A C++ 3D game engine with Python bindings.
 +
|}
 +
 +
==Other==
 +
 +
; [http://www.equalizergraphics.com/ Equalizer]: A  crossplatform framework for the development and deployment of parallel  OpenGL applications for large scale graphics clusters and multi-GPU  workstations.
 +
; [http://www.pixellight.org/site/ PixelLight]: An open-source cross-platform framework using OpenGL.
 +
; [http://oglplus.org/ OGLplus]: An open-source header-only library which implements a thin object-oriented facade over the OpenGL (version 3 and higher) C-language API. It provides wrappers which automate resource management and make the use of OpenGL in C++ safer and easier.
  
 
=== Sound or Audio Libraries ===
 
=== Sound or Audio Libraries ===
 
; [http://openal.org/ OpenAL] : OpenAL stands for Open Audio Library. It is maintained by people at Creative and nVidia and users. Multi OS support (Win, Linux, Mac OSX). The library has a OpenGL like syntax so it is easy to use. Closed source and open source portions. Access to special SoundBlaster features through extensions.
 
; [http://openal.org/ OpenAL] : OpenAL stands for Open Audio Library. It is maintained by people at Creative and nVidia and users. Multi OS support (Win, Linux, Mac OSX). The library has a OpenGL like syntax so it is easy to use. Closed source and open source portions. Access to special SoundBlaster features through extensions.
 +
; [http://kcat.strangesoft.net/openal.html  OpenAL Soft]: OpenAL Software Renderer.
 +
; [http://www.audio-framework.spieleprogrammierung.net/  OpenAL Audio Framework]: OpenAL based Audio Framework.
  
 
[[Category:Related Toolkits & APIs]]
 
[[Category:Related Toolkits & APIs]]

Revision as of 21:29, 19 February 2013

Beginner frameworks

One-shot downloads that contain multiple tools, so as to make it easier for the user to get started with OpenGL.

Unofficial OpenGL SDK
A collection of several cross-platform libraries, using a common build system to simplify OpenGL development. It distributes several easy-to-use libraries for GL initialization. It also has a library for OpenGL loading, image loading, and more.
Graphics And Physics Framework
German OpenGL based graphics And physics framework.

OpenGL initialization

Creating an OpenGL context usually requires writing platform-specific code to create a window. It also requires loading OpenGL functions manually from that context. These tools simplify these tasks greatly, in most cases providing cross-platform solutions.

Context/Window Toolkits

The creation of a window to render stuff in is not covered in the OpenGL specification. This is handled by platform-specific APIs. These APIs have been abstracted in many toolkits.

These toolkits are designed specifically around creating and managing OpenGL windows. They also manage input, but little beyond that.

freeGLUT
A crossplatform windowing and keyboard/mouse handler. Its API is a superset of the GLUT API, and it is more stable and up to date than GLUT. It supports creating a core OpenGL context.
GLFW
A crossplatform windowing and keyboard/mouse/joystick handler. Is more aimed for creating games. Supports Windows, Mac OS X and *nix systems. Supports creating a core OpenGL context.
GLUT
Very old, do not use.

Several "multimedia libraries" can create OpenGL windows, in addition to input, sound and other tasks useful for game-like applications.

Allegro version 5
A cross-platform multimedia library with a C API focused on game development. Supports core OpenGL context creation.
SDL
A cross-platform multimedia library with a C API. Version 1.2 does not support core OpenGL context creation, but version 2.0 will.
SFML
A cross-platform multimedia library with a C++ API. Supports creating a core OpenGL context.

Many widget toolkits have the ability to create OpenGL windows, but their primary focus is on being widget toolkits.

FLTK
A small C-based widget library.
Qt
A C++ toolkit which abstracts the Linux, MacOS X and Windows away. It provides a number of OpenGL helper objects, which even abstract away the difference between desktop GL and OpenGL ES.
wxWidgets
A C++ cross-platform widget toolkit.

OpenGL loading libraries

OpenGL loading libraries handle the loading of OpenGL functions.

GLEW
An OpenGL loading library for Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
gl3w
An OpenGL loading library, focusing on OpenGL3/4 Core context loading for Windows, Linux and FreeBSD.
OpenGL Loader Generator
A tool for generating OpenGL loaders that include the exact version/extensions you want, and only them.

Utilities

There are many utilities that, while they don't rely on OpenGL very much, are useful in making OpenGL applications.

Image and Texture Libraries

  • GLAUX : this is a very old library that should not be used anymore. Most people who encounter GLAUX are people who see the NeHe tutorials which haven't been updated in years. NeHe uses auxDIBImageLoad() in order to read BMP files. GLAUX is no longer available.
  • DevIL: DevIL stands for Developers Image Library. It supports many image formats for reading and writing, it supports several compilers and OS (Win, Linux, Mac OSX). The library has a OpenGL-like syntax. It has not been updated recently.
  • FreeImage: FreeImage is an cross-platform image-loading library, with very wide support for image formats (including some HDR formats like OpenEXR).
  • SOIL: SOIL ( Simple OpenGL Image Loader ) is a public-domain cross-platform image loader that's extremely small.
  • GLI: GLI( OpenGL Image ) is a small cross-platform C++ image library able to load DDS textures (DDS9 and DDS10), compressed or uncompressed. It is licensed under the MIT license.

Math Libraries

  • GLM: GLM ( OpenGL Mathematics ) is a cross-platform C++ mathematics library designed to match the GLSL math functions. It also provides vectors and matrices classes and functions to replace the deprecated OpenGL functions and many more features from half-precision floating point or quaternions. It is licensed under the MIT license.
  • TVMet: The Tiny Vector Matrix library using Expression Templates. This math library is focused on performance via the use of expression template metaprogramming techniques and lazy evaluation. It is licensed under a modified from of the GNU LGPL license. The license modification specifically allows static linking without having the entire program be subject to LGPL. The library has not been updated since 2007.

3D File Libraries

  • Open Asset Import: The Open Asset Import Library can read a variety of 3D file formats such as COLLADA (often .dae), Blender3D native files (.blend), 3DS (.3ds), Wavefront Obj (.obj), and many more.
  • lib3ds: The lib3ds library is for reading 3ds files.

Toolkits that are Layered on top of OpenGL

Many programming interfaces are layered on top of OpenGL, providing rich and varied functionality. Not all can interoperate.

Scene Graphs Graphics Engines Game Engines/Toolkits
Gizmo3D
This scene graph works on all Windows platforms, OSX, GNU/Linux, and IRIX.
Open Scene Graph
This scene graph works on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris and FreeBSD.
OpenSG
It's a scene graph which works on IRIX, Windows and Linux.
Open Inventor - by VSG
Object-oriented scene graph API. Commercial implementation. Supports Windows, Linux, OSX.
Crystal Space
Irrlicht
Ogre3D
ClanLib
A cross platform C++ toolkit library with a BSD style license. Essentially the library offers a series of different functionality under a streamlined API.
Delta3D
Game engine based on Open Scene Graph and ODE.
Panda3D
A C++ 3D game engine with Python bindings.

Other

Equalizer
A crossplatform framework for the development and deployment of parallel OpenGL applications for large scale graphics clusters and multi-GPU workstations.
PixelLight
An open-source cross-platform framework using OpenGL.
OGLplus
An open-source header-only library which implements a thin object-oriented facade over the OpenGL (version 3 and higher) C-language API. It provides wrappers which automate resource management and make the use of OpenGL in C++ safer and easier.

Sound or Audio Libraries

OpenAL 
OpenAL stands for Open Audio Library. It is maintained by people at Creative and nVidia and users. Multi OS support (Win, Linux, Mac OSX). The library has a OpenGL like syntax so it is easy to use. Closed source and open source portions. Access to special SoundBlaster features through extensions.
OpenAL Soft
OpenAL Software Renderer.
OpenAL Audio Framework
OpenAL based Audio Framework.