xuzhusheng / gltf-to-3d-tiles

Convert glTF model to Glb, b3dm and 3D tiles format.
MIT License
123 stars 35 forks source link

Handle multiple buffers correctly #14

Closed Deguerre closed 1 year ago

Deguerre commented 1 year ago

Handle the case where a glTF file has multiple buffers. This has the nice effect of reducing memory usage and tile size considerably, if you create a glTF with one buffer per mesh or per bufferView.

There are also some fixes for buffer alignment. Tilesets are now almost clean if you run them through CesiumGS/3d-tiles-validator. (And by "almost", I mean "not yet".)