Fast and Exact Winding Numbers for Triangle Meshes
Peiyuan Xie, Christian Hafner, Chris Wojtan
Abstract
We revisit the computation of 3D generalized winding numbers, a useful measure for inside-outside classification on triangle meshes with gaps, self-intersections, and open boundaries. At the core of our new method is an analytical reduction of the surface integral that defines the winding number, resulting in a single ray-mesh intersection test and an elementary sum over boundary edges per evaluation. This construction is orders of magnitude more efficient than the state of the art in practice, which we show in an extensive performance benchmark. Conveniently, the method also reduces to the best-available asymptotic complexity in the worst case, and it introduces no approximations apart from floating-point errors. Our algorithm is conceptually simple to understand, straightforward to implement and debug, and it works reliably even on extremely noisy and corrupt input geometry.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 37cdd814-44f9-4ec5-94f4-982bde92ee2eBuilds on9
- Fast tetrahedral meshing in the wildYixin Hu, Teseo Schneider, Bolun Wang, Denis Zorin et al.SIGGRAPH 2020 · 182 citations
- Globally Consistent Normal Orientation for Point Clouds by Regularizing the Winding-Number FieldRui Xu, Zhiyang Dou, Ningna Wang, Shiqing Xin et al.SIGGRAPH 2023 · 67 citations
- RoboCut: hot-wire cutting with robot-controlled flexible rodsSimon Duenser, Roi Poranne, Bernhard Thomaszewski, Stelian CorosSIGGRAPH 2020 · 49 citations
- Winding Numbers on Discrete SurfacesNicole Feng, Mark Gillespie, Keenan CraneSIGGRAPH 2023 · 19 citations
- ETER: Elastic Tessellation for Real-Time Pixel-Accurate Rendering of Large-Scale NURBS ModelsRuicheng Xiong, Yang Lu, Cong Chen, Jiaming Zhu et al.SIGGRAPH 2023 · 11 citations
Related papers
- The Antipodal Method: Fast, Accurate, and Robust 3D Generalized Winding NumbersCedric Martens, Philip Trettner, Mikhail BessmeltsevSIGGRAPH 2026
- Spatially Accelerated Winding Numbers for Curved GeometryJacob Spainhour, Brad Whitlock, Kenneth WeissSIGGRAPH 2026
- Robust Containment Queries over Collections of Rational Parametric Curves via Generalized Winding NumbersJacob Spainhour, David Gunderman, Kenneth WeissSIGGRAPH 2024 · 10 citations
- Closed-form Generalized Winding Numbers of Rational Parametric Curves for Robust Containment QueriesShibo Liu, Ligang Liu, Xiao-Ming FuSIGGRAPH 2025 · 4 citations
- A Heat Method for Generalized Signed DistanceNicole Feng, Keenan CraneSIGGRAPH 2024 · 26 citations
