Open martinweismann opened 2 years ago
Even better: Add three images for how to encode levelset information: signed distance, narrow band SDF, high resolution binary/black and white image.
Let's explain how this is achieved in the png (truncating values). and that this gives much better compression.
2.1.1 File Formats
Referencing a narrow band here is misleading without giving more context. Why is the narrow band mentioned here? One may exploit the "narrow band" concept for better compression by scaling the scalar function so that it will be clamped inside narrow band, thus most of the pixels will be 0/255 or 0/65535.
Extracted from https://github.com/3MFConsortium/spec_volumetric/issues/42