Over the last few days, Dustin Land of id Software has been publishing commits to his vkDOOM3 GitHub repository. This project, as the name suggests, adds a Vulkan-based renderer to the game, although it’s not really designed to replace the default OpenGL implementation. Instead, the project is a learning resource, showing how a full application handles the API.
This is quite interesting for me. While code samples can show you how a chunk of code is used in rough isolation, it’s sometimes good to see how it’s used in a broader context. For instance, when I was learning Unreal Engine 4, I occasionally searched into the Unreal Tournament repository for whatever I was learning about. Sometimes, things just don’t “click” until you see the context, especially when your question starts with “why”.
If you’re interested, check out the GitHub repo. You will need to own Doom 3 BFG Edition to actually play it, though.