Quinn Le Lievre
← All projects
In development

Voxel Engine

A C++ and OpenGL voxel world engine built from scratch, chunk streaming and all.

C++ · OpenGL · GLFW · GLAD · GLM

A personal voxel engine written in C++ and OpenGL (with GLFW, GLAD and GLM) on Arch Linux. Chunks are generated and meshed off the render thread by a custom ChunkManager backed by a thread pool, with a priority queue that loads chunks by distance to the player. The concurrency was the real challenge here. It meant coordinating mutexes, atomics and condition variables across the generation and rendering threads, then diagnosing and fixing the use-after-free and data-race bugs that came with them in the chunk management system.