Search found 2 matches

by dlumo
Sun Jan 29, 2017 7:58 pm
Forum: Support and Development
Topic: Polygon fill mode unexpected result
Replies: 3
Views: 2182

Re: Polygon fill mode unexpected result

That's due to the default [wiki]LineJoin[/wiki] (miter) doing its work. If you need to not have that kind of thing, e.g. when working with narrow or possibly arbitrary angles (as you're doing), you should [wiki]love.graphics.setLineJoin[/wiki]("bevel"). Thank you! None seems to to the tri...
by dlumo
Sun Jan 29, 2017 7:21 pm
Forum: Support and Development
Topic: Polygon fill mode unexpected result
Replies: 3
Views: 2182

Polygon fill mode unexpected result

Hi there! I'm trying to implement a simple softwared based 3d renderer. So far I'm able to load and render .obj files exported from blender. To draw the faces of the model I use the love.graphics.polygon() function. This works as expected when using the fill option, however when using the line optio...