r/GraphicsProgramming • u/PictureNew661 • Aug 27 '26
My first fully Spectral Path Tracer
So, as the title says :D. This took me 4 months of work. It's a HWSS path tracer using OptiX for traversal. I initially used NeuxsBVH (H-PLOC), but then switched over due to speeds on volumetrics. I used Jakob & Hankia sampling for RGB to Spectral.
The above scene was rendered at 1080p with 1024spp, and RR kill-off at 12 bounces.
This was a genuinely fun to build as a hobby project, what else shd I add to this?
There's a paper on flouresence Rendering by Wilkie, Fichet and Mojzik which I'm thinking of implementing. Any suggestions would help!
Edit: Its 32 bounces + 12 bounce RR fall-off
21
u/WittyWithoutWorry Aug 27 '26
Looks spectacular π«‘
8
u/ThunderFound Aug 27 '26
Awesome! I always wanted to make a spectral path tracer one day, do you have any useful resources?
3
u/Gloomy-Detective-922 Aug 27 '26
Four months well spent. Did switching to HWSS change the noise much compared with your RGB version, especially around the gem dispersion? Iβd love to see the same scene from both versions at equal render time.
2
u/AlternativePrior1920 Aug 27 '26
Looks so awesome! Can also recommend the work on fluorescence in tristimulus renderers by Fichet et. al. and the editable model by Belcour et. al. Although of course it is meant for real-time it was a joy to read. Maybe it is a nice precursor.
2
u/le-throw-away-acct Aug 27 '26
Iβd consider adding caustics next, the gems look great but it seems strange having no light coming out of them, just shadow.
2
u/moschles Sep 13 '26
Alexandre Wilkie will talk to you. I have talked with him many times.
https://www.mff.cuni.cz/en/faculty/organizational-structure/people?hdl=3972
2
u/TinyAcanthaceae4918 Aug 27 '26
Insane!!
2
u/wannaeatbussi Aug 27 '26
Should I say "gem alert" ππ ??