I am trying to create irregular polygons of regions on earth and have it on cesium terrain in unreal. I have polygon vertices in latitude longitude values. So i want to convert these in unreal co-ordinates and create assets in blender. i could use cesium georeference transform functions to get unreal co-ordinates. But since there are millions of vertices for my 3000 polygons, i want to know how can i have these conversion done from lat lon to unreal co-ordinates using the georeference classes similar to cesium C++ but outside of unreal, like in python scripts.
There’s no direct or built-in solution for this. I think there’s a way to use Python to automate Unreal Engine, so that might be an option, but I don’t know anything about it myself. You could also just get the ECEF to Unreal transformation matrix from the CesiumGeoreference, copy those 16 numbers into a python script or whatever, and use a Python matrix/vector library (I don’t know specifics, but I’m sure there are plenty of options for this) to do the transformation.