Question

I am using GPC to break up polygons into triangles. However, GPC is very obviously creating additional vertices while generating triangles. Is there a way to avoid this?

No correct solution

OTHER TIPS

Use a different triangulator. poly2tri looks promising.

Use an alternate method, such as ear clipping. This triangulates a polygon, but does not introduce additional vertices. Note, sometimes this can result in some odd triangles (very long and thin), which may be unwanted, since they are more prone to rendering artefacts.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top