CesiumGS / 3d-tiles-tools

Apache License 2.0
313 stars 47 forks source link

Fix combine with external transforms #113

Closed javagl closed 7 months ago

javagl commented 7 months ago

Fixes https://github.com/CesiumGS/3d-tiles-tools/issues/112

The combine operation originally discarded the transform and boundingVolume of the input tilesets. This is fixed here.

The test case contains an example with a README.md and a short description. It takes a tileset with three external tilesets, each containing a unit cube, and defining a translation of red=(3,0,0), green=(0,4,0), blue=(0,0,5), and ensures that the combined tileset contains the proper bounding volumes and translations:

screenshot