Load a 3DS model into my OpenGL application

Posted on 2006-03-23
Last Modified: 2013-12-06
I have been trying several 3DS loaders in my OpenGL - MacOS X application, even suggested by this web site.
No one has worked well. I can just load some simple model, but I cannot import complex models like e.g. a car.
Actually the loader I use just parses the chunk id(s)

case CHUNK_OBJBLOCK :  // 0x4000
case CHUNK_VERTLIST :   // 0x4110
case CHUNK_FACELIST :   // 0x4120
case CHUNK_MAPLIST :    // 0x4140

I just need the model geometry, colors and texture mapping. I don't need cameras, lights, views...
What other chunk id should I parse? And how?
For example I cannot import texture image files automatically, even if present in the same folder of the 3DS file.
I cannot yet import surface colors, and I have to build the normals by myself.
Any help? Is a complete source code so that I can include it in my app and just get, e.g.

Thank you for your help.
Question by:mstukart
    LVL 20

    Accepted Solution

    hi mstukart,

    here are some useful links with tutorials and source-code:

    good luck :)

    Author Comment

    I am goint to check that. I will let you know shortly.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
    As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now