mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Added link to blog post.
This commit is contained in:
parent
e03e8f27c5
commit
adce641d6a
1 changed files with 3 additions and 1 deletions
4
3rdparty/ib-compress/README.md
vendored
4
3rdparty/ib-compress/README.md
vendored
|
@ -44,4 +44,6 @@ the current index, incrementing it afterwards. This has the benefit of also mean
|
|||
|
||||
That's a better question! While my thoughts were that in theory it would average around 11-12bits a triangle, the Stanford Armadillo mesh (optimised with Tom Forsyth's vertex cache optimisation algorithm), with 345944 triangles, compresses the index buffer down to 563122 bytes, which is more like 13 and the Stanford Bunny is 12.85bits or so. This is not anywhere near the state of the art in terms of compression (which get down to less than a bit), but that isn't the goal.
|
||||
|
||||
Performance wise, with the code posted here, the Armadillo compresses in 18.5 milliseconds and decompresses in 6.6 milliseconds on average on my system. The Stanford bunny is more like 1.4 milliseconds to decompress, relatively.
|
||||
Performance wise, with the code posted here, the Armadillo compresses in 18.5 milliseconds and decompresses in 6.6 milliseconds on average on my system. The Stanford bunny is more like 1.4 milliseconds to decompress, relatively.
|
||||
|
||||
https://conorstokes.github.io/graphics/2014/09/28/vertex-cache-optimised-index-buffer-compression/
|
||||
|
|
Loading…
Reference in a new issue