# Clone the repository
git clone https://github.com/AICL-Lab/ray-tracer.git
cd ray-tracer
# Build (requires CUDA 12+)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j$(nproc)
# Render (Phong shading)
./build/bin/ray_tracer -o output.ppm
# Render (Path tracing)
./build/bin/ray_tracer --mode path-trace --samples 128 -o output.ppm CUDA Ray TracerHigh-Performance GPU Ray Tracer
A technical whitepaper on real-time ray tracing with CUDA, featuring BVH acceleration, Monte Carlo path tracing, and warp divergence optimization