Problem with loading textures from a terra-monkey scene

I am having a problem loading scenes that I have made with the terra-monkey terrain editor, and have a question about it. My problem: when I try to load a scene from terra-monkey two textures load properly, but one is red-white checkered instead of the image (see image below), It’s probably some simple mistake, as I am relatively new to jME-3. My question: what does a normal image do, and what makes a good normal image?



Here is my game coding:



[java]

package mygame;



import com.jme3.app.SimpleApplication;

import com.jme3.terrain.geomipmap.TerrainLodControl;

import com.jme3.scene.Spatial;

import com.jme3.scene.Node;



/**

  • test
  • @author normenhansen

    */

    public class Main extends SimpleApplication {



    public static void main(String[] args) {

    Main app = new Main();

    app.start();

    }



    private Spatial terrain;



    @Override

    public void simpleInitApp() {

    flyCam.setMoveSpeed(100);



    terrain = assetManager.loadModel(“Scenes/BattleFront.j3o”);

    rootNode.attachChild(terrain);



    TerrainLodControl lodControl = ((Node)terrain).getControl(TerrainLodControl.class);

    if (lodControl != null)

    lodControl.setCamera(getCamera());

    }



    @Override

    public void simpleUpdate(float tpf) {

    //TODO: add update code

    }

    }



    [/java]



    here is the pics: (left is in the terrain editor, right is what shows up when run)

    http://imgur.com/rwppL

See this for an explanation on normal maps: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:terminology#bump_map

For the texture issue, the missing texture is the default texture… You should be able to just select it in the editor and then select a texture from the assets folder instead, though with all updates the editor should normally copy dirt.jpg to your project when you create the terrain…

I’m not 100% sure that I understand what you are saying, but It was selected from the assets folder, here is the entire screenshot: http://imgur.com/LmdMQ in the image, the texture with the red circle are the textures I’m having problems with.

You 100% sure? Can you select another texture instead, does that work?

Hmm… I restarted my IDE, and reselected the texture from the projects view, like in the screenshot instead of in the file explorer view, and ran it and it worked. Is this what you were talking about?

Yeah

The default texture should be copied to your assets/Textures folder and be called dirt.jpg.

But it looks like it isn’t any more, I will fix that. EDIT: sorry I Was wrong, my dev environment was just doing strange things. The default texture is generated and copied into your assets/Textures folder.



You should be able to replace that texture in the editor with a different one and it will load fine.