Search found 2 matches
- Sun Jul 14, 2024 2:43 pm
- Forum: Support and Development
- Topic: Filling self-intersecting polygons
- Replies: 6
- Views: 3719
Re: Filling self-intersecting polygons
Can you provide more info, maybe a screenshot or a bit of code? The object can deform into shapes like these: Concave.png Self-intersecting.png When I go into the draw loop I simply pass the object into the love.graphics.polygon function to draw the outline, but since the object can deform into bas...
- Sat Jul 13, 2024 9:33 pm
- Forum: Support and Development
- Topic: Filling self-intersecting polygons
- Replies: 6
- Views: 3719
Filling self-intersecting polygons
I currently have a pretty simple simulation in which a body is made up of moving vertices. Drawing the outline of the body is fine and can be done using the polygon function. When filling the body though, there are problems. The body can self intersect which means that using the triangulation functi...