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

树结构场景上的快速GPU包围盒

Fast GPU bounding boxes on tree-structured scenes

Raph Levien

摘要:

边界框的计算是高性能渲染中的一个基本问题,因为它是可见性剔除和装箱操作的输入。在构造为树的场景描述中,裁剪节点和混合节点分别需要边界框的交集和并集。使用顺序算法在CPU上计算这些是简单的,但是高效的并行GPU算法更加难以捉摸。本文提出了一种快速实用的解决方案,其核心是经典的括号匹配问题的新算法。核心算法是抽象的(在PRAM抽象方面),然后具体映射到实际GPU硬件的线程,线程和调度级别。该算法可移植地实现使用计算着色器,和性能结果显示了显着的加速比顺序CPU版本,实际上是一个合理的部分最大理论吞吐量的GPU硬件。直接的激励应用是2D渲染,但算法推广到其他领域,核心括号匹配问题有其他应用,包括解析。

英文摘要:

Computation of bounding boxes is a fundamental problem in high performance rendering, as it is an input to visibility culling and binning operations. In a scene description structured as a tree, clip nodes and blend nodes entail intersection and union of bounding boxes, respectively. These are straightforward to compute on the CPU using a sequential algorithm, but an efficient, parallel GPU algorithm is more elusive. This paper presents a fast and practical solution, with a new algorithm for the classic parentheses matching problem at its core. The core algorithm is presented abstractly (in terms of a PRAM abstraction), then with a concrete mapping to the thread, workgroup, and dispatch levels of real GPU hardware. The algorithm is implemented portably using compute shaders, and performance results show a dramatic speedup over a sequential CPU version, and indeed a reasonable fraction of maximum theoretical throughput of the GPU hardware. The immediate motivating application is 2D rendering, but the algorithms generalize to other domains, and the core parentheses matching problem has other applications including parsing.

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

↑