4 ms·
PathTracing (Though not regular Ray tracing) is actually pretty tricky to parallelize. I'd be interested in hearing what their hardware actually does? I'm guess
by alkonaut 11y ago
PathTracing (Though not regular Ray tracing) is actually pretty tricky to parallelize. I'd be interested in hearing what their hardware actually does? I'm guessing some hardware implementation of ray intersections with a BVH or kd-Tree?
The problem that occurs when trying to do path tracing on current hardware is that secondary (reflected) rays are incoherent so the gpu will stall one ray while waiting for another that hit something, leading to poor utilization of the gpu. It's still normally faster than on a cpu, but compared to "simpler" problems like some linear algebra (Machine Learning or similar) the perf of gpu vs cpu is low.
- cma 11y agoI thought GPU techniques do something like accumulate the secondary rays and use really fast GPU sorting algorithms on them before continuing, to bring back coherence.