I may be missing something but I recently got a huge bill for my API usage.
Which had me wondering if it’s possible to pre-load geo for specific locations.
It seems that this is must be the case since the Cesium Samples project has a bunch of pre-loaded levels.
But I can’t see anywhere that allows the user to save the cached data into a level…
I’m still looking but it looks awkwardly hard especially when you press play as it seems to forget what you had loaded.
I may be missing something but I recently got a huge bill for my API usage.
Which API did you get billed for?
It seems that this is must be the case since the Cesium Samples project has a bunch of pre-loaded levels.
The Cesium for Unreal Samples project doesn’t have any data built into it. It’s all streamed from the internet, mostly Cesium ion. Even a small city would be many gigabytes of data at a moderate resolution.
I just got back from Google and it turns out the majority of my bill was from the Geocoding and Directions APIs.
I guess it wouldn’t really be as expensive as I thought because the 3D Tiles wasn’t actually the culprit.
I think I made too many calls for directions as I was testing.
But based on your response, maybe what you’re saying is that once you load an area, it can’t be kept in the scene? Like once you’ve cached an area, it can’t be saved in a scene so that you don’t need to load it again? Even if I don’t need it asap, I am still curious if this is possible.
But based on your response, maybe what you’re saying is that once you load an area, it can’t be kept in the scene? Like once you’ve cached an area, it can’t be saved in a scene so that you don’t need to load it again? Even if I don’t need it asap, I am still curious if this is possible.
No, in fact this would be a violation of the terms of use of most data providers, especially Google.
We do keep tiles in a local disk cache, following the rules of the HTTP headers included in the tile responses. This means tiles from Cesium ion are cached forever (until the cache fills up, of course, and then the least recently used are ejected), but Google currently sets headers that effectively disable caching.
I didn’t notice the 3D Tiles API at all in my billing.
That’s because it’s currently experimental, and there is no charge for it during the experimental period.
What should I expect to be in the bill from Cesium? I thought 3D Tiles was where I’d expect the cost to come from.
I’m not sure what you mean by “from Cesium”? Using Cesium for Unreal itself is free, and the plugin is open source. If you’re using Cesium ion (and we hope you will!), the pricing looks like this: Pricing Plans – Cesium
The Google Photorealistic 3D Tiles come direct from Google.