CUDA-based Signed Distance Field Calculation for Adaptive Grids

We present a simple yet robust signed distance field (SDF) generator based on recent GPU architectures. In our approach, the squared Euclidean distance is calculated for each triangle face in parallel, and then an optimized stream reduction process is used to find the shortest distance. During this process, the stream reduction operation acts like a parallel binary space-searching routine for each level. This process uses computations and memory bandwidth efficiently because of the massive number of CUDA threads. Signs are then determined by calculating angleweighted pseudonormals. Unlike some previous SDF approaches that only calculate the SDF near the surface or within the bounding box, our method can calculate the SDF adaptively so that there are no limitations on proximity or regularity. We also compare our GPU-based results with a kd-tree based single CPU approach for a 3D geometry synthesis application.

[1]  S. Avidan,et al.  Seam carving for content-aware image resizing , 2007, SIGGRAPH 2007.

[2]  Chang-Hun Kim,et al.  Adaptive Synthesis of Distance Fields , 2012, IEEE Transactions on Visualization and Computer Graphics.

[3]  Leonard McMillan,et al.  A procedural approach to authoring solid models , 2002, SIGGRAPH.

[4]  Ares Lagae,et al.  Geometry synthesis by example , 2005, International Conference on Shape Modeling and Applications 2005 (SMI' 05).

[5]  Sylvain Lefebvre,et al.  Compressed Random-Access Trees for Spatially Coherent Data , 2007, Rendering Techniques.

[6]  Jakob Andreas Bærentzen,et al.  3D distance fields: a survey of techniques and applications , 2006, IEEE Transactions on Visualization and Computer Graphics.

[7]  Ron Kimmel,et al.  Fast Marching Methods , 2004 .

[8]  Sylvain Lefebvre,et al.  Appearance-space texture synthesis , 2006, ACM Trans. Graph..

[9]  James F. O'Brien,et al.  Interpolating and approximating implicit surfaces from polygon soup , 2004, SIGGRAPH Courses.

[10]  Jakob Andreas Bærentzen,et al.  Signed Distance Computation Using the Angle Weighted Pseudonormal , 2005, IEEE Trans. Vis. Comput. Graph..

[11]  Dinesh Manocha,et al.  OBBTree: a hierarchical structure for rapid interference detection , 1996, SIGGRAPH.

[12]  David H. Eberly,et al.  3D Game Engine Design , 2001 .

[13]  Hubert Nguyen,et al.  GPU Gems 3 , 2007 .

[14]  S. Mauch A Fast Algorithm for Computing the Closest Point and Distance Transform , 2000 .

[15]  Dieter W. Fellner,et al.  Hierarchical spherical distance fields for collision detection , 2006, IEEE Computer Graphics and Applications.

[16]  Ronald N. Perry,et al.  Adaptively sampled distance fields: a general representation of shape for computer graphics , 2000, SIGGRAPH.

[17]  J. Baerentzen,et al.  Signed distance computation using the angle weighted pseudonormal , 2005, IEEE Transactions on Visualization and Computer Graphics.

[18]  Markus H. Gross,et al.  Signed distance transform using graphics hardware , 2003, IEEE Visualization, 2003. VIS 2003..