Tag

polygon decomposition

1 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Mar 17, 2023 · Game Development

Triangulation of Vector Graphics: Polygon Decomposition and Monotone Polygon Algorithms

This article explains how to convert vector‑graphics paths into GPU‑ready triangles by approximating Bézier curves with poly‑lines, simplifying self‑intersecting polygons using the Bentley‑Ottmann sweep‑line algorithm, decomposing simple polygons into monotone pieces, and finally triangulating those monotone polygons.

Bentley-OttmannBézier curvesGPU rendering
0 likes · 21 min read
Triangulation of Vector Graphics: Polygon Decomposition and Monotone Polygon Algorithms