Author Topic: JPCT-AE error loading models (.md2, .3ds ...)[SOLVED]  (Read 4321 times)

Offline PaniX

  • byte
  • *
  • Posts: 18
    • View Profile
Re: JPCT-AE error loading models (.md2, .3ds ...)
« Reply #15 on: September 16, 2013, 08:54:43 pm »
I don't think getResource() returns null, or even gun.md2 is null, because it works in the real example. What could be wrong in the project setup, and how it has to be fixed? I hate sdk's, normally I just use nano for programming, but Android needs J***...

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11745
    • View Profile
    • http://www.jpct.net
Re: JPCT-AE error loading models (.md2, .3ds ...)
« Reply #16 on: September 16, 2013, 08:56:38 pm »
Just TEST what's null and you'll see..."I don't think" won't take you anywhere.

Offline PaniX

  • byte
  • *
  • Posts: 18
    • View Profile
Re: JPCT-AE error loading models (.md2, .3ds ...)
« Reply #17 on: September 17, 2013, 06:08:46 am »
Somehow an import com.threed.jpct.example.R; or something like that managed to get into my Java codings...
 :-[
But thank you for your great help, now I also have some informations how to debug with try-catches, thanks!