HEPBlenderFusion
Bridging High-Energy Physics with Real-Time 3D Visualisation — a bidirectional gRPC stream between C++ Geant4 particle simulations and Blender's BMesh rendering engine.
<100msLatency
10–50xViewport Perf
8Physics Lists
v1.0Stable
TL;DR — Quick Summary
- Connects C++ Geant4 physics engines directly to Blender's rendering viewport via HTTP/2 gRPC bidirectional streaming with CRC32 frame integrity checks.
- Single-Mesh BMesh architecture consolidates 10,000+ particle track segments into one mesh object for 10–50x viewport speedups (30–60 FPS).
- Encodes deposited step energy into vertex colour alpha to render dynamic Bragg Peak track thickness via Geometry Nodes.
- Interactive state machine supports live Start, Pause, Step Event, and Stop controls from inside Blender.
Bridge-First Architecture & Physics Lists
C++ Geant4 Daemon
Thread-safe GDML geometry loader & G4SteppingAction streaming TrackFrame chunks via std::condition_variable step control.
Blender Python Addon
Background gRPC consumer thread feeding single-mesh BMesh buffers and Geometry Nodes shaders without UI freezes.