There are several types of Open Graphics Library® (OpenGL®) libraries that can be installed and used on computer systems, and most of them serve specific needs of graphics programmers. The first type includes the basic, core OpenGL® libraries, which contain roughly 120 commands to allow access to graphics hardware, although these OpenGL® libraries can be further divided depending on the platform on which they are intended to operate. Many utility libraries have been created — some of which are almost always used by OpenGL® programmers — to help group very-low-level functions into single higher-level calls for convenience and code clarity. There occasionally are OpenGL® libraries that are developed by the specific manufacturers of graphics hardware to help boost performance or support special effects that the hardware performs natively. There also are very-high-level user-created libraries that have spawned from larger projects and are distributed to assist in rapid application development.
Core OpenGL® libraries are necessary for the development and deployment of programs that use OpenGL® to render graphics. They allow programs to use a common abstract programming interface (API) to call the functions inside the OpenGL® library, after which the library will interact directly with hardware drivers. The drivers then access the hardware directly, causing an increase in display speed. All other OpenGL® libraries are based on the core libraries.
OpenGL Mathematics (GLM) GLM is a C mathematics library for graphics software based on the OpenGL Shading Language (GLSL) specification. GLM provides classes and functions designed and implemented with the same naming conventions and functionalities than GLSL so that when a programmer knows GLSL, he knows GLM as well which makes it really easy to use. NVIDIA provides OpenGL-accelerated Remote Desktop for GeForce. In these days of social distancing, game developers and content creators all over the world are working from home and asking for help using Windows Remote Desktop streaming with the OpenGL tools they use. How to get OpenGL libraries in Red Hat Enterprise Linux 6. Solution Verified - Updated 2014-08-25T19:39:02+00:00 - English.
Many of the commands used by the core libraries are fairly low level, so a number of utility libraries, also called toolkits, have been created. These bundle the basic commands into more functional routines that take much of the repetition out of using OpenGL®. One example of using a utility library involves drawing a circle, which could take several lines of code with just core OpenGL® but can be condensed into one optimized routine within a utility library such as the OpenGL® Utility Toolkit (GLUT). Occasionally, some libraries share the same name but are ported for use on different operating systems or for different language bindings, and they might contain different functionalities.
Some OpenGL® libraries are actually produced by hardware manufacturers. Extended libraries can be access though the OpenGL® extensions mechanism or directly with APIs provided by the manufacturers. These types of libraries do not always see widespread use because of their narrow target platforms and because very popular extensions are often folded into the core libraries.
There also are OpenGL® libraries that are created by programmers and users that are not associated with the core libraries or any hardware. These libraries are often released so other programmers who are creating certain types of scientific, mathematical or entertainment applications can benefit from having a framework on which to build. There also are community-derived libraries that add interactivity and program logic to the other libraries in a practical way.
Latest versionReleased:
Standard OpenGL bindings for Python
PyOpenGL is normally distributed via PyPI using standard pip:
You can install this repository by branching/cloning and runningsetup.py:
Note that to compile PyOpenGL_accelerate you will need to havea functioning Python extension-compiling environment.
If you are new to PyOpenGL, you likely want to start with the OpenGLContext tutorial page.Those tutorials require OpenGLContext, (which is a big wrapper including a wholescenegraph engine, VRML97 parser, lots of demos, etc) you can install that with:
Or you can clone it (including the tutorial sources) with:
or (for GitHub usage):
The documentation pages are useful for looking up the parameters and semantics ofPyOpenGL calls.
You can run the PyOpenGL test suite from a source-code checkout, you will need:
Running the test suite from a top-level checkout looks like:
The result being a lot of tests being run in a matrix of environments.All of the environment will pull in pygame, some will also pull innumpy. Some will have accelerate, and some will not.
3.1.5
3.1.4
3.1.3rc1 pre-release
3.1.3b2 pre-release
3.1.3b1 pre-release
3.1.1a1 pre-release
3.1.0
3.1.0b3 pre-release
3.1.0b2 pre-release
3.1.0b1 pre-release
3.1.0a3 pre-release
3.1.0a1 pre-release
3.0.2
3.0.2b2 pre-release
3.0.2a5 pre-release
3.0.2a4 pre-release
3.0.2a3 pre-release
3.0.2a2 pre-release
3.0.2a1 pre-release
3.0.1
3.0.1b2 pre-release
3.0.1b1 pre-release
3.0.1a4 pre-release
3.0.1a3 pre-release
3.0.1a2 pre-release
3.0.0
3.0.0c1 pre-release
3.0.0b8 pre-release
3.0.0b6 pre-release
3.0.0b4 pre-release
3.0.0b3 pre-release
3.0.0b2 pre-release
3.0.0b1 pre-release
3.0.0a5 pre-release
2.0.1.09
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size PyOpenGL-3.1.5-py2-none-any.whl (2.4 MB) | File type Wheel | Python version py2 | Upload date | Hashes |
Filename, size PyOpenGL-3.1.5-py3-none-any.whl (2.4 MB) | File type Wheel | Python version py3 | Upload date | Hashes |
Filename, size PyOpenGL-3.1.5.tar.gz (1.8 MB) | File type Source | Python version None | Upload date | Hashes |
Algorithm | Hash digest |
---|---|
SHA256 | 11ad32c7bde7ea0ffb7a94dd552c639ca72376982a8dd6fe0c092d2002a4ca6e |
MD5 | 9bff9b5bf50c322ad8e2951b915f765a |
BLAKE2-256 | 7e782bc24caecba024f7d128030451899531cd4c2a2a2bad342d5e5010089324 |
Algorithm | Hash digest |
---|---|
SHA256 | 36b4ac28220e4bfa29e5557525ad2967ca74558a94bccea48864fc742b18db11 |
MD5 | 146dbebc8aa95d5b8d09eb376dc8895b |
BLAKE2-256 | 479a8d9364533ebcaa13621994a63dcc6a6051e27671ae5e1715dac4af18cac2 |
Algorithm | Hash digest |
---|---|
SHA256 | 4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424 |
MD5 | fcb5bdd0d48da86d9f6124716831de93 |
BLAKE2-256 | b87331c8177f3d236e9a5424f7267659c70ccea604dab0585bfcd55828397746 |