For some time now we at Windplanner have been making excessive use of Cesium in our product. We’ve created beautifull Wind Turbine visuals with our Windplanner application together with Cesium and made a lot of customers happy and on that aspect we absolutly love using Cesium.
However for about a year now we have been working on a new project involving transmission towers. In this project we use a lot of small details regarding towers and conductors (cables between the towers) and we’ve been running into some serious anti allias limitations of Cesium when it comes to properly handling polylines and models like transmission towers and transmission cables (very thin lines). Due to the small nature of the cables and the connections in the towers.
Regarding this issue we have been active in contacting the people at Cesium themselfs and looking for workarounds on the github and forums.
The first one, the solutions coming from Cesium, mentioned that one of the main issues with our problem is the current anti aliasing method FXAA and it’s limitation, of which imporiving there to MSAA would require Cesiums render engine to be upgraded internally “Or so I was told”
The second option, looking for workarounds, only helped a little. We are making use of the “Resolution Scaling” option. Which does some reasonable work - see pictures below - but heavily relies on the customer also having a really good pc to support it, this just isn’t the case most of the time. Other options were making cables thicker - see pictures below - and using a custom distance display condition. Which also makes it a bit better but does not equal the results we’d like to see.
Imgur: The magic of the Internet - Shows the towers and cables inside a panarama using our custom panorama viewer inside the cesium world.
Imgur: The magic of the Internet - shows the towers and cables in the plain cesium world
Here’s a list of results we got using some of the workarounds.
Like shown, at close range the tower and cables look fine. the problem arises when a user has to look at it from a distance. The cables become partly visible and the towers start getting some dither patterns.
We’ve also been looking at this post https://groups.google.com/g/cesium-dev/c/XXXBFSYgb7s/m/SLZ0WokbCAAJ but to no avail, perhaps because we don’t really know what settings would be good but using the values in that post doesn’t result in the visuals we want to show.
Last but not least proper anti alias for thin lines still looks like a challenge for Cesium. See also this post of 30th Sep 2019 Fix aliasing on thin models · Issue #8228 · CesiumGS/cesium · GitHub. If somebody has a quick solution or workaround please let us know because we are running in real problems with our customers and have no options left.