Hello folks
I’m new with Cesium. I am working on an unreal project, where we use cesium to display our city mesh and so far i really like the tool.
We are in a situation where i have the feeling that we are re-inventing the wheel and i’m exploring options to get the most out of cesium.
Basically, we want to use like custom json files to define objects to be spawn in space like custom aerial zone, waypoints, stuff like that. so right now, we made a custom actor that spawn shapes in our scene (using cesium georeferences to convert lat/lng to scene coordinates), and it’s working
As I was looking into better solutions, I kind of convinced mysef that :
- we should use 3d geojson format to define our stuff properly instead of custom json objects
- there must be a solution to pass our custom objects to cesium-ion api directly and let cesium do the heavy job instead of creating custom stuff on our Unreal side.
What i found so far:
- it’s possible to feed cesium-ion with a geojson file directly. However, while it would be working in a cesiumJS client, cesium-unreal doesn’t want to retrieve that object in unreal, claiming geojson is not supported.
- I am able to feed cesium-ion with a fbx and visualize it in unreal. (I would have love to be able to do that with a json)
- From what i understand, I need to find a workaround to first convert my geojson to a 3d object , and then i would theorically able to convert that into a “3d tile” with cesium-ion, that cesium-unreal will accept to display
I wish there were a direct solution like with cesiumJS, as it is exactly what i want:
Does anyone have a working solution for this late 2024 years ? Or should I dive into this pipeline idea of converting geojson files to meshes, then host this mesh with cesium-ion, then retrieve it in unreal as a 3d tile ? (But at the end, this sound as painful as our initial solution )
Love to hear your thoughts and ideas
Thanks everyone