PDA

View Full Version : Polygon trianglize arithmetic?



Golden
12-18-2002, 08:45 PM
I encount concave polygon and polygon with holes. I want to use a serial triangles to represent such model.

Any souce code available about such topics?

Ysaneya
12-19-2002, 12:20 AM
Look into glu tesselation functions. They let you specify a contour and holes in the polygon, and tesselate it into triangles through a callback functions mechanism.

Y.