Re:Show HN: A physically-based GPU ray tracer written in Julia
by the_harpia_io on Thursday February 19, 2026 @10:18AM
(#47074708)
pbrt-v4 parity is a solid baseline - that codebase already leans hard on NVIDIA so a fair comparison was always going to be messy. surprised wavefront was the harder bit though, i'd have expected BVH tuning to be the nightmare.
[ Parent
| on HN ]
Re:Show HN: A physically-based GPU ray tracer written in Julia
by simondanisch on Thursday February 19, 2026 @10:46AM
(#47075057)
To be fair I was suprised too. But I made a relatively simple straight port from the AMD rays sdk plus some input from the pbrt-v4 CPU bvh code and it just worked relatively well out of the box...
This is the main intersection function which is quite simple: https://github.com/JuliaGeometry/Raycore.jl/blob/sd/multityp...
I'm not even using local memory, since it was already fast enough ;)
But I think we can still do quite a lot, large parts of the construction code are still very messy, and I want to polish and modularize the code over time.
Re:Show HN: A physically-based GPU ray tracer written in Julia
by the_harpia_io on Thursday February 19, 2026 @12:24PM
(#47076357)
makes sense honestly - straight port from a solid SDK beats reimplementing everything from scratch. local memory optimization is one of those rabbit holes anyway. construction code being messy is just that stage of the project