© Chris Conlan 2017
Chris ConlanThe Blender Python API10.1007/978-1-4842-2802-9_66. The bgl and blf Modules
Chris Conlan1
(1)Bethesda, Maryland, USA
The bgl module is a wrapper for OpenGL functions commonly used by Blender in the 3D Viewport and Blender Game Engine. OpenGL (Open Graphics Library) is an open source low-level API used in innumerable 3D applications to take advantage of hardware-accelerated computing.
The bgl documentation will seem familiar to those reader already familiar with OpenGL. The bgl module itself is meant to mimic to call structure and frame-by-frame rendering style of OpenGL 2.1.
In reading through the bgl documentation, we notice many advanced concepts like buffer operations, face culling, and rasterization. Fortunately ...