Hi
I get a glitch when drawing lines in Love 2D which i think happens when the points are too close?
this is going through a shader and a trail render, but you can see the glitch without this to
does anyone have a strategy for avoiding this glitch? oddly enough, notice in my logo code it actually glitches in a perfect pentagon!?!?
many thanks forum, Richard
a glitch when drawing lines in Love 2D
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: a glitch when drawing lines in Love 2D
Try using love.graphics.setLineJoin("bevel") before drawing those lines to see if it fixes the issue. Could you share a .love file anyway, to see if it's reproducible on other systems? I do remember having a similar issue.
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
-
- Citizen
- Posts: 86
- Joined: Mon Jul 17, 2017 2:07 pm
Re: a glitch when drawing lines in Love 2D
unfortunately i don't have one yet, best might be i come back and drop a code example as a single fileNixola wrote: ↑Tue Jun 19, 2018 1:40 pm Try using love.graphics.setLineJoin("bevel") before drawing those lines to see if it fixes the issue. Could you share a .love file anyway, to see if it's reproducible on other systems? I do remember having a similar issue.
there are so far about 13 source files in my project, it's not organised to that state just yet
no bevel did not make a difference, i think i have to figure some way of not drawing lines when they are close together
i am not too bothered yet, just thought incase someone already knew, programmer mentality... btw also it's not caused by the shaders i didn't get to disabling for the screenshot
Who is online
Users browsing this forum: No registered users and 56 guests