arXiv:2608.12142cs.CGAug 2026

Manuscript Offprint

arXiv:2608.12142

Topology-Preserving Meshing of Implicit Scalar Fields via Monotonicity Constraints

Tanner Finken, Jixian Li, Bei Wang, Hanqi Guo, Joshua A. Levine

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Topological analysis of scalar fields yields structures such as the Morse–Smale complex (MSC) that summarize salient features across multiple scales. Existing MSC extraction algorithms typically assume an explicit representation of the input field, such as a discretely sampled mesh. However, recent advances in visualization have popularized implicit field representations, for which these assumptions no longer hold. In this work, we address the problem of extracting an MSC from an implicitly defined 2D scalar field. We present a method for constructing a triangulated piecewise-linear (PL) mesh that aims to preserve the critical points of an underlying implicit scalar field. Our central insight is that if all edges are monotonic with respect to the underlying field, then the resulting PL approximation is topologically consistent with respect to critical points. Based on this insight, we introduce a refinement procedure that mitigates monotonicity violations. Requiring only pointwise evaluations and modest mesh refinement, the approach produces PL meshes that are correct with regards to critical points in our experiments. Finally, we demonstrate that additional targeted refinement improves the geometric fidelity of MSC separatrices.

Index Terms: Implicit scalar fields, Morse–Smale complexes, implicit neural representations, mesh refinement

1 INTRODUCTION

Scalar fields are widely used to represent phenomena arising from both observational data and numerical simulations. Formally, a scalar field is a function, typically assumed to be at least continuous, that assigns a scalar value to every point in a domain. In visualization, representing such fields involves a tradeoff between accuracy and storage. Broadly, representations fall into two categories: explicit and implicit. We refer to explicit representations as those defined on meshes or grids, where interpolation reconstructs the field from discrete samples. In contrast, implicit representations describe the field through functional forms, either globally (e.g., a single analytic expression) or via a sparse set of local primitives such as spline patches.

Both representations have distinct advantages and limitations. Historically, visualization has favored explicit representations because they map naturally onto standard computational pipelines. For continuous fields, however, the accuracy of an explicit representation depends on sampling density; achieving high fidelity may require very dense sampling, which increases storage costs and can limit scalability. These tradeoffs have motivated renewed interest in implicit representations, including multivariate functional approximation (MFA) [24] and neural models such as implicit neural representations (INRs) for volumetric data [28, 18]. Despite these advantages, extracting global feature descriptors, particularly topological structures, from implicit representations remains challenging.

Topological data analysis provides a suite of techniques for analyzing fields by computing, visualizing, and summarizing their structure. One particularly useful construct is the Morse–Smale complex (MSC). The MSC partitions the domain into regions within which all points share the same ascent to a maximum and descent to a minimum. Most methods for extracting MSCs assume a discrete representation of the input [1, 7, 10, 12, 13, 21, 26, 27, 31], largely because they require explicit knowledge of each point's neighborhood. Consequently, extracting an MSC from an implicitly defined scalar field presents two primary options.

The first option is to pursue a direct extraction, which is challenging due to the oracular nature of implicit representations. Evaluating the field at a given point requires computing it on the fly, necessitating carefully designed methods for operations such as root-finding [20]. Nevertheless, under certain assumptions about the implicit form, this approach can be made tractable. For example, in the setting of MFAs, recent work by Ma et al. has demonstrated promising results in recovering critical points [20] and other topological descriptors such as contours, Jacobi sets, and ridge-valley graphs [19]. In the context of INRs, Feng et al. [11] propose training strategies that improve topological fidelity by coupling the model with adaptive extraction of topological features.

Alternatively, one can reconstruct an explicit mesh that approximates the implicit representation and then apply existing MSC extraction methods. This approach must address a key issue of topological consistency, as the meshing process can introduce discrepancies relative to the underlying implicit function. At the same time, an explicit mesh can be valuable beyond topological analysis: many standard visualization tasks, such as cropping, contouring, and rendering, are more naturally performed on meshed data.

In this work, we focus on extracting a topologically consistent explicit representation that seeks to recover all critical points of the implicit function in the resulting piecewise-linear (PL) mesh, up to a prescribed resolution. Our approach is motivated by the theoretical observation that critical point consistency is achieved when all mesh edges are monotonic with respect to the underlying function. Because certifying this condition is impractical for implicit fields accessible only through pointwise evaluations, we instead adopt a sampling-based strategy to detect and resolve monotonicity violations. We further refine the mesh to better capture the geometry of the MSC, particularly its separatrices. Our contributions include:

• We characterize the mesh conditions required to ensure topological consistency of critical points, showing that all mesh edges must be monotonic with respect to the underlying Morse function.

• Guided by this characterization, we develop a refinement algorithm that requires only pointwise evaluations of the function and its derivative to detect and resolve monotonicity violations. The resulting meshes better satisfy the theoretical conditions and produce more accurate MSC separatrices.

References (32)