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.