-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Artefacts appear when filled polygons are added to a plot #36
Comments
I am also struggling with this issue. I am downsampling line plots with many plot points to two plots that display the minimum values and maximum values respectively, think a signal envelope. Then I try to fill the area between the minimum and maximum plots with polygons, to create a shaded area that signifies that it is a span, but I get these artifacts that @berke mentions too. Which makes it unusable. |
@CramBL maybe this is related to the graphics stack. What platform are you on? |
x86 Ubuntu 22.04
Driver: Intel Nouveau
This laptop: https://www.lenovo.com/us/en/p/laptops/thinkpad/thinkpadp/thinkpad-p16v-16-inch-intel-mobile-workstation/len101t0071 |
Same issue (using your example repo) on And on the same machine running Windows 11 |
You can fairly easily reproduce this issue on https://www.egui.rs/ by selecting the Just move the circles to produce tight angles between the lines It also produces another surprising result occasionally, which is that the blue filled area spills over and goes outside the boundaries marked by the green lines. |
Filled polygons added to a plot show line-shaped artefacts under certain zooming conditions.
I have an
eframe::App
containing a canvas containing aPlot
, where I draw filled triangles usingui.polygon
.For certain triangles and at certain zoom levels, this produces fill-colored linear artefacts.
No artefacts appear if the triangles are not filled.
To Reproduce
Expected behavior
There should be no artefacts.
Screenshots
Real-world case:
Screenshot from simplified PoC:
Additional context
Latest
egui
andegui_plot
x86 machine under Debian and X11 with NVIDIA driver 535.183.01, xfce4 with xfwm 4.18.0-1, no compositing
The text was updated successfully, but these errors were encountered: