Quote from: EgonOlsen on September 16, 2012, 08:48:58 AMyes. there it is. but is it possible for us to do it in app level ?
I was under the impression that some magic in the 3d drivers does this without any need to change the application somehow...
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: EgonOlsen on September 16, 2012, 08:48:58 AMyes. there it is. but is it possible for us to do it in app level ?
I was under the impression that some magic in the 3d drivers does this without any need to change the application somehow...
Quote from: EgonOlsen on September 14, 2012, 09:27:36 AM
For historical reasons and because it's jPCT-AE's native solution for lights but only a helper class for the desktop version. I usually solve this by importing with wildcards instead.
Quote from: EgonOlsen on May 21, 2012, 09:00:27 PM
Depending on the exporter and the weather in southern Mordor, you might have to rotate the model after loading it. Usually, a rotateX((float)-Math.PI/2f) or rotateX((float)Math.PI/2f) does the trick. I'm not entirely sure if this will help here though, because it's hard to tell which part of earth we are looking at...
04-05 11:17:53.607: D/dalvikvm(3100): GC_EXPLICIT freed 4 objects / 128 bytes in 48ms
04-05 11:17:53.787: I/jPCT-AE(3100): texture: board4.jpg loaded.
04-05 11:17:54.779: D/libEGL(3100): loaded /system/lib/egl/libGLES_android.so
04-05 11:17:54.795: D/libEGL(3100): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
04-05 11:17:54.802: D/libEGL(3100): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
04-05 11:17:54.818: D/libEGL(3100): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
04-05 11:17:55.576: D/dalvikvm(3100): GC_EXTERNAL_ALLOC freed 136 objects / 6960 bytes in 58ms
04-05 11:17:55.607: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method com.threed.jpct.GL20.glColorPointer
04-05 11:17:55.607: W/dalvikvm(3100): VFY: unable to resolve static method 132: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
04-05 11:17:55.607: D/dalvikvm(3100): VFY: replacing opcode 0x77 at 0x0010
04-05 11:17:55.607: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glDrawElements, referenced from method com.threed.jpct.GL20.glDrawElements
04-05 11:17:55.607: W/dalvikvm(3100): VFY: unable to resolve static method 66: Landroid/opengl/GLES20;.glDrawElements (IIII)V
04-05 11:17:55.607: D/dalvikvm(3100): VFY: replacing opcode 0x71 at 0x0000
04-05 11:17:55.607: D/dalvikvm(3100): VFY: dead code 0x0003-0003 in Lcom/threed/jpct/GL20;.glDrawElements (IIII)V
04-05 11:17:55.615: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method com.threed.jpct.GL20.glNormalPointer
04-05 11:17:55.615: W/dalvikvm(3100): VFY: unable to resolve static method 132: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
04-05 11:17:55.615: D/dalvikvm(3100): VFY: replacing opcode 0x77 at 0x0010
04-05 11:17:55.615: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method com.threed.jpct.GL20.glTexCoordPointer
04-05 11:17:55.615: W/dalvikvm(3100): VFY: unable to resolve static method 132: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
04-05 11:17:55.615: D/dalvikvm(3100): VFY: replacing opcode 0x77 at 0x0018
04-05 11:17:55.615: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method com.threed.jpct.GL20.glVertexPointer
04-05 11:17:55.615: W/dalvikvm(3100): VFY: unable to resolve static method 132: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
04-05 11:17:55.623: D/dalvikvm(3100): VFY: replacing opcode 0x77 at 0x0010
04-05 11:17:55.623: I/dalvikvm(3100): Could not find method android.opengl.GLES20.glVertexAttribPointer, referenced from method com.threed.jpct.GL20.setTangents
04-05 11:17:55.623: W/dalvikvm(3100): VFY: unable to resolve static method 132: Landroid/opengl/GLES20;.glVertexAttribPointer (IIIZII)V
04-05 11:17:55.623: D/dalvikvm(3100): VFY: replacing opcode 0x77 at 0x001f
04-05 11:17:55.693: I/jPCT-AE(3100): Initializing GL20 render pipeline...
04-05 11:17:55.693: I/jPCT-AE(3100): Support for VBO when running OpenGL ES 2.0 is faulty in Android 2.2...VBO will be disabled!
04-05 11:17:55.693: I/jPCT-AE(3100): Accessing shaders via JAR!
04-05 11:17:55.693: I/jPCT-AE(3100): Loading default shaders !
04-05 11:17:55.693: I/jPCT-AE(3100): 0 shaders in replacement map!
04-05 11:17:55.693: I/jPCT-AE(3100): Default fragment shader is: /defaultFragmentShader.src
04-05 11:17:56.412: I/jPCT-AE(3100): Loading file from InputStream
04-05 11:17:56.412: I/jPCT-AE(3100): Text file from InputStream loaded...2008 bytes
04-05 11:17:56.420: I/jPCT-AE(3100): Default vertex shader is: /defaultVertexShader.src
04-05 11:17:56.420: I/jPCT-AE(3100): Loading file from InputStream
04-05 11:17:56.427: I/jPCT-AE(3100): Text file from InputStream loaded...3897 bytes
04-05 11:17:56.427: I/jPCT-AE(3100): Compiling shader program!
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: I/jPCT-AE(3100): Could not compile shader 35633:
04-05 11:17:56.435: E/libEGL(3100): called unimplemented OpenGL ES API
04-05 11:17:56.435: I/jPCT-AE(3100): [ 1333595876439 ] - ERROR: Failed to load and compile vertex shaders!
04-05 11:17:56.435: I/jPCT-AE(3100): [ 1333595876439 ] - WARNING: Unable to load shader!
04-05 11:17:56.482: I/jPCT-AE(3100): [ 1333595876484 ] - ERROR: java.lang.RuntimeException: [ 1333595876439 ] - ERROR: Failed to load and compile vertex shaders!
04-05 11:17:56.482: I/jPCT-AE(3100): at com.threed.jpct.Logger.log(Logger.java:189)
04-05 11:17:56.482: I/jPCT-AE(3100): at com.threed.jpct.GLSLShader.loadProgram(GLSLShader.java:655)
04-05 11:17:56.482: I/jPCT-AE(3100): at com.threed.jpct.GLSLShader.<init>(GLSLShader.java:254)
04-05 11:17:56.482: I/jPCT-AE(3100): at com.threed.jpct.GL20.<init>(GL20.java:118)
04-05 11:17:56.482: I/jPCT-AE(3100): at java.lang.Class.newInstanceImpl(Native Method)
04-05 11:17:56.482: I/jPCT-AE(3100): at java.lang.Class.newInstance(Class.java:1429)
04-05 11:17:56.482: I/jPCT-AE(3100): at com.threed.jpct.GLRenderer.init(GLRenderer.java:368)
Quote from: EgonOlsen on March 08, 2012, 09:43:50 AM
"can not install" is a bit vague...what's the exact problem. jPCT-AE is pure Java. I don't see why it shouldn't work with Mips assuming that everything else (VM, drivers,...) is up to par.
Quote from: EgonOlsen on February 07, 2012, 01:26:36 PM
Looks like tiling. Have you tried to call enableClamping() on that texture?
Quote from: EgonOlsen on February 07, 2012, 12:18:45 PM
I'm not sure what blinking means here...do you have a screen shot or a video of this?
Page created in 0.023 seconds with 10 queries.