There are several files here: *.mesh describes an object and its stripification *.verts lists the vertices on each strip *.turns lists the turns on each strip *.tris lists the triangles (by their vertices) on each strip ---------------------------------------------------------------- The format of a MESH file is: dim dimension (2 or 3) nv number of vertices x0 y0 z0 vertex 0 x1 y1 z1 vertex 1 ... x{nv-1} y{nv-1} z{nv-1} vertex nv-1 nf number of faces v01 v02 v03 three vertices of face 0 v11 v12 v13 three vertices of face 1 v21 v22 v23 three vertices of face 2 ... v{nf-1}1 v{nf-1}2 v{nf-1}3 three vertices of face nf-1 ns number of strips s0 strip 0 s1 strip 1 ... s{ns-1} strip ns-1 Vertices are ordered counterclockwise around a face, as seen from outside the object. Each strip above (s0, s1, ... s{ns-1}) is on a single line and has the following format: nf r g b f0 f1 f2 ... f{nf-1} where nf is the number of faces on the strip r g b is an RGB color for the strip f0 f1 ... are the indices of the face on the strip (zero-based indices) ---------------------------------------------------------------- The format of a VERTS file is: ns number of strips s0 vertices in strip 0 s1 vertices in strip 1 ... s{ns-1} vertices in strip ns-1 Each strip above is on a single line and has the following format: nv v0 v1 ... v{nv-1} where nv is the number of vertices on the strip v0 v1 ... are the vertices rendered along the strip, in order, listed as vertex indices (zero based) that match the vertex indices in the corresponding *.mesh file. ---------------------------------------------------------------- The format of a TURNS file is: ns number of strips s0 turns in strip 0 s1 turns in strip 1 ... s{ns-1} turns in strip ns-1 Each strip above is on a single line and has the following format: nt t0 t1 ... t{nt-1} where nt is the number of faces on the strip (Note: could be zero) t0 t1 ... are the turns (L or R) taken along the strip, in order ---------------------------------------------------------------- The format of a TRIS file is: ns number of strips s0 vertices in strip 0 s1 vertices in strip 1 ... s{ns-1} vertices in strip ns-1 Each strip above is on a single line and has the following format: nt v01 v01 v02 v10 v11 v12 ... v{nv-1}0 v{nv-1}1 v{nv-1}2 where nv is the number of vertices on the strip vi0 vi1 vi2... are the three vertices of triangle i on the strip