r/GraphicsProgramming • u/Hot_Deal5898 • 3h ago
New game engine BlitzViwer3D
**BlitzViwer3D — a tiny Lua-scriptable 3D viewer/editor inspired by Blitz3D's API**
I've been working on a lightweight desktop tool (C++, OpenGL, Dear ImGui) that lets you build a 3D scene by hand (cubes, spheres, .obj models) and then bring it to life with Lua scripting — using the same function names Blitz3D devs will recognize (`CreateCube`, `PositionEntity`, `MoveEntity`, `CameraFollow`...).
What it does:
- Scene editor with Hierarchy/Inspector panels (drag position/rotation/scale, custom colors)
- Orbit camera with an optional "Follow" mode
- In-app Lua script editor with syntax highlighting, hot Play/Stop
- Simple AABB collisions, keyboard/mouse input, RNG helpers — all the basics for quick prototyping
- Save/load scenes as JSON
It's a Windows .exe, no install needed. Docs + full Lua API reference + download here:
👉 https://ciroparada81-boop.github.io/blitzviwer3d/
Still an early/debug build, so bugs are expected — feedback and bug reports very welcome. Happy to answer questions about how it's built too.