Are you trying to use GPU compression? If so, which format are you trying to use?
For the DXT1/3/5 and ETC1 formats, jME3 already includes the constants in the Image.Format enum which you can use. For all other formats, you will need to patch the renderer in order to add support.
another question
i use JME3 and want to have a texture with ETC1 compression.
What is the difference between a DDS File and a KTX file ? are both containers?
Can one load both in jme3?
On android i tried to use DDS FIle with DXT1 compression and it failed. So i tried to use the ETC1 compression.
Is it possible to compress this DDS File with ETC1 ?
I have a tool that can compress png etc. with ETC1 compression. But what can i do when i have a DDS file an android?
That only added partial support ⦠The renderer was rewritten shortly afterwards that removed it.
Thereās no point in adding support for ETC1 at this point because thereās no means to actually load such files in jME3. DDS cannot support ETC1 because it is controlled by Microsoft who wants to push the DirectX specific compression formats (BC1-BC7).
The only way is the KTX container which is something @Nehon is working on.
Some updates from my side, with the version of the repo ( Added support for ETC1 compression (regular OGL only for now) Ā· jMonkeyEngine/jmonkeyengine@b83603c Ā· GitHub ) the loading speed of the textures is amazingly fast now but the ObjLoader was quite slow in parsing the obj files on Android so I changed some stuff and created a pull request: Update OBJLoader.java by simon-heinen Ā· Pull Request #245 Ā· jMonkeyEngine/jmonkeyengine Ā· GitHub . The speed improvement is quite good (from 71 seconds down to 15 seconds for 32k vertices on my One+ One) but I think there might be still some space for improvements. I tried my best but maybe you find some more places in the ObjLoader class to improve the loading speed. My learnings from the last hours is that on Android for some reasons the performance of all the basic Java util classes like Scanner and Pattern is horribly slowā¦
Yes I know but in my case the content is created by the user via holobuilder.com so it will be obj for now. Later we want to switch to dae as the default format to export to and use assimp to import it on the client side but for now im stuck with obj