www.jpct.net

jPCT - a 3d engine for Java => Bugs => Topic started by: jefferson.amarals on May 20, 2012, 07:17:45 pm

Title: String[] Loader.readTextureNames3DS() does not return the names of the textures
Post by: jefferson.amarals on May 20, 2012, 07:17:45 pm
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.
Title: Re: String[] Loader.readTextureNames3DS() does not return the names of the textures
Post by: EgonOlsen on May 20, 2012, 09:35:16 pm
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?
Title: Re: String[] Loader.readTextureNames3DS() does not return the names of the textures
Post by: jefferson.amarals on May 20, 2012, 10:09:44 pm
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  :)