Error on textured 3DS model load

Dec 4, 2012 at 12:35 AM
Edited Dec 4, 2012 at 12:37 AM

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.

Screen Shot

Dec 4, 2012 at 7:51 PM
Edited Dec 4, 2012 at 7:51 PM

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;
Dec 13, 2012 at 11:01 PM

I have checked in the code. Let us know if it is still a problem.