Transparency + draw black outline = dark trackline color

gynta shared this problem 5 years ago
Closed

AETaFsSydvp392Dz3dDVlike this...


MAVFJnYcgvrFm4rRFKkY

Comments (4)

photo
1

Hello gynta,


this is a long known "problem". It's caused by a way, how lines are drawn. Outline isn't just a thin line on sides of inner line, but it's just same line as inner, but a wider. So Locus firstly draw outline and over it draw inner line. Result is what you reported - incorrectly colored line where outline color completely over-color inner semitransparent line.


Currently I do not know any working solution.

photo
1

Even before four years, it was "long known problem".

Unfortunately, it does not still have any usable solution. So I'm closing it as "unsolvable".

photo
1

Is not it possible to draw a thin line to the left and right of the main line?I would like to make 100% transparent. So that I can recognize the rendering of the way on the map. So that I still recognize the track well, I would like to use outline (border).

photo
1

0709 wrote to me so topic closed and maybe not seen anymore. @ Menion: Did you read my last post or do I have to open a new topic?Discussion in German Forum: https://forum.locusmap.eu/index.php?topic=6658.0

photo
2

Hello,

yes, I've got a notification on your post, but my answer, 9 months old, is still the same.

Only how this may be done is for every line, compute in currently visible zoom&scale, additional two lines with the defined offset from the base line and draw these two lines separately. I see here a huge increase in CPU usage because compute offsets for every tiny change of scale is just crazy. Sorry, but till Locus will use software rendering for drawing lines & points and not directly graphics card and so-called OpenGL system, this does not have a usable solution. Thanks for understanding.

photo