Author Topic: Unsupported Texture width  (Read 1987 times)

Offline Simdanfeg

  • byte
  • *
  • Posts: 41
    • View Profile
Unsupported Texture width
« on: April 03, 2013, 12:21:15 pm »
 :o  Previously run no problem re-run today appear Unsupported the Texture width error,Change the previous code ,use the InputStream instead of Drawable way to load the texture ,Still does not work
Code: [Select]
04-03 09:36:27.872: I/jPCT-AE(692): Loading Texture...
04-03 09:36:27.872: I/jPCT-AE(692): [ 1364981787878 ] - ERROR: Unsupported Texture width: 320
04-03 09:36:27.892: I/jPCT-AE(692): [ 1364981787898 ] - ERROR: java.lang.RuntimeException: [ 1364981787878 ] - ERROR: Unsupported Texture width: 320
04-03 09:36:27.892: I/jPCT-AE(692): at com.threed.jpct.Logger.log(Logger.java:189)
04-03 09:36:27.892: I/jPCT-AE(692): at com.threed.jpct.Texture.loadTexture(Texture.java:798)
04-03 09:36:27.892: I/jPCT-AE(692): at com.threed.jpct.Texture.loadTexture(Texture.java:771)
04-03 09:36:27.892: I/jPCT-AE(692): at com.threed.jpct.Texture.<init>(Texture.java:178)
04-03 09:36:27.892: I/jPCT-AE(692): at sim.feel.MyRenderer.loadTexture(MyRenderer.java:84)
04-03 09:36:27.892: I/jPCT-AE(692): at sim.feel.MyRenderer.onSurfaceCreated(MyRenderer.java:124)
04-03 09:36:27.892: I/jPCT-AE(692): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1317)
04-03 09:36:27.892: I/jPCT-AE(692): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
04-03 09:36:27.952: W/dalvikvm(692): threadid=7: thread exiting with uncaught exception (group=0x4001d800)
04-03 09:36:27.984: E/AndroidRuntime(692): FATAL EXCEPTION: GLThread 8
04-03 09:36:27.984: E/AndroidRuntime(692): java.lang.RuntimeException: [ 1364981787898 ] - ERROR: java.lang.RuntimeException: [ 1364981787878 ] - ERROR: Unsupported Texture width: 320
04-03 09:36:27.984: E/AndroidRuntime(692): at com.threed.jpct.Logger.log(Logger.java:189)
04-03 09:36:27.984: E/AndroidRuntime(692): at com.threed.jpct.Texture.loadTexture(Texture.java:798)
04-03 09:36:27.984: E/AndroidRuntime(692): at com.threed.jpct.Texture.loadTexture(Texture.java:771)
04-03 09:36:27.984: E/AndroidRuntime(692): at com.threed.jpct.Texture.<init>(Texture.java:178)
04-03 09:36:27.984: E/AndroidRuntime(692): at sim.feel.MyRenderer.loadTexture(MyRenderer.java:84)
04-03 09:36:27.984: E/AndroidRuntime(692): at sim.feel.MyRenderer.onSurfaceCreated(MyRenderer.java:124)


Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Unsupported Texture width
« Reply #1 on: April 03, 2013, 01:23:54 pm »
I've removed the poll you have created...it makes no sense in this context. To get an answer to your question, have a look here: http://www.jpct.net/forum2/index.php/topic,3207.msg23396.html#msg23396

Offline Simdanfeg

  • byte
  • *
  • Posts: 41
    • View Profile
Re: Unsupported Texture width
« Reply #2 on: April 05, 2013, 01:56:01 pm »
thanks