使用近似最小权重三角剖分的无堆栈射线-对象相交:在2D中产生优于Roped KD树的结果(并且大大优于BVH)
Stackless Ray-Object Intersections Using Approximate Minimum Weight Triangulations: Results in 2D That Outperform Roped KD-Trees (And Massively Outperform BVHs)
摘要:
kd树和包围体层次(BVH)是用于计算光线-对象相交的公知数据结构。不太为人所知的是约束凸空间划分(CCSP),它划分空间并使几何图元与其单元的边界完全重叠。因此,它对困扰具有轴对齐单元(kd树,BVH)的方法的不合适单元是鲁棒的,并且它允许高效的无栈遍历。在计算机图形学中,CCSP在2D和3D中都受到了一些关注,但它们的构造方法从未直接旨在最小化遍历成本-甚至与Delaunay类型的方法有根本相反的目标。相反,对于各向同性和偏振不变的射线分布,通过最小化权重来最小化遍历成本:结构中所有单元的总边界大小。我们研究的二维情况下,使用三角CCSP和最小化他们的总边长使用模拟退火过程,允许拓扑结构的变化和不同的顶点数。标准的基于Delaunay的三角剖分技术显示的总边长范围从高10%到高两倍于我们针对各种场景的优化三角剖分,当使用三角剖分进行光线追踪时,遍历成本具有类似的差异。与绳kd树相比,我们的三角剖分需要较少的遍历步骤,我们测试的所有场景,他们是强大的kd树的病理行为时,几何变得与世界轴不一致。此外,无栈遍历的性能远远优于BVH,BVH总是需要在层次结构中自顶向下的下降。事实上,我们展示了几个场景,其中三角剖分的遍历操作数量减少了(!)与BVH的增加的$\log N$行为相反,随着几何基元$N$的数量增加。
英文摘要:
The kd-tree and Bounding Volume Hierarchy (BVH) are well-known data structures for computing ray-object intersections. Less known is the Constrained Convex Space Partitioning (CCSP), which partitions space and makes the geometric primitives exactly overlap with the boundaries of its cells. Consequently, it is robust against ill-fitting cells that plague methods with axis-aligned cells (kd-tree, BVH) and it permits an efficient, stackless traversal. Within computer graphics, CCSPs have received some attention in both 2D and 3D, but their construction methods were never directly aimed at minimizing their traversal cost -- even having fundamentally opposing goals for Delaunay-type methods. Instead, for an isotropic and translation-invariant ray distribution the traversal cost is minimized by minimizing the weight: the total boundary size of all cells in the structure. We study the 2D case using triangulations as CCSPs and minimize their total edge length using a simulated annealing process that allows for topological changes and varying vertex count. Standard Delaunay-based triangulation techniques show total edge lengths ranging from 10% higher to twice as high as our optimized triangulations for a variety of scenes, with a similar difference in traversal cost when using the triangulations for ray tracing. Compared to a roped kd-tree, our triangulations require less traversal steps for all scenes that we tested and they are robust against the kd-tree's pathological behaviour when geometry becomes misaligned with the world axes. Moreover, the stackless traversal strongly outperforms a BVH, which always requires a top-down descent in the hierarchy. In fact, we show several scenes where the number of traversal operations for our triangulations decreases(!) as the number of geometric primitives $N$ increases, in contrast to the increasing $\log N$ behaviour of a BVH.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。