Re: Is the a max to the surface indices?
Surfaces have no real maximum number of vertices - the number is an integer so the maximum is probably larger than you'd ever need.
You can't be sure that the vertices are planar if numvert > 3. You'd need to triangulate to ensure this - perhaps try using the .tri file format? (very easy to parse)
There's C source code for a .ac file parser and OpenGL viewer on the resources page.
Let us know how you get on.
|