CPU-RTRM
2019CPU Real-Time Raymarcher written in C++ built around SIMD capabilities.
Renderer based on raymarching distance-fields. It runs exclusively on CPU at interactive frame-rates for relatively simple scenes. It was a project to learn about SIMD, cache-friendly programming, profiling/optimization and data-oriented design.
Details
- Developed with C++.
- Raymarching based on sphere tracing.
- Architecture built around SIMD capabilities, using packs of rays. Supports SSE and AVX.
- Naive multi-threading for the extra speed boost.
- Implementation of Blinn-Phong lighting, Ambient Occlusion and fog.