how to load objects?

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 so I’ll suggest using 3DExplorer.

3DExplorer will convert .3ds mesh files into OpenGL display list information in C. From there, you can parse the indicies however you wish.