Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Local Optimization for Robust Signed Distance Field Collision

Published: 04 May 2020 Publication History

Abstract

Signed distance fields (SDFs) are a popular shape representation for collision detection. This is due to their query efficiency, and the ability to provide robust inside/outside information. Although it is straightforward to test points for interpenetration with an SDF, it is not clear how to extend this to continuous surfaces, such as triangle meshes. In this paper, we propose a per-element local optimization to find the closest points between the SDF isosurface and mesh elements. This allows us to generate accurate contact points between sharp point-face pairs, and handle smoothly varying edge-edge contact. We compare three numerical methods for solving the local optimization problem: projected gradient descent, Frank-Wolfe, and golden-section search. Finally, we demonstrate the applicability of our method to a wide range of scenarios including collision of simulated cloth, rigid bodies, and deformable solids.

Supplementary Material

macklin (macklin.zip)
Supplemental movie, appendix, image and software files for, Local Optimization for Robust Signed Distance Field Collision

References

[1]
Jérémie Allard, François Faure, Hadrien Courtecuisse, Florent Falipou, Christian Duriez, and Paul G Kry. 2010. Volume contact constraints at arbitrary resolution. ACM Trans. Graph. 29, 4 (2010), 82.
[2]
Kinjal Basu and Art B Owen. 2015. Low discrepancy constructions in the triangle. SIAM J. Numer. Anal. 53, 2 (2015), 743--761.
[3]
James F Blinn. 1982. A generalization of algebraic surface drawing. ACM Trans. Graph. 1, 3 (1982), 235--256.
[4]
Jules Bloomenthal and Brian Wyvill. 1997. Introduction to Implicit Surfaces. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA.
[5]
Robert Bridson, Ronald Fedkiw, and John Anderson. 2002. Robust Treatment of Collisions, Contact and Friction for Cloth Animation. In Proceedings of the 29th Annual Conference on Computer Graphics and Interactive Techniques (San Antonio, Texas) (SIGGRAPH 02). Association for Computing Machinery, New York, NY, USA, 594--603. https://doi.org/10.1145/566570.566623
[6]
Sean Curtis, Rasmus Tamstorf, and Dinesh Manocha. 2008. Fast Collision Detection for Deformable Models Using Representative-Triangles. In Proceedings of the 2008 Symposium on Interactive 3D Graphics and Games (Redwood City, California) (I3D '08). Association for Computing Machinery, New York, NY, USA, 61--69. https://doi.org/10.1145/1342250.1342260
[7]
Christer Ericson. 2004. Real-Time Collision Detection. CRC Press, Inc., USA.
[8]
Kenny Erleben. 2018. Methodology for Assessing Mesh-Based Contact Point Methods. ACM Transactions on Graphics (TOG) 37, 3 (2018), 39.
[9]
Susan Fisher and Ming C. Lin. 2001. Deformed Distance Fields for Simulation of Non-Penetrating Flexible Bodies. In Computer Animation and Simulation 2001, Nadia Magnenat-Thalmann and Daniel Thalmann (Eds.). Springer Vienna, Vienna, 99--111.
[10]
Marguerite Frank and Philip Wolfe. 1956. An algorithm for quadratic programming. Naval research logistics quarterly 3, 1-2 (1956), 95--110.
[11]
Sarah F. Frisken, Ronald N. Perry, Alyn P. Rockwood, and Thouis R. Jones. 2000. Adaptively Sampled Distance Fields: A General Representation of Shape for Computer Graphics. In Proceedings of the 27th Annual Conference on Computer Graphics and Interactive Techniques (SIGGRAPH '00). ACM Press/Addison-Wesley Publishing Co., USA, 249--254. https://doi.org/10.1145/344779.344899
[12]
Arnulph Fuhrmann, Gerrit Sobotka, and Clemens Gross. 2003. Distance fields for rapid collision detection in physically based modeling. In International Conference on Computer Graphics and Vision '03. Proceedings. Eurographics, Moscow, Russia.
[13]
Elmer G Gilbert, Daniel W Johnson, and S Sathiya Keerthi. 1988. A fast procedure for computing the distance between complex objects in three-dimensional space. IEEE Journal on Robotics and Automation 4, 2 (1988), 193--203.
[14]
Eran Guendelman, Robert Bridson, and Ronald Fedkiw. 2003. Nonconvex Rigid Bodies with Stacking. ACM Trans. Graph. 22, 3 (July 2003), 871--878. https://doi.org/10.1145/882262.882358
[15]
David Harmon, Etienne Vouga, Rasmus Tamstorf, and Eitan Grinspun. 2008. Robust treatment of simultaneous collisions. ACM Trans. Graph. 27, 3 (2008), 23.
[16]
John C Hart. 1996. Sphere tracing: A geometric method for the antialiased ray tracing of implicit surfaces. The Visual Computer 12, 10 (1996), 527--545.
[17]
Reiner Horst and Hoang Tuy. 2013. Global optimization: Deterministic approaches. Springer Science & Business Media, Berlin Heidelberg.
[18]
Martin Jaggi. 2013. Revisiting Frank-Wolfe: Projection-Free Sparse Convex Optimization. In Proceedings of the 30th International Conference on Machine Learning (Proceedings of Machine Learning Research), Sanjoy Dasgupta and David McAllester (Eds.), Vol. 28. PMLR, Atlanta, Georgia, USA, 427--435.
[19]
Tero Karras. 2012. Maximizing Parallelism in the Construction of BVHs, Octrees, and k-d Trees. In Proceedings of the Fourth ACM SIGGRAPH/Eurographics Conference on High-Performance Graphics (Paris, France) (EGGH-HPG'12). Eurographics Association, Goslar, DEU, 33--37.
[20]
Jack Kiefer. 1953. Sequential minimax search for a maximum. Proceedings of the American mathematical society 4, 3 (1953), 502--506.
[21]
Dan Koschier, Crispin Deul, and Jan Bender. 2016. Hierarchical Hp-Adaptive Signed Distance Fields. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation (Zurich, Switzerland) (SCA '16). Eurographics Association, Goslar, DEU, 189--198.
[22]
Fuchang Liu and Young J Kim. 2013. Exact and adaptive signed distance fields computation for rigid and deformable models on gpus. IEEE transactions on visualization and computer graphics 20, 5 (2013), 714--725.
[23]
Miles Macklin, Matthias Müller, and Nuttapong Chentanez. 2016. XPBD: Position-Based Simulation of Compliant Constrained Dynamics. In Proceedings of the 9th International Conference on Motion in Games (Burlingame, California) (MIG '16). Association for Computing Machinery, New York, NY, USA, 49--54. https://doi.org/10.1145/2994258.2994272
[24]
Aleka McAdams, Yongning Zhu, Andrew Selle, Mark Empey, Rasmus Tamstorf, Joseph Teran, and Eftychios Sifakis. 2011. Efficient Elasticity for Character Skinning with Contact and Collisions. ACM Trans. Graph. 30, 4, Article 37 (July 2011), 12 pages. https://doi.org/10.1145/2010324.1964932
[25]
Nathan Mitchell, Mridul Aanjaneya, Rajsekhar Setaluri, and Eftychios Sifakis. 2015. Non-manifold level sets: A multivalued implicit surface representation with applications to self-collision processing. ACM Trans. Graph. 34, 6 (2015), 247.
[26]
Adam Moravanszky, Pierre Terdiman, and A Kirmse. 2004. Fast contact reduction for dynamics simulation. Game programming gems 4 (2004), 253--263.
[27]
Matthias Müller, Bruno Heidelberger, Marcus Hennix, and John Ratcliff. 2007. Position based dynamics. J. Vis. Comun. Image Represent. 18, 2 (April 2007), 109--118.
[28]
Rahul Narain, Armin Samii, and James F O'Brien. 2012. Adaptive anisotropic remeshing for cloth simulation. ACM Trans. Graph. 31, 6 (2012), 152.
[29]
Xavier Provot. 1997. Collision and self-collision handling in cloth model dedicated to design garments. In Computer Animation and Simulation '97, Daniel Thalmann and Michiel van de Panne (Eds.). Springer Vienna, Vienna, 177--189.
[30]
J. B. Rosen. 1960. The Gradient Projection Method for Nonlinear Programming. Part I. Linear Constraints. J. Soc. Indust. Appl. Math. 8, 1 (1960), 181--217.
[31]
J. B. Rosen. 1961. The Gradient Projection Method for Nonlinear Programming. Part II. Nonlinear Constraints. J. Soc. Indust. Appl. Math. 9, 4 (1961), 514--532.
[32]
Andrew Selle, Jonathan Su, Geoffrey Irving, and Ronald Fedkiw. 2008. Robust high-resolution cloth using parallelism, history-based collisions, and accurate friction. IEEE transactions on visualization and computer graphics 15, 2 (2008), 339--350.
[33]
Dario Seyb, Alec Jacobson, Derek Nowrouzezahrai, and Wojciech Jarosz. 2019. Non-linear Sphere Tracing for Rendering Deformed Signed Distance Fields. ACM Trans. Graph. 38, 6, Article 229 (Nov. 2019), 12 pages.
[34]
Eftychios Sifakis and Jernej Barbic. 2012. FEM Simulation of 3D Deformable Solids: A Practitioner's Guide to Theory, Discretization and Model Reduction. In ACM SIGGRAPH 2012 Courses (Los Angeles, California) (SIGGRAPH '12). Association for Computing Machinery, New York, NY, USA, Article 20, 50 pages. https://doi.org/10.1145/2343483.2343501
[35]
J. Stam. 2009. Nucleus: Towards a unified dynamics solver for computer graphics. In 2009 11th IEEE International Conference on Computer-Aided Design and Computer Graphics. IEEE, USA, 1--11. https://doi.org/10.1109/CADCG.2009.5246818
[36]
Matthias Teschner, Stefan Kimmerle, Bruno Heidelberger, Gabriel Zachmann, Laks Raghupathi, Arnulph Fuhrmann, M-P Cani, François Faure, Nadia Magnenat-Thalmann, Wolfgang Strasser, et al. 2005. Collision detection for deformable objects. In Computer graphics forum, Vol. 24. Wiley Online Library, USA, 61--81.
[37]
Bin Wang, François Faure, and Dinesh K. Pai. 2012. Adaptive Image-based Intersection Volume. ACM Trans. Graph. 31, 4, Article 97 (July 2012), 9 pages.
[38]
Nicholas J Weidner, Kyle Piddington, David IW Levin, and Shinjiro Sueda. 2018. Eulerian-on-lagrangian cloth simulation. ACM Trans. Graph. 37, 4 (2018), 50.
[39]
Brian Wyvill, Andrew Guy, and Eric Galin. 1999a. Extending the CSG Tree. Warping, Blending and Boolean Operations in an Implicit Surface Modeling System. Computer Graphics Forum 18, 2 (1999), 149--158. https://doi.org/10.1111/1467--8659.00365
[40]
Brian Wyvill, Andrew Guy, and Eric Galin. 1999b. Extending The CSG Tree. Warping, Blending and Boolean Operations in an Implicit Surface Modeling System. Comput. Graph. Forum 18 (06 1999), 149--158.
[41]
Hongyi Xu and Jernej Barbic. 2014. Continuous Collision Detection Between Points and Signed Distance Fields. In Workshop on Virtual Reality Interaction and Physical Simulation, Jan Bender, Christian Duriez, Fabrice Jaillet, and Gabriel Zachmann (Eds.). The Eurographics Association, Bremen, Germany. https://doi.org/10.2312/vriphys.20141218
[42]
Hongyi Xu, Yili Zhao, and Jernej Barbic. 2014. Implicit multibody penalty-based distributed contact. IEEE Trans. Vis. Comput. Graph. 20, 9 (2014), 1266--1279.

Cited By

View all
  • (2024)IF-Garments: Reconstructing Your Intersection-Free Multi-Layered Garments from Monocular VideosProceedings of the 32nd ACM International Conference on Multimedia10.1145/3664647.3681222(6588-6597)Online publication date: 28-Oct-2024
  • (2024)Robust and Artefact‐Free Deformable Contact with Smooth Surface RepresentationsComputer Graphics Forum10.1111/cgf.15187Online publication date: 17-Oct-2024
  • (2024)Convex Body Collision Detection Using the Signed Distance FunctionComputer-Aided Design10.1016/j.cad.2024.103685170:COnline publication date: 1-May-2024
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Proceedings of the ACM on Computer Graphics and Interactive Techniques
Proceedings of the ACM on Computer Graphics and Interactive Techniques  Volume 3, Issue 1
Apr 2020
161 pages
EISSN:2577-6193
DOI:10.1145/3395964
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 04 May 2020
Published in PACMCGIT Volume 3, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. collision detection
  2. contact generation
  3. signed distance fields
  4. simulation

Qualifiers

  • Research-article
  • Research
  • Refereed

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)260
  • Downloads (Last 6 weeks)37
Reflects downloads up to 09 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)IF-Garments: Reconstructing Your Intersection-Free Multi-Layered Garments from Monocular VideosProceedings of the 32nd ACM International Conference on Multimedia10.1145/3664647.3681222(6588-6597)Online publication date: 28-Oct-2024
  • (2024)Robust and Artefact‐Free Deformable Contact with Smooth Surface RepresentationsComputer Graphics Forum10.1111/cgf.15187Online publication date: 17-Oct-2024
  • (2024)Convex Body Collision Detection Using the Signed Distance FunctionComputer-Aided Design10.1016/j.cad.2024.103685170:COnline publication date: 1-May-2024
  • (2023)Neural Collision Fields for Triangle PrimitivesSIGGRAPH Asia 2023 Conference Papers10.1145/3610548.3618225(1-10)Online publication date: 10-Dec-2023
  • (2023)Shortest Path to Boundary for Self-Intersecting MeshesACM Transactions on Graphics10.1145/359213642:4(1-15)Online publication date: 26-Jul-2023
  • (2023)Interactive Hair Simulation on the GPU using ADMMACM SIGGRAPH 2023 Conference Proceedings10.1145/3588432.3591551(1-11)Online publication date: 23-Jul-2023
  • (2023)DiSECt: a differentiable simulator for parameter inference and control in robotic cuttingAutonomous Robots10.1007/s10514-023-10094-947:5(549-578)Online publication date: 12-Apr-2023
  • (2023)Continuous gap contact formulation based on the screened Poisson equationComputational Mechanics10.1007/s00466-023-02309-872:4(707-723)Online publication date: 29-Mar-2023
  • (2022)GenSDFProceedings of the 36th International Conference on Neural Information Processing Systems10.5555/3600270.3602076(24905-24919)Online publication date: 28-Nov-2022
  • (2022)Contact and friction simulation for computer graphicsACM SIGGRAPH 2022 Courses10.1145/3532720.3535640(1-172)Online publication date: 2-Aug-2022
  • Show More Cited By

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media