It only takes a few nanoseconds to sample values. This allows a few cool things, for example, a renderer can sample the value without having to decompress the volume.
Needless to say this would also work in simulations !
VQField doesn't try to make 1 model fit all use cases. Since VQ-VAE models are so tiny, it's easy to load them in memory and dispatch them accordingly. One could compress SDF fields while the other is working on compressing Vector fields.
Replying to @ZephirFXx
VQ/codebooks are powerful: compact indices, reusable local structure, cheap decode.
But the codebook is also the bottleneck. If the right pattern is not in it, the codec needs residuals, fallbacks, or accepts error.






