My code is drawing country and state borders on a Globe using Polylines
This was working fine in 100.1, I upgraded to 100.2 today and now I'm seeing this...
Any thoughts?
Yikes. Are you able to share a repro. so we can see if we can fix it (and possible give you a workaround)
Pretty simple, add virtually any complex polyline with absolute and dynamic settings (problems also occur with draped vs. absolute, but not as extreme)....
An example:
GraphicsOverlay mapOL = new GraphicsOverlay(); mapOL.SceneProperties.SurfacePlacement = SurfacePlacement.Absolute; mapOL.RenderingMode = GraphicsRenderingMode.Dynamic; Random rnd = new Random(); for(int i = 0; i<100; i++) { var lineSymbol = new SimpleLineSymbol() { Color = Colors.White }; var polyLine1 = new PolylineBuilder(SpatialReferences.Wgs84); double lat = 30 + (rnd.NextDouble() * 20); double lon = -125 + (rnd.NextDouble() * 60); for (int j = 0; j<100; j++) { lat += 0.5 - (rnd.NextDouble()); lon += 0.5 - (rnd.NextDouble()); polyLine1.AddPoint(lon, lat, 1000); } mapOL.Graphics.Add(new Graphic() { Geometry = polyLine1.ToGeometry(), Symbol = lineSymbol, ZIndex=5 }); }
Thank you! I've reproduced the issue and forwarded it to the 3D rendering team
Problem identified and fix incoming. Expected* to be available in an soon to be released patch update..
Thank you for reporting this!
*pending the usual caveats that it's still in testing, release plans can change etc.
Do I get bonus points?
But of course!
Just to follow up that fix has been made and tested, so should be in the next release.
Please try again using v100.2.1 that we just released and see if that doesn't make the lines a lot better looking.
Thank you for the bug report.