public static List<Geometry> makeBatches(Collection<Geometry> geometries) {
        return makeBatches(geometries, false);
    }
Merges all geometries in the collection into
the output mesh. Creates a new material using the TextureAtlas.

@param geometries the geometries to merge
@param outMesh a Mesh to receive the geometries
jme3-core/src/tools/java/jme3tools/optimize/GeometryBatchFactory.java