Extending IndexBufferCompression to also support vertex compression.
C++ C Objective-C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitattributes
.gitignore
LICENSE
indexbuffercompressionformat.h
indexbufferdecodetables.h
indexbufferencodetables.h
indexcompressionconstants.h
meshcompression.cpp
meshcompression.h
meshcompressionconstants.h
meshdecompression.cpp
meshdecompression.h
readbitstream.h
readme.md
writebitstream.h

readme.md

Vertex Cache Optimised Mesh Compression

This is a proof of concept library expanding on previously presented index buffer compression mechanisms and adding compression for vertices as well.

How does it work?

Basically, it expands on the index buffer compression using a parallelogram predictor and a kind of universal code (related to exponential golomb) along with an exponential moving average to give fast adaptive compression for vertex attributes. A more complete version of this is outlined in this blog post.