Look for the mipmap generator in Java… here is a solution to the problem.
Look for the mipmap generator in Java
I need to generate mip maps in Java from any intent image (different formats, not necessarily squared).
Because I don’t like reinventing the wheel, I spent some time looking for standalone Java classes, but no luck.
Does anyone know of a simple class that solves my problem?
Should run on android; )。
Notes:
- I know OpenGL
- can create mipMaps, but I need to use them outside of any OpenGL context.
- The image is large (16K x 8K).
- Due to size, it cannot be created and exported in OpenGL.
Solution
Can’t you hand over rendering to the farm/”cloud”?
Use Android only for client-side computing that is really necessary. Amazon now offers graphics cards for VMs.