Bounding Volume Hierarchy Construction Algorithm Based on Dynamic Task Scheduling

被引:2
|
作者
Zhang Z. [1 ]
He F. [1 ]
机构
[1] School of Compute Science, Wuhan University, Wuhan
来源
He, Fazhi (fzhe@whu.edu.cn) | 2018年 / Institute of Computing Technology卷 / 30期
关键词
Bounding volume hierarchy; Dynamic task scheduling; GPU acceleration; Ray tracing;
D O I
10.3724/SP.J.1089.2018.16388
中图分类号
学科分类号
摘要
Intersection computation is the most expensive part of the ray-tracing while BVH is the main acceleration structure. To improve the construction speed of BVH, a new BVH construction method based on dynamic task scheduling and threads optimization of warp is presented and it is optimized according to some main GPU architectures. The algorithm performed multiple rounds of bottom-up traversal over the BVH based on the SAH value. At the beginning of each cycle, we assigned the task according to the global variables that recorded the progress of the task if the current thread was idle, otherwise we continued to traverse the BVH. We reconstructed the treelet that used the node as treelet root when the node met the conditions during the traversal. At this stage, we leveraged 32 threads in the same warp to reconstruct the treelet collaboratively and we could adjust the num-ber of parallel tasks according to the number of treelet leaves. According to the experiments on some classical scenes, our solution can be faster while the number of triangles is greater than one hundred thousand and can be about 47% faster when the number of triangles is above one million in the optimization stage of AtrBVH, thus in-creasing the overall speed by 25%, in the case of BVH construction quality being the same. © 2018, Beijing China Science Journal Publishing Co. Ltd. All right reserved.
引用
收藏
页码:491 / 498
页数:7
相关论文
共 24 条
  • [1] Appel A., Some techniques for shading machine renderings of solids, Proceedings of Spring Joint Computer Conference, pp. 37-45, (1968)
  • [2] Goldsmith J., Salmon J., Automatic creation of object hierarchies for ray tracing, IEEE Computer Graphics and Applications, 7, 5, pp. 14-20, (1987)
  • [3] Macdonald J.D., Booth K.S., Heuristics for ray tracing using space subdivision, The Visual Computer, 6, 3, pp. 153-166, (1990)
  • [4] Zou H., Gao X., Lu X., A ray casting algorithm based on hierarchical bounding volumes and GPU, Journal of Computer-Aided Design & Computer Graphics, 21, 2, pp. 172-178, (2009)
  • [5] Du P., Tang M., Tong R., Parallel collision detection on multi-core platform, Journal of Computer-Aided Design & Computer Graphics, 23, 5, pp. 833-838, (2011)
  • [6] Yang X., Wang T., Xu D., Fast BVH con-struction on GPU, Journal of Zhejiang University: Engi-neering Science, 46, 1, pp. 84-89, (2012)
  • [7] Lauterbach C., Garland M., Sengupta S., Et al., Fast BVH construction on GPUs, Computer Graphics Forum, 28, 2, pp. 375-384, (2009)
  • [8] Karras T., Maximizing parallelism in the construction of BVHs, octrees, and k-D trees, Proceedings of the 4th ACM SIG- GRAPH/Eurographics Conference on High-Performance Graphics, pp. 33-37, (2012)
  • [9] Stich M., Friedrich H., Dietrich A., Spatial splits in bounding volume hierarchies, Proceedings of the Conference on High Performance Graphics, pp. 7-13, (2009)
  • [10] Ernst M., Greiner G., Early split clipping for bounding volume hierarchies, Proceedings of IEEE Symposium on Interactive Ray Tracing, pp. 73-78, (2007)