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

**URL:** <https://forums.unrealengine.com/t/day-5-building-a-custom-3d-engine-with-c-directx-12/2873977>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, CPP\
**Created:** [November 27, 2026, 11:21am UTC](https://forums.unrealengine.com/t/day-5-building-a-custom-3d-engine-with-c-directx-12/2873977 "2026-11-27T11:21:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinpc\_1](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/kevinpc_1/32/1215238_2.png) [@kevinpc\_1](https://forums.unrealengine.com/u/kevinpc_1)\
**Post date:** [November 27, 2026, 11:21am UTC](https://forums.unrealengine.com/t/day-5-building-a-custom-3d-engine-with-c-directx-12/2873977/1 "2026-11-27T11:21:54Z")

</div>

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:

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

Link day 5:[https://youtu.be/6S3Wd86pc\_o](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
