Textures merging

Hello,



I have a small problem with merging textures. Recenly in the blender importer I came accross a situation when I try to merge a texture with no mipmaps and a texture that already has mipmaps generated.



I reckon most suitable way would be to generate mipmaps for the first texture.

Are there any classes in jme that could help me ?

TextureAtlas!

@Kaelthas said:
Hello,

I have a small problem with merging textures. Recenly in the blender importer I came accross a situation when I try to merge a texture with no mipmaps and a texture that already has mipmaps generated.

I reckon most suitable way would be to generate mipmaps for the first texture.
Are there any classes in jme that could help me ?

Tried MipMapGenerator?
http://hub.jmonkeyengine.org/javadoc/jme3tools/converters/MipMapGenerator.html

Don’t use it with foliage textures tho, or any other textures with a complex alpha channel. With a regular filter you loose average coverage with each mip (such as with AWT’s, even when using renderhints high quality alpha). This can make objects waaay too transparent at a distance.