智商不够哪里出错了。。。
aide吧
全部回复
仅看楼主
level 7
乌云小羊 楼主
智商不够哪里出错了。。。
2018年04月08日 22点04分 1
level 7
乌云小羊 楼主
04-09 06:54:14.205 23799 23831 E jPCT-AE [
15232280542
05 ] - ERROR: Unsupported Texture width: 768
04-09 06:54:14.205 23799 23831 E jPCT-AE [
15232280542
05 ] - ERROR: java.lang.RuntimeException: [
15232280542
05 ] - ERROR: Unsupported Texture width: 768
04-09 06:54:14.205 23799 23831 E jPCT-AE at com.threed.jpct.Logger.log(Logger.java:206)
04-09 06:54:14.205 23799 23831 E jPCT-AE at com.threed.jpct.Texture.loadTexture(Texture.java:929)
04-09 06:54:14.205 23799 23831 E jPCT-AE at com.threed.jpct.Texture.loadTexture(Texture.java:902)
04-09 06:54:14.205 23799 23831 E jPCT-AE at com.threed.jpct.Texture.<init>(Texture.java:191)
04-09 06:54:14.205 23799 23831 E jPCT-AE at org.ourunix.android.jpc***2demo.GLRenderer.onSurfaceCreated(GLRenderer.java:183)
04-09 06:54:14.205 23799 23831 E jPCT-AE at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1548)
04-09 06:54:14.205 23799 23831 E jPCT-AE at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
04-09 06:54:14.209 23799 23831 I DefaultContextFactory eglDestroyContext = 4905, this = android.opengl.GLSurfaceView{119e0f6c V.E..... ......I. 0,0-1080,1785}
04-09 06:54:14.216 23799 23831 E AndroidRuntime FATAL EXCEPTION: GLThread 4905
04-09 06:54:14.216 23799 23831 E AndroidRuntime Process: org.ourunix.android, PID: 23799
04-09 06:54:14.216 23799 23831 E AndroidRuntime java.lang.RuntimeException: [
15232280542
05 ] - ERROR: java.lang.RuntimeException: [
15232280542
05 ] - ERROR: Unsupported Texture width: 768
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Logger.log(Logger.java:206)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.loadTexture(Texture.java:929)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.loadTexture(Texture.java:902)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.<init>(Texture.java:191)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at org.ourunix.android.jpc***2demo.GLRenderer.onSurfaceCreated(GLRenderer.java:183)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1548)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
04-09 06:54:14.216 23799 23831 E AndroidRuntime
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Logger.log(Logger.java:206)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Logger.log(Logger.java:150)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.loadTexture(Texture.java:964)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.loadTexture(Texture.java:902)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at com.threed.jpct.Texture.<init>(Texture.java:191)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at org.ourunix.android.jpc***2demo.GLRenderer.onSurfaceCreated(GLRenderer.java:183)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1548)
04-09 06:54:14.216 23799 23831 E AndroidRuntime at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1286)
2018年04月08日 22点04分 2
level 13
贴点代码。。你可以注释点某种可能出错的代码来排查
2018年04月08日 23点04分 3
level 12
[滑稽]
2018年04月09日 00点04分 4
level 13
宽度错了,不能用768。我也不知道为啥,反正log这样说的
2018年04月09日 01点04分 5
什么768?
2018年04月09日 05点04分
@乌云小羊 第二行:unsupported texture width:768[滑稽][滑稽][滑稽][滑稽]
2018年04月09日 05点04分
楼上有源码拿去测试帮忙一下
2018年04月09日 05点04分
@乌云小羊 而且不止第二行有
2018年04月09日 05点04分
1