image

I developed a tool to optimize your GLTF models for use in libGDX. It uses the popular MeshOptimizer library.

Simplification, mesh optimization and model import/export are feature complete.

Only gdx-gltf supported GLB and GLTF files can be imported/exported.

Here is the supported pipeline:

  • Indexing
  • Simplification
  • Vertex cache optimization
  • Overdraw optimization
  • Vertex fetch optimization

Why is this important?

This will give the libGDX 3D community the ability to have Level of Detail (LoD) rendering and also provide improved frame per second (FPS) on their 3D games.

Initial testing has shown 10-50% rendering improvements on an un-simplified mesh that has been optimized.

The JNI interface to MeshOptimizer is provided via LWJGL.

The Java jar file can be run on Windows and Linux , but you need Java 11+ installed.

User Interface

download

Here are the before and after optimization metrics:

OOUfua


<
Previous Post
Underworld Survival
>
Blog Archive
Archive of all previous blog posts