Tested distance-based sorting and axis-based sorting

Tested distance-based sorting and axis-based sorting

In ray tracing with BVH, one can typically use either distance-based sorting or axis-based sorting for determining the traversal order of child nodes.


I tested both methods, it's observed that axis-based sorting is slightly faster than distance-based sorting, interesting. We only compare the number of primitive intersections that needs to be performed in both methods, we don't compare other factors like actual rendering time, traversal steps, or traversal costs. So, this should be a fair test on the algorithm aspect.

 


posted on 2012-12-03 23:29 Len3d 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/len3d/archive/2012/12/03/2800577.html

你可能感兴趣的:(Tested distance-based sorting and axis-based sorting)