ImageTileLoader: Feature currently unusable.
An example of how to generate tile png files is missing. I asked on the forum and apparently no one ever used this feature. Most likely the cause is the lack of examples and supporting documentation.
File: TerrainGridTest
this.terrain = new TerrainGrid("terrain", 65, 257, new ImageTileLoader(assetManager, new Namer() {
@Override
public String getName(int x, int y) {
return "Scenes/TerrainMountains/terrain_" + x + "_" + y + ".png";
}
}));
Could you please provide a useful example? Thank you
Maybe it is intended to generate the terrain heightmap tiles via external tools (e.g. Gimp, Blender,...) and load them in JME. (See:https://hub.jmonkeyengine.org/t/terraingridtileloadertest-confusion/26569/6)
Btw, I also found this old SDK plugin for loading and generating terrain heightmap tiles, seems the source code is still available: https://hub.jmonkeyengine.org/t/tiled-terrain-editor-project-initial-code-exposure/26809