String[] Loader.readTextureNames3DS() does not return the names of the textures

Started by jefferson.amarals, May 20, 2012, 07:17:45 PM

Previous topic - Next topic

jefferson.amarals

The JavaDoc says "Reads the texture names from the 3DS-file", but the method always returns an empty array. I tested with models that I created and the model example of FPS that comes with the libs JPCT.

I apologize if I understand how the method works the wrong way, but anyway, here I leave this observation that, if necessary, be corrected.

Thank you for listening.

EgonOlsen

I hate it when people posting in this section are right... ;) Yes, i seems to be flawed. It has to work at least on some files, because the guy for which i added this feature was happy with it. I'll fix it. Do you need this method, i.e. do you need a fixed version before the next release?

jefferson.amarals

Actually at present I do not need, was doing other things with Loader and found this interesting method, but before he could think of a practical application, realized I was not working. I can wait for the next official release.

I'm glad to be able to have contributed even a little  :)