Author Topic: String[] Loader.readTextureNames3DS() does not return the names of the textures  (Read 2304 times)

Offline jefferson.amarals

  • byte
  • *
  • Posts: 5
    • View Profile
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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11769
    • View Profile
    • http://www.jpct.net
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?
« Last Edit: May 20, 2012, 09:39:31 pm by EgonOlsen »

Offline jefferson.amarals

  • byte
  • *
  • Posts: 5
    • View Profile
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  :)