i use Eclipse IDE, real Device, Android SDK (API level 10).
When i run TestSimpleWater.java, i have runtime exception error.
when i add some code to project, then occur runtime exception error.
[java]
Geometry water = waterProcessor.createWaterGeometry(10, 10);
water.setLocalTranslation(-5, 0, 5);
water.setMaterial(waterProcessor.getMaterial());
rootNode.attachChild(water);
[/java]
In android, i can`t use waterprocess?
this is error item.
Unrecognized format: DXT1 : java.lang.UnsupportedOperationException
Exception thrown in Thread[GLThread 10,5,main]: at com.jme3.renderer.android.TextureUtil.uploadTexture(22)
at com.jme3.renderer.android.OGLESShaderRenderer.updateTexImageData(1934)
at com.jme3.renderer.android.OGLESShaderRenderer.setTexture(1978)
at com.jme3.material.MaParamTexture.apply(46)
…
This test case is designed for desktop, so yeah there might be a lot of reasons why it fails on android.
Here the issue is that there is a dds texture with DXT compression, probably the normal map and this seems to be not supported on android.
The test case wont work in general due to lack of framebuffer support
@Momoko_Fan said:
The test case wont work in general due to lack of framebuffer support
Then should i create another water effect scene in android??