Does a ray traverses the Acceleration Structure in parallel when calling optixTrace?

The ray will traverse the AS when calling optixTrace function. For the ray, is the traversal serial or parallel?

Thanks in advance.

Hi @novice, yes there are aspects of traversal for a single ray that are parallelized, and aspects of traversal and shading that are parallelized across many rays as well. There are parts of traversal that need to be serialized as well, because it’s a tree and you can’t reasonably test all primitives in the AS at once. So the answer is both.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.