3ds file loading

I’m trying to write my own code to load .3ds file to the openGL, but I’m having trouble reading the actual content.

Is there any tutorial or sample code that shows how to do this? I do have the information about the .3ds file format, but I just can’t read the datas correctly or can’t read at all. I’m just looking for a sample code that reads chunk-id, and the data itself. It would be great if ya can post a sample code for me to base on. Thanks.

For Windows and Visual C++ v6.0, there’s a simple example called Display3DS that should help.

Hi,

Try on this website. http://myopendemo.hypermart.net