r/GraphicsProgramming • • Nov 24 '25

Video Real-time Spectral Path Tracing in Python. 15M Active Entities on RTX 5090. (No BVH)

Tech Demo: Volumetric Spectral Rendering

Testing a custom physics solver originally written for scientific simulation (protein research). Repurposed here to handle light transport alongside fluid dynamics.

The Specs:

  • Hardware: Single NVIDIA RTX 5090.

  • Language: Python (via Taichi Lang).

  • Scale: ~4M Fluid Particles + ~10M Photons per frame.

  • Performance: ~12 FPS (Raw Compute).

Implementation Notes:

  • Method: Pure Grid-Based Solver. No Bounding Volume Hierarchy (BVH) or RT-cores used.

  • Optics: Full spectral dispersion (wavelength-based refraction). Caustics and rainbows are physically derived from the density field, not shaders.

  • Visuals: No baked textures. No AI denoising. The clean look is achieved via Temporal Accumulation (long exposure emulation).

Just a raw capture of the solver running live.

8 Upvotes

11 comments sorted by

View all comments

16

u/ParamedicDirect5832 Nov 24 '25

can you turn off the phone's flashlight? I cent see the display.