PDA

View Full Version : how to load objects?



11-10-2000, 09:29 PM
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?

ipo
11-11-2000, 09:22 AM
e-mail me one of those files. I'd like to see the format.

Glossifah
11-11-2000, 09:54 PM
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