Hello,
im having issues as seen in the screenshot, where triangles drawn with love.graphics.polygon(), glitch around sporadicly.
Im asking you guys just to download and check if you see it to, because its very possible that its just my GPU dying
Thanks!
Visual Glitches when using love.graphics.polygon() [Solved]
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Visual Glitches when using love.graphics.polygon() [Solved]
- Attachments
-
- Enterprise Demo.love
- (741.79 KiB) Downloaded 185 times
Last edited by NoreoAlles on Sun Jun 30, 2024 7:56 pm, edited 1 time in total.
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Visual Glitches when using love.graphics.polygon()
It looks like you're using a love version that's older than 11.5. There were a couple related bugs with miter line joins when drawing close-to-parallel line segments that were fixed in 11.5.
That being said, you might want a different LineJoin mode as well. "none" works even better for me with that scene compared to the default "miter", when running with 11.5.
That being said, you might want a different LineJoin mode as well. "none" works even better for me with that scene compared to the default "miter", when running with 11.5.
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Re: Visual Glitches when using love.graphics.polygon()
Oh shoot, where there any drastic changes and i have to change my code or is it just a matter of updating?slime wrote: ↑Sun Jun 30, 2024 7:47 pm It looks like you're using a love version that's older than 11.5. There were a couple related bugs with miter line joins when drawing close-to-parallel line segments that were fixed in 11.5.
That being said, you might want a different LineJoin mode as well. "none" works even better for me with that scene compared to the default "miter", when running with 11.5.
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Re: Visual Glitches when using love.graphics.polygon()
What I hear from what slime has said is that you just have to use love.graphics.setLineJoin("none").
Last edited by pgimeno on Sun Jun 30, 2024 7:56 pm, edited 1 time in total.
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Re: Visual Glitches when using love.graphics.polygon()
Yes, did that and updated love, now it looks awesöme again.pgimeno wrote: ↑Sun Jun 30, 2024 7:54 pm What slime is suggesting is just to use love.graphics.setLineJoin("none").
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
- slime
- Solid Snayke
- Posts: 3166
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Visual Glitches when using love.graphics.polygon()
11.5 is completely backward compatible with code written for any older 11.x version, it mostly has bugfixes.NoreoAlles wrote: ↑Sun Jun 30, 2024 7:51 pm Oh shoot, where there any drastic changes and i have to change my code or is it just a matter of updating?
- NoreoAlles
- Party member
- Posts: 130
- Joined: Mon Jan 03, 2022 5:42 pm
Re: Visual Glitches when using love.graphics.polygon()
Nice!slime wrote: ↑Sun Jun 30, 2024 7:56 pm11.5 is completely backward compatible with code written for any older 11.x version, it mostly has bugfixes.NoreoAlles wrote: ↑Sun Jun 30, 2024 7:51 pm Oh shoot, where there any drastic changes and i have to change my code or is it just a matter of updating?
"Why do they call it oven when you of in the cold food of out hot eat the food?" - Jon Arbuckle
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot], slime and 5 guests