r/GraphicsProgramming • u/facu_gizzly • 37m ago
Source Code [Development Story]I've built my first engine 2 years after drawing my first triangle.
Enable HLS to view with audio, or disable this notification
[Implementation]
https://github.com/GizzlyFacu/3DQT-Templates
My first post: RGB Triangle(still have no idea how that hit 71k views, wtf).
After finishing my first triangle, I kind of just sat there thinking, "Okay, what now?..."
[Development Story]
After messing around with buffers and shaders for a long time, I realized I wanted more—I wanted more triangles. So I built a:
- TriangleManager: Creates and deletes triangles.
Then I wanted to select them. So I needed a:
- SelectionManager: Keeps track of the selected elements on screen.
Then I thought, "Sh*t, what if I accidentally delete a triangle?" So:
- Command Pattern: Undo/redo system.
And it just kept snowballing like that until, without even realizing it, I had something resembling an "editor."
However, this "editor" needed a reason to exist, so I went looking for an actual problem to solve. I'm not huge into the gaming side of graphics; my roots are much more in geometry problems and procedural workflows (coming from years of Blender and Geometry Nodes).
So, I ended up building a small editor that batch-modifies and exports meshes (for 3D printing, mostly)—specifically, a tool for engraving text onto flat surfaces. Later on, I can add things like "mirror", "subdivide", and other modifiers, but right now it already nails its core purpose.
Anyway, that’s my super-summarized journey.
Chosen stack for the project:
- C++23:
std::jthreadgo boom. By the way, I highly recommend this book for concurrency. 10/10. - Qt | QML: This is home for me. I'm already super comfortable with the framework, and it takes some of the boilerplate shader work off my shoulders so I can focus 100% on geometry. Plus, it gives you massive freedom for building the UI.
- Libraries:
spdlog,manifold,tinyobjloader. - DeepSeek: Used it for C++ boilerplate, CMake setup, and basic QML components.
UI:
- Figma: For components and general UX/UI.
- NanoBanana: For UI touch-ups and assets.
This project took me 6 months to build—though to pull it off in 6 months, I had to build like 40 smaller projects beforehand D:
It doesn't look nearly as flashy as the engines usually posted in this community, and I'm not even sure if it strictly fits the definition of an "engine," but hey: at least I can render more than just a triangle now <3
What did you guys build right after your first triangle?



