Toward a Heterogeneous Pipeline for Real-Time LiDAR Surface Meshing
Introduction. LiDAR-based mapping systems often need to transform streams of unstructured point clouds into compact surface representations fast enough to support applications such as interactive inspection, robotics, simulation, storage, or downstream geometric processing. Point clouds are the natural output of LiDAR acquisition, but they lack explicit connectivity and often contain sampling gaps. In multi-frame settings, successive scans also introduce overlaps, and the accumulated data grows quickly over time. Meshes provide a more compact representation with explicit surface connectivity, making them suitable for rendering continuous surfaces, simplification, storage, and geometric processing. Constructing such meshes in real time, however, requires both high throughput and careful topological handling. This work presents a heterogeneous GPU-multicore pipeline for real-time incremental LiDAR mesh generation, with the goal of constructing and accumulating surface meshes directly from incoming LiDAR scans. Background. Existing online surface reconstruction methods relevant to multi-frame LiDAR meshing usually choose among a small set of representations. Volumetric approaches integrate multiple scans into an implicit truncated signed distance field (TSDF) or signed distance field (SDF), often stored in voxel grids or sparse volumetric data structures such as VDB grids, and extract or update triangles from that field [1, 2]. Surfel-based approaches maintain oriented surface samples and retriangulate local neighborhoods as the map evolves [3]. Recent LiDAR SLAM meshing systems construct mesh maps online more directly, fitting local surface models or hashing local map regions to support immediate triangle generation [4, 5, 6]. Together, these works show that online surface reconstruction and LiDAR meshing are feasible, while leaving room for a complementary design centered on GPU-friendly dense computation over scan-aligned grids to improve real-time throughput. Approach. Our design takes a different route from volumetric fusion, surfel maps, and voxel-wise local meshing by leveraging the LiDAR sensor geometry itself as the organizing structure. Each scan is inserted into a high-resolution 2D angular grid, where occupied cells store the range of the corresponding point, effectively producing a sparse range image. Initially, most grid cells remain empty, but the grid gives each return a stable angular neighborhood and keeps local meshing close to the sensor layout. Our algorithm uses this angular domain in two coupled forms: a scan grid for the current LiDAR frame and an accumulated-depth grid for the mesh reconstructed so far. The scan grid represents the current observations, while the accumulated-depth grid summarizes the previously reconstructed surface projected to the current viewpoint. This depth grid acts as an overlap filter at two stages. First, scan samples already explained by the accumulated mesh are discarded before vertex creation. Second, newly generated faces are rejected when their projected footprint conflicts with existing geometry. At each frame, the current scan is projected into the scan grid, and the accumulated mesh is transformed into the current LiDAR frame and rasterized into the accumulated-depth grid. The scan grid is filled with ranges and point coordinates, while the accumulated-depth grid keeps the nearest previously reconstructed surface along each angular cell. Non-overlapping scan cells are promoted to mesh vertices with global identifiers. A vertex index map then propagates those identifiers to nearby empty cells inside bounded angular windows. A dense meshing stage forms fixed-diagonal candidate triangles from adjacent grid cells and filters them for geometric validity, overlap with the accumulated-depth grid, and duplicate faces. The resulting faces are passed to topology-oriented stages that remove non-manifold local configurations and stitch compatible boundary paths from the accumulated mesh and the current-frame mesh. Overall, the pipeline is split into two computational regimes. First, the scan-aligned part is regular, data-parallel, and naturally expressed over angular grids and compact face arrays. Second, the repair and stitching part is irregular because it depends on mesh connectivity, boundary structure, and local validity checks. The current CUDA implementation accelerates the dense regime, while repair and stitching define the irregular CPU/OpenMP side of the heterogeneous pipeline. Preliminary results. The implemented pipeline processes a 100-frame Mai City [7] dataset segment in 2.14 ms/frame on average using an Intel Core i7-13700K CPU and an NVIDIA RTX 4070 GPU. As a point of reference, recent online LiDAR meshing systems commonly report per-scan processing times on the order of tens of milliseconds [4, 5, 6], although the measured components and hardware differ. Our reported wall-clock time excludes file I/O but includes a complete call to this pipeline, including per-frame point upload, GPU pipeline work, CUDA synchronization, final GPU-to-CPU mesh download, and host-side construction of the accumulated mesh arrays. The final accumulated mesh contains 1,776,848 vertices and 695,200 faces. These timings should be interpreted as a throughput indicator for the implemented dense meshing and accumulated-depth overlap stages, not as a final end-to-end latency for the complete incremental meshing pipeline. The current implementation does not yet include mesh repair and stitching, and these topology-oriented stages may increase the per-frame cost. Detailed profiling of the current implementation shows that the largest costs are vertex-index-map filling and accumulated-depth rasterization. Conclusions. The results support the proposed approach as a promising route to incremental LiDAR meshing. Its implementation separates dense scan-aligned operations, handled on the GPU, from mesh repair and stitching stages required for a globally consistent accumulated mesh, handled on the CPU. The next step is to integrate these stages and report complete-pipeline timings. Nonetheless, even at the current stage, the measured pipeline shows that the dense angular-grid and accumulated-depth parts can run at real-time rates on the tested segment, making the algorithmic structure and the regular/irregular heterogeneous split a practical basis for the full system.
keywords: LiDAR surface meshing, real-time reconstruction, heterogeneous computing, incremental mesh generation