CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
881 stars 286 forks source link

Allow Cesium Cartographic Polygon to use non-linear point types. #706

Open argallegos opened 2 years ago

argallegos commented 2 years ago

Suggested here.

Currently the Cesium Cartographic Polygon spline is locked to Linear. Curves can make drawing out these splines much easier, quicker, and more natural looking. It would be great to be able to switch the mode.

@nithinp7 mentioned that the reason it's locked to linear is because polygons with straight lines are much easier/faster to rasterize on the fly. Rasterization of arbitrary splines would introduce a lot of complexity in the code, and may also make it impossible to cull tiles that are entirely within the selection.

So probably not an easy fix, but worth considering at some point.

csciguy8 commented 2 months ago

Relates to a similar request in Cesium for Unity, https://github.com/CesiumGS/cesium-unity/issues/439