Skip to content

Combine sampled polygons into large polygon for artificial horizon regions

Hy Murveit requested to merge murveit/kstars:artificialhorizon-2 into master

This significantly speeds up the rendering of the red semi-transparent overlay for artificial horizons. Previously there were many polygons generated at each sample of the artificial horizon points. This MR generates many fewer polygons (with many more points each). It can speed up the rendering by a factor to 3-10 depending on the artificial horizons in use.

Merge request reports