基于计算着色器和顶点顺序优化的点云绘制
Rendering Point Clouds with Compute Shaders and Vertex Order Optimization
摘要:
虽然商品GPU提供了不断增长的功能和复杂的方法来加速计算作业,但许多最先进的点云渲染解决方案仍然依赖于提供的点图元(GL_POINTS,POINTLIST,.)用于图像合成的图形API。在本文中,我们提出了几种基于计算的点云渲染方法,其性能优于硬件流水线高达一个数量级,并实现比以前的基于计算的方法更好的帧时间。除了基本的最近点渲染,我们还引入了一个快速,高质量的变体来减少锯齿。我们提出并评估了我们提出的具有不同优化风格的方法的几种变体,以确保它们的适用性,并在一系列平台和架构上实现最佳性能,并为新的GPU硬件功能提供不同的支持。在我们的实验中,在RTX 3090上以每秒62到64帧(每秒500亿个点,802 GB/s)的速率渲染7.96亿个点(12.7GB),而不使用细节层次结构,达到了观察到的峰值性能。我们还为点云引入了一个优化的顶点顺序,以在硬件渲染是强制性的情况下将GL_POINTS的效率提高5倍。我们比较不同的排序,莫顿排序缓冲区是更快的一些观点,而洗牌顶点缓冲区更快。相比之下,结合这两种方法,首先根据莫顿码排序和洗牌的128个点的一批产生的序列导致一个顶点缓冲区布局具有高渲染性能和低敏感度的视点变化。
英文摘要:
While commodity GPUs provide a continuously growing range of features and sophisticated methods for accelerating compute jobs, many state-of-the-art solutions for point cloud rendering still rely on the provided point primitives (GL_POINTS, POINTLIST, ...) of graphics APIs for image synthesis. In this paper, we present several compute-based point cloud rendering approaches that outperform the hardware pipeline by up to an order of magnitude and achieve significantly better frame times than previous compute-based methods. Beyond basic closest-point rendering, we also introduce a fast, high-quality variant to reduce aliasing. We present and evaluate several variants of our proposed methods with different flavors of optimization, in order to ensure their applicability and achieve optimal performance on a range of platforms and architectures with varying support for novel GPU hardware features. During our experiments, the observed peak performance was reached rendering 796 million points (12.7GB) at rates of 62 to 64 frames per second (50 billion points per second, 802GB/s) on an RTX 3090 without the use of level-of-detail structures. We further introduce an optimized vertex order for point clouds to boost the efficiency of GL_POINTS by a factor of 5x in cases where hardware rendering is compulsory. We compare different orderings and show that Morton sorted buffers are faster for some viewpoints, while shuffled vertex buffers are faster in others. In contrast, combining both approaches by first sorting according to Morton-code and shuffling the resulting sequence in batches of 128 points leads to a vertex buffer layout with high rendering performance and low sensitivity to viewpoint changes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。