Unsupported Texture width

Started by Simdanfeg, April 03, 2013, 12:21:15 PM

Previous topic - Next topic

Simdanfeg

 :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

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)



EgonOlsen

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