View Single Post
Old 3rd August 2007, 10:12 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,451
Default 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.
Andy is offline   Reply With Quote