高级检索
赵福恺, 刘新国. GPU单散射并行绘制算法[J]. 计算机辅助设计与图形学学报, 2011, 23(1): 32-39.
引用本文: 赵福恺, 刘新国. GPU单散射并行绘制算法[J]. 计算机辅助设计与图形学学报, 2011, 23(1): 32-39.
Zhao Fukai, Liu Xinguo. GPU Based Parallel Rendering of Single Scattering[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(1): 32-39.
Citation: Zhao Fukai, Liu Xinguo. GPU Based Parallel Rendering of Single Scattering[J]. Journal of Computer-Aided Design & Computer Graphics, 2011, 23(1): 32-39.

GPU单散射并行绘制算法

GPU Based Parallel Rendering of Single Scattering

  • 摘要: 为了加快介质单散射绘制的速度, 提出一种基于GPU的介质单散射并行绘制算法.首先利用光线与场景的交点链表以及光线与介质包围盒的交点计算光线在介质空间中的传播路径;然后进行Ray Marching计算介质单散射光照, 使得绘制过程高度并行化.在此基础上, 提出图像空间的插值加速算法, 利用单散射只与Ray Marching的深度、采样点到光源的距离以及局部介质属性有关的特点, 通过定义适当的插值函数在图像空间对像素进行插值, 减少Ray Marching的次数, 节省绘制时间开销.实验结果表明, 文中算法可达到可交互的绘制效率, 且不需要预计算, 并支持用户在绘制过程中实时修改光照和介质属性, 包括各向异性的均匀和非均匀介质.

     

    Abstract: This paper presents a GPU based algorithm for rendering participating media with single scattering.First, the algorithm efficiently determines the ray marching path using the intersection points list of ray tracing and intersection points of the ray and the bounding box of the media, and then it calculates single scattering lighting through ray marching, which parallelizes the media single scattering rendering procedure.Based on the parallel algorithm, this paper proposes an image space interpolation approach to accelerate the rendering process.Based on the observation that rendering single scattering only depends on the depth of ray marching, the distance from the sample to the light source, and the local property of media, we make an interpolation approximation in image space by choosing a proper interpolating function, which can decrease times of ray marching and save rendering cost.Without any pre-computation, our algorithm achieves an interactive performance.Moreover, the algorithm supports changing the property of the lighting and the media property on the fly.In addition, the algorithm can handle various materials of media including homogeneous and heterogeneous with anisotropic phase function.

     

/

返回文章
返回