Replies: 5 comments
-
+1 for that from me, currently in CairoMakie this is just done if the last point of a line is equal to the first. I just decided to go with that at the time even though it's not "official" behavior because too often it's what should happen anyway. |
Beta Was this translation helpful? Give feedback.
-
How much is fixed of this now? |
Beta Was this translation helpful? Give feedback.
-
What I crossed out in the list should still be up to date |
Beta Was this translation helpful? Give feedback.
-
I think the self-overlap (2) isn't something we can fix without another full rewrite. (Possibly switching to a two pass line rendering solution, where we render line opaque first, so the overlap doesn't matter and apply transparency in a second step when merging with the main buffer.) I had some notes on closed lines (5) here: #2666 (comment) Should be relatively easy, but requires adding extra points. (8) requires a different fxaa solution which I don't really see happening anytime soon. |
Beta Was this translation helpful? Give feedback.
-
Closing in favor of #4262 |
Beta Was this translation helpful? Give feedback.
-
As I'm working on #2536 I keeping finding little issues and things we should add or change
Solid lines are only anti-aliased along their width, but not their length (i.e. the ends aren't anti-aliased)Fixed by [GLMakie] Cleanup linestyles #2666poly
picks the first method definitionMakie.jl/src/basic_recipes/poly.jl
Line 11 in 1c6d934
Rect
, which means it relies onwireframe
which useslinesegments
. So it will always produce bad corners (fully overlapping, partially overlapping or missing corners). We should make it go into the second methodMakie.jl/src/basic_recipes/poly.jl
Line 86 in 1c6d934
lines
Non-solid lines sometimes produce artifactsFixed by [GLMakie] Cleanup linestyles #2666Non-solid lines have irregular spacing, especially on curved linesFixed by [GLMakie] Cleanup linestyles #2666fxaa = true
A very short line creates downward artifacts on a 90° turnDuplicate of Rendering of stairs plot is distorted when zoomed out #1129, improved by [GLMakie] Cleanup linestyles #2666, and further improved by Fix lines #2843Example (1), (2)
This is the miter joints test image from GLMakie
Example (4)
On master:
Example (6)
On master. These artifacts get more or less pronounced when the line is moved around.
Example (7)
This is from the linecaps pr, which is already better than master but still has issues with this
Example (8)
This is from a random
crossbar
with the center line drawnExample (9)
On master this generates artifacts depending on the y zoom level
Beta Was this translation helpful? Give feedback.
All reactions