arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23520cs.GR
收藏

重新思考GPU光线追踪架构上的碰撞检测

Rethinking Collision Detection on GPU Ray Tracing Architecture

Purdue University(普渡大学);Lawrence Berkeley National Laboratory(劳伦斯伯克利国家实验室);University of Washington(华盛顿大学)

Durga Keerthi Mandarapu, Isaac Fuksman, Artem Pelenitsyn, Gilbert Bernstein, Milind Kulkarni

AI总结:

本文提出Mochi方法,通过利用碰撞关系的对称性,高效支持均匀和非均匀球形粒子的碰撞检测,改进了传统BVH结构在处理不同半径粒子时的性能问题。

摘要:

离散碰撞检测(DCD)是多个领域如粒子基物理模拟中的基础任务。高效的DCD使用索引结构如包围体积层次结构(BVH),但加速不规则BVH遍历需要细致的努力。现代GPU的光线追踪(RT)架构提供了硬件加速的BVH遍历和优化的BVH构建驱动程序。最近的工作尝试利用RT架构加速球形粒子的DCD,通过将DCD减少为固定半径邻居搜索。然而,这种减少在半径不同的粒子上失效,需要使用大包围盒,导致更多的重复碰撞和性能问题。为了解决这些限制,我们提出了Mochi,一种新的减少方法,通过利用碰撞关系的对称性,高效支持均匀和非均匀球形粒子。Mochi引入了每个对象的代理球体,将BVH包围体积与碰撞搜索半径解耦,从而实现更紧密的包围盒而不牺牲正确性。Mochi被证明是可靠的,并保证检测所有真实的碰撞。我们将Mochi集成到一个端到端的粒子模拟流水线中,并在大规模粒子工作负载上评估其性能,显示了比现有BVH和RT基于的DCD实现的一致加速。Mochi扩展了先前基于RT的邻居搜索公式,同时避免了非均匀球体的根本限制。

英文摘要:

Discrete Collision Detection (DCD) is a fundamental task in several domains including particle-based physics simulations. Efficient DCD uses indexing structures such as Bounding Volume Hierarchy (BVH), but accelerating irregular BVH traversals demands meticulous efforts to achieve performance. Modern GPUs feature Ray Tracing (RT) architecture that provides hardware acceleration for BVH traversal and optimized drivers for BVH construction. Recent work has attempted to exploit RT architecture to accelerate DCD on spherical particles by reducing DCD to fixed-radius neighbor search. However, this reduction breaks down for particles with different radii, necessitating the use of large bounding boxes that result in a higher number of duplicate collisions and poor performance. To address these limitations, we present Mochi, a new reduction that reformulates DCD on RT architecture by exploiting the symmetry of collision relations to support both uniform and non-uniform spherical particles efficiently. Mochi introduces per-object proxy spheres that decouple BVH bounding volumes from the collision search radius, enabling significantly tighter bounding boxes without sacrificing correctness. Mochi is provably sound and guarantees that all true collisions are detected. We integrate Mochi into an end-to-end particle simulation pipeline and evaluate it across large-scale particle workloads, showing consistent speedups over state-of-the-art BVH-based and RT-based DCD implementations. Mochi generalizes prior RT-based neighbor search formulations while avoiding their fundamental limitations for non-uniform spheres.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑