I would like to use some of the free objects available on the web in my opengl program. How do I load the triangles? Is there a particular file format I should look for that its easier to work with?
e-mail me one of those files. I’d like to see the format.
Assuming you mean meshes such as those available from http://www.3dcafe.com so I’ll suggest using 3DExplorer.
http://www.xdsoft.com/explorer/
3DExplorer will convert .3ds mesh files into OpenGL display list information in C. From there, you can parse the indicies however you wish.
Glossifah