So I know water on the android is basically uncharted and an unsupported feature on Android, but I’m using the SimpleWaterProcessor class to implement water and a model of a cruise ship on a Samsung Charge… And here’s my question:
It keeps giving me the error “DXT1 is not supported by video hardware”… I assume this is because it is compressing .dds files included in the simpleWaterProcessor class to DXT1 (also known as S3TC). I did some research to find that ETC1 is supported by most Android phones, and DXT1 (S3TC) is supported only by certain phones (including Motorolla).
I’m wondering if there’s a way to download a plugin for this, or change the “Image.java” file (provided by the Android plugin for JME3) to support ETC1 compression.
I found this link on StackOverflow for seemingly this very issue, but I’m not sure what to make of it…
I have converted the .dds and .jpg files (1 of each) in SimpleWaterProcessor.java to png files and the DXT1 error is still showing.
I looked at the compression methods in Image.java (not sure the directory path of that file), and there only seems to be DXT1, DXT1, DXT5, etc. methods of compression. I’m curious as to how and where ETC1 compression is configured by default.
I only have one other object for display on the screen and that is a .j3o mesh that displays fine on the Android by itself.
There is also a .j3md file used in the SimpleWaterProcesser.java file used for setting a material… but I’m not sure this would compress to DXT1…
Edit: I found rederer.android.TextureUtil using the jMonkey file explorer and I do see the ETC1 reference. Still don’t know why I’m getting DXT1 errors, but thanks for your help. I will keep working on it.