SoftwareX (May 2025)

Compression of triangulated solids’ surfaces by Decimating Reconstructable Triangles

  • B. Repnik,
  • B. Žalik,
  • K. Rizman Žalik

DOI
https://doi.org/10.1016/j.softx.2025.102179
Journal volume & issue
Vol. 30
p. 102179

Abstract

Read online

This paper introduces a new programming solution for reducing the size of files needed to store 3D geometric solids, whose surfaces are interpolated by watertight irregular triangle meshes. Unlike other approaches, the software does not introduce any special storage data format, but, instead, utilises popular CAD formats such as STL, OBJ, or PLY. This increases the software’s interoperability significantly. The software comprises an encoder and a decoder. The encoder estimates which facets may be removed in such a way that they can later be reconstructed unambiguously by the decoder. The decoder also ensures that the reconstructed triangles are oriented correctly. The encoder and the decoder are straightforward to understand and to implement. They are asymmetric, making any potential programming error easier to identify and correct.

Keywords