ImageTileLoader: Feature currently unusable.

Open
#2,004 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
documentation

Research direction

Start with jme3-examples/src/main/java/jme3test/terrain/TerrainGridTest.java and inspect its ImageTileLoader usage, including the Namer implementation. Determine what a useful tile-PNG generation example should show and document it alongside the existing example. Done means users can follow the example to generate the required tile files and use the feature.

Written by the indexing model from the issue text.

Description

Documentation

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

Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
4d 7h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jMonkeyEngine/jmonkeyengine

All issues in jMonkeyEngine/jmonkeyengine

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.