In MTLLoader.java and protected Texture loadTexture(String path)
While loading my obj I noticed that it didn't find textures mentioned in the
mtl file like this "map_Kd textures/skybox/sky2.tga" as in it didn't look in
the given pathit only looked for the file in the same folder as the mtl and obj
files were in.
So I looked at the source and tested, I noticed that folderName was empty.
I personally just "fixed" this by using TextureKey(path); instead of
TextureKey(folderName + name);
I didn't go deeper to search where folderName gets it's value. But thought I
would post this info here and maybe one of the developers can look into this
bug.
I used a nightly build.
Original issue reported on code.google.com by Che...@gmail.com on 2 Aug 2013 at 10:19
Original issue reported on code.google.com by
Che...@gmail.com
on 2 Aug 2013 at 10:19