Hi,
In order to load local 3DTiles into Cesium (in Unity), I’ve extracted the 3DTiles to a folder and changed the URL from http://xxxx to D:\tileset\xxxx, and it worked.
As I now have a large tileset, extracting it is cumbersome, so I need a way to display the tileset directly from a 3TZ file.
Is that possible? How can I make it work without a remote server or extracting the files?
There is a function in the ‘3d-tiles-tools’ for this.
The pull request with such a server has been merged recently. But note that the version that contains this function was not released yet (and the function is not yet documented), so you’d have to run it from a local clone for now.
With
npx 3d-tiles-tools serve -i ./yourFile.3tz
you should be able to serve the data locally, and can then access it via ‘localhost’ from CesiumJS.
(Hopefully, the new version (and the corresponding documentation) can be released soon).