The attached 3ds file is loaded with one mesh and one material by TDSLoader. But actually it has not only one material. The picture 1 shows what's loaded in three.js . And picture 2 shows what is right.


/ping @tentone
Result when importing at Sketchfab:

@Tentone According to the Sketchfab 3D inspector, the model uses multiple materials to achieve the different colored parts. However, TDSLoader loads the mesh with just a single material. Maybe this helps to isolate the issue.
Result when importing at Sketchfab:
@tentone According to the Sketchfab 3D inspector, the model uses multiple materials to achieve the different colored parts. However,
TDSLoaderloads the mesh with just a single material. Maybe this helps to isolate the issue.
I met the same problem!
So is there any solution?
or i should just use another format
or i should just use another format
It's best to use another format. Try it with glTF whenever possible.
The problem is that 3DS as a 3D format is not officially documented. I've searched for the material specification but did not find something useful so far. Always hard to write loaders without proper documentation.
@mrdoob Against the backdrop that 3DS is badly documented and the original developers don't maintain TDSLoader, I think it's better to remove it and recommend users other 3D formats instead.
Aww, but I grew up with 3DS... 馃槄
Lets leave this open and hope that someone is able to fix it in the future.
@Mugen87
I have been spending some time figuring out how to relate the multiple loaded materials with a single mesh. As you have said the 3DS file format is badly documented.
I have been using this page as a reference http://faydoc.tripod.com/formats/3ds.htm, I will keep you up to date with any progress.
I don't think that you should drop the loader, it is still a widely used format. I think that we can improve it to support more features.
As long as it is maintained, I'm fine with keeping the loader^^.