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
Appolonian |
Also spent a lot of time working on the controls.
Making it easier to select and adjust the current shape,
trying to exposing the various knobs in a way that feels intuitive.
I also added the ability to splat vertex colors into a 3D volume.
It looks "ok", although compared to texturing it is low detail.
I'll got a few ideas on how to convert a UV textured mesh into a voxel format, that I am planning to try out.