We’ve been working on a new 100% Julia backend for GPU accelerated raytracing for Makie to replace RPRMakie!
Its physically based ray tracing (pbrt) and is pretty much a Julia port of the amazing pbrt-v4 ray tracer.
I also added an experimental rasterizer, which also runs on the GPU via KernelAbstractions - which could pave a way to have a 100% Julia GPU graphics API, which has the potential to rival OpenGL in the future (still pretty hypothetical, we will need to see how it matches performance and how well it works across platforms).
I just want to say, that I’m really happy with how the GPU stack has matured and how it has become possible to write this while reaching performance which is in the same regime as established ray tracers!
Read all the details in https://makie.org/website/blogposts/raytracing/.
| Terrain with volumetric clouds | Black hole with gravitational lensing |
| Protein structure from ProtPlot | Protein structure (gold, DoF) |
| CMS particle detector (Geant4.jl) | CMS detector full view |
| Oil palm (PlantGeom.jl) | Stanford bunny cloud (NanoVDB) |
| BOMEX cumulus clouds | Christmas tree (GLTF) |









