AXI Visualizer is a complete software 3D graphics pipeline and engine written with Python and OpenCL.
It uses a Hierarchical Tiled Scanline rasterization algorithm which can be run on the CPU or the GPU compute units. Tiled Barycentric rasterization is commonly used in software rasterizers (ex. cuRE, CUDARaster), but combining the tiled aspect with scanline rendering has not been attempted before.
See a full feature list and some demo clips.
Main dependencies are PyOpenCL, Numpy, and PIL.
Currently the engine is used in AXI Animator and AXI Combat.
The '3xxx.py' files are main scripts which can be directly run.
Here is a sample render showcasing many features of the Visualizer. For this render, all models were imported as .obj files, then skinned, rigged, and posed with AXI Animator. The trees, grass clumps, and violin strings use alpha test shaders. The terrain texture uses trilinear filtering. Global Illumination is present and visible on the grass below the red panel picking up its color, and the sphere in the far right picking up green from the grass. A double-cascade shadow map was used for visual fidelity. A reflection cubemap is applied on the globe in the left. Full-screen blur highlights bright areas and creates a softer feel. These features are all created from scratch and implemented using OpenCL and Python.