PDA

View Full Version : Polygon trianglize arithmetic?



Golden
12-18-2002, 07: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-18-2002, 11:20 PM
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.