Researchers at Wuhan University in China have developed a new algorithm called BMA that speeds up ray tracing without placing significant extra demand on a graphics card's memory or noticeably degrading image quality. The team says the work could make path tracing, a particularly demanding rendering technique, less taxing on the computing resources of modern graphics cards.

Modern ray tracing relies on structures known as bounding volume hierarchies, or BVH, which help a graphics card quickly work out where a ray of light intersects with objects in a scene without having to check every triangle individually. Even so, moving through these structures, a process called traversal, still consumes heavy computing resources. The problem becomes especially pronounced in path tracing, where light bounces repeatedly between surfaces.
How the BMA algorithm works
BMA tackles this by analysing the spatial relationship between rays coming from neighbouring pixels. It picks out several representative rays within a section of an image, works out the likely paths those rays take through the BVH structure, and uses that information to optimise the remaining rays in the same area. As a result, the algorithm does not need to retrace the same regions of the structure from scratch each time, and can instead jump straight to the most relevant nodes.
Test results with Embree
The researchers tested BMA using Embree, Intel's open-source ray tracing library, running six scenes at 1080p resolution. The best result came in the Sponza scene, where rendering time fell from 187.1 seconds to 117.76 seconds, a 1.59-times speedup. BVH traversal operations in that scene dropped by about 48%. Gains in the other five scenes were more modest, ranging from 2% to 36%.
Memory use barely moved despite the speed gains. Across all the tests, RAM consumption rose by no more than 0.6%. The researchers note that BMA does not guarantee a perfectly precise result, since the method is built to favour speed, but image quality stayed high overall, with only minor distortions appearing at the edges of objects.
What comes next
So far, BMA has only been implemented for BVH traversal on a computer's processor. The researchers plan to extend the approach to graphics processors, and potentially to neural processing units as well. They point to possible uses including rendering at 8K resolution.
The team describes BMA as a complement to existing ray tracing optimisation efforts rather than a replacement for them. Technologies such as AMD's RT-MLAS, Nvidia's RTX Mega Geometry and improvements to Microsoft's DirectX Raytracing mainly focus on building and managing acceleration structures more efficiently, while BMA directly optimises how those structures are traversed. Using such approaches together could potentially remove several bottlenecks in ray tracing at once, the researchers say.
What happens next
The researchers plan to extend BMA from CPU-based BVH traversal to GPUs, and potentially NPUs, with possible applications including 8K rendering.
Test yourself
Which university developed the BMA ray tracing algorithm?
By how much did rendering time drop in the best-performing Sponza test scene?
By how much did memory use increase across the tests?
Have your say
What matters most to you in ray tracing performance improvements?
Where it happened
Wuhan, China
