this might be a little offtopic:

how can I convert a N-Vertex polygon to a triangle list?

I tried to iterate the different vertices of te polygon, and generate triangles like this:

Triangle Vertex0 - Polygon Vertex 0

Triangle Vertex1 - Polygon Vertex N+1

Triangle Vertex2 - Polygon Vertex N+2

But a lot of times it just makes a mess, with a lot of garbage triangles, so I figure I have something missing.

so, which is the correct algorythm?

thanks in advance