Papoila Game Engine (WIP)
Simple 3D game engine built from scratch with OpenGL and C++.
Introduction
This is a personal project where I am building a simple 3D game engine from scratch using C++ and OpenGL. The goal of this project is to deepen my understanding of graphics programming and underlying game engine architecture. No better way to learn how game engines work than building one myself.
For this project I am following the amazing
Learn OpenGL
online book as a guide while also taking creative liberties to implement additional features, and going with my own software architecture.
So far I have implemented my own gltf model importer using cgltf, textured mesh rendering, phong lighting, cubemap skyboxes, and a simple editor with basic controls and GUI.
My goal is to keep growing this project into a proper small 3D engine that I can use to make games in the future. Eventually I also want to play around with adding scripting, FMOD integration for audio (because no one does it better than them) and Box3D physics integration.
What I learned
This project taught me a lot about the fundamentals of 3D graphics programming. I had never worked directly with OpenGL before, so implementing basic 3D rendering techniques from scratch gave me a better understanding of how real-time rendering works, giving me valuable insights into how engines like Unity and Unreal function under the hood. This was also around the time I started reading the Game Engine Architecture book by Jason Gregory, which further solidified my understanding of game engines.