Skip to main content


A tiny and simple PyOpenGL3 class library for demos

This is the first revision of a tiny and simple PyOpenGL3 class library for demos. It comes with the Python version of two C demos I developed: GLSL_DoF2 and GLSL_multilight. The first one is my adaptation of the second D3D example code from the ShaderX2 chapter titled "Real-Time Depth of Field Simulation" that you can read at this URL: The second one shows a bunch of rotating and textured cubes in a cubic room lit in different ways: 1) using the fixed pipeline (single and multi-pass) 2) using shaders (single and multi-pass, per-vertex and per-pixel) 3) through deferred shading (not available in this Python version) Have a look at the original C demos in action:


Home Page

Releases account Comments