DOI: 10.1111/cgf.70552 ISSN: 0167-7055

An Accelerated Clip Algorithm for Unstructured Meshes: A Batch‐Driven Approach Using Data‐Parallel Primitives

Spiros Tsalikis, Will Schroeder, Daniel Szafir, Kenneth Moreland

Abstract

The clip technique is a widely used method for visualizing complex structures in 3D unstructured meshes. Similar to isocontouring, clipping relies on scalar data associated with the mesh points—including values produced by implicit functions such as planes, boxes and spheres—that, when compared to a given scalar isovalue, visually reveals internal mesh features that would otherwise be hidden. In this paper, we present a novel batch‐driven algorithm derived from a sequential clip algorithm for high‐quality partial volume extraction. Our method consists of six passes, each progressively processing data to produce the final clipped unstructured mesh. The key innovation is the use of fixed‐size batches of points and cells, which enable rapid workload trimming and parallel processing using data‐parallel primitives, resulting in significantly reduced memory footprint and faster run times compared to both VTK's sequential and Viskores' approaches. Our method achieves 3.7x and 34.7x run‐time speed‐ups on 1 and 128 CPU threads, respectively, and 13.9x on the GPU, while reducing memory‐footprint by up to 4.5x on the CPU and 12.9 on the GPU. The software is currently available under an open‐source license in the VTK and Viskores visualization systems.

More from our Archive