Day 5 — Building a Custom 3D Engine with C++ & DirectX 12

Today, I took another step forward in my engine development journey using the Microsoft GDK Direct3D Game template.

I moved from rendering a single rotating cube to rendering three independent 3D objects in the same scene, reusing the same vertex and index buffers while managing individual object transformations.

Today’s implementation focused on:

:small_blue_diamond: Per-object rendering and world transformations
:small_blue_diamond: DirectX 12 Constant Buffers (256-byte alignment)
:small_blue_diamond: Individual position and rotation for each object
:small_blue_diamond: World-View-Projection (WVP) matrix calculations
:small_blue_diamond: Multiple draw calls and CBV binding
:small_blue_diamond: Resource management and device-loss handling

Link day 5:https://youtu.be/6S3Wd86pc_o

Every day, I’m learning more about how graphics APIs work under the hood and how rendering systems are structured, moving closer to my goal of becoming an Engine Programmer specializing in C++, rendering, and graphics technology.

Building from scratch. Learning by implementing. One day at a time.

CPP #DirectX12 #GraphicsProgramming #GameEngine #EngineProgramming #MicrosoftGDK Rendering #GameDevelopment