how to load NewYork 3d-tiles in gzip format?

Hi everyone

I am trying to load the NewYork 3d-tiles in NewYork 3D Tiles example.

I downloaded the data and tried to load it into sandcastle. But I failed.

Then I ungzip the data by using the 3d-tiles-tool. Now I can load the ungzipped NewYork tiles.

What I want to know is Can I load the gzipped data directly? And How?

Thanks.

You can configure the server to ungzip content when requested. If you are using a server.js similar to the one in the 3d-tiles-samples, you can replace it with the server.js I attached here.

server.js (6.39 KB)

Thank your, Sean
That helps a lot.

在 2016年11月14日星期一 UTC+8下午10:57:47,Sean Lilley写道: