Skip to content
Petko Raychinov edited this page May 16, 2026 · 4 revisions

This project implements a real‑time 3D collision detection system inside a custom C++ rendering engine. The system combines accurate OBB–OBB collision detection using the Separating Axis Theorem with a broad‑phase Octree to reduce unnecessary collision checks as object counts increase. The goal is to provide a minimal, efficient, and fully functional collision pipeline suitable for real‑time rendering and simulation.

To evaluate performance, the project includes a dedicated benchmarking tool (Benchmark.cpp) that records FPS, frame time, and collider counts over a configurable number of frames. Results are automatically exported to CSV, enabling comparison between naive and Octree‑based collision detection, as well as testing different Octree configurations such as depth, node size, and looseness.

Clone this wiki locally