Monday, September 5, 2016

Signed Distance Field Volume Compression

Here is a voxelized stanford dragon mesh. 
Longest axis is 512 here.
 Uncompressed, the volume is ~200mb(f32). 
Spent some time working on a compression method. 
 It supports random access without prior decompression like S3/dxt.
It turns out SDFs are very compressible if you think about which information really matters.
Lossy, but not really observable. 
 New size: 3.39 mb in memory
On disk with zstd(22): ~800kb  

Here are some papers to investigate in the future, although these do not store SDF's, they are more like SVO and only store filled/not filled.

And this one for storing color information.