Error on textured 3DS model load
This discussion was imported from CodePlex
LanceJZ wrote at 2012-12-04 00:35:
Here is a screen shot of the error, I was loading up a textured 3DS model using your model viewer sample. The same model exported to obj works. I tried it on a number of models as well, I get the same error. The model has a texture in the diffuse slot.
objo wrote at 2012-12-04 19:51:
ok, how is a material selected when you have multiple materials with the same name in the file? Use the latest defined material?
Then I think we can simply change the line with error to
this.materials[name] = mg;
objo wrote at 2012-12-13 23:01:
I have checked in the code. Let us know if it is still a problem.
Customer support service by UserEcho