Given a bitmap image with some blots of solid color on it, what algorithm would you employ to construct polygons in the same shape as the blots?
This can be done in multiple steps: a high-resolution polygon could be later cut down by a best fit algorithm. Bonus points if you can tell me how to cut the resulting polygons into convex components so that they can be rendered in OpenGL without problems.