Skip to content

IO-Extensions + Marching Cubes Color Interpolation

Philipp Seiwald requested to merge graphics_extensions into dev-v2

This includes various extensions for input-output operations (compression, PNM file format, serialization). Moreover, color interpolation for meshes generated by the Marching Cubes algorithm is extended.

New Features

  • [io]:
    • Added convenience methods to namespace filesystem for writing/reading compressed/uncompressed files.
    • Added namespace compression containing methods for in-memory compression and decompression using zlib.
    • Added class PNMFile which implements the Portable Anymap file format for raster graphics. This includes the Portable Bitmap (BPM), Portable Graymap (PGM), and Portable Pixmap (PPM) formats (in 8-bit and 16-bit depth).
    • Class PLYFile now offers the option to write directly to a compressed file. Also it allows to directly read from a compressed file.
    • Class serialization::SerializableData now offers the option to automatically compress/decompress the payload data (disabled by default). This is meant to improve network performance for large data objects.

Non-Breaking Changes

  • [geometry]:
    • CGMeshFactory::createVolumeMarchingCubes() now has an additional option to enable interpolation of colors (default behaves as previous version).

Merge request reports