Journal of System Simulation ›› 2017, Vol. 29 ›› Issue (11): 2723-2731.doi: 10.16182/j.issn1004731x.joss.201711018

Previous Articles     Next Articles

CoverageDetecting Algorithm Based on Sub-Pixel GeometricPrimitives

Li Hua1,2, Yang Huamin1,2*, Han Cheng1,2, Zhao Jianping1,2   

  1. 1. School of Computer Science and Technology, Changchun University of Science and Technology, Changchun130022, China;
    2. National Local combined Engineering Research Center of Special Film Technology and Equipment, Changchun130000, China
  • Received:2016-05-31 Published:2020-06-05

Abstract: A hard shadow anti-aliasing rendering algorithm with sub-pixel accuracywas proposed. The method focused on addressing aliasing artifacts of the shadow map due to the sample density mismatching between light space and camera space. The method extracted geometric primitives from the scene's front view from a light source and storedscene visible triangles with fixed-size and local approximation using conservative rasterization; An algorithm was proposed to detect the covered plurality primitives in one texel based on the texel's vertices, and reconstruct testing depth of shadow ray precisely. The experiment results showed that covered primitives' detection algorithm was able toidentify more than 90% triangles implicated in one texel. This method reduced jagged shadows effectively compared with standard shadow mapping.

Key words: shadow map, hard shadows, sub-pixel, anti-aliasing, primitives

CLC Number: