• 一种体素步进的反射阴影贴图可见性判断算法

    Voxel-based reflection shadow maps algorithm for visibility determination

    • 针对全局光照中反射阴影贴图算法无法判断着色点与次级光源之间可见性的问题,提出了在体素间光线步进实现可见性判断的算法。通过最小轴对齐包围盒(Axis-Aligned Bounding Box, AABB)将模型体素化并记录AABB中体素与非体素信息,借助体素信息生成AABB内的距离场。通过次级光源与着色点连成的射线与AABB求交来进行初步可见性判断。若射线与AABB相交,则在AABB内利用各体素储存的距离场信息进行自适应光线步进。经实验证明,该算法有效解决了反射阴影贴图计算次级光源贡献时无法判断可见性的问题。

       

      Abstract: To address the limitation of the reflection shadow mapping algorithm in global illumination, where it fails to determine the visibility between the shading points and the secondary light sources, a novel algorithm is proposed. This algorithm achieves visibility determination by incrementally stepping the light path through voxels. The model is voxelized using Axis-Aligned Bounding Boxes (AABB) to record voxel and non-voxel information, and a distance field is generated within the AABB using voxel information. Initially, preliminary visibility judgment is performed by intersecting the ray connecting the secondary light source and the shading point with the AABB. If the ray intersects with the AABB, adaptive ray marching is performed within the AABB using the distance field information stored in each voxel. Experimental results show that the algorithm can effectively solve the problem that the visibility cannot be judged when the reflection shadow map calculates the contribution of the secondary light source.

       

    /

    返回文章
    返回