How can i set diffuse textures on jmonkey? terrain editor?

hi people im very impressed whit the sample of nehon of DepthOfFieldFilter, here is the code:
https://code.google.com/p/jmonkeyengine/source/browse/branches/jme3/src/test/jme3test/post/TestDepthOfField.java?r=6881

im tring to make my terrain like neons terrain(with normalmaps and diffuse textures).
im using jmonkey terrain editor, my question is, how can i set diffuse textures to my terrains?

In case of not being able, soebody know a wAy to create heightmaps and alphamaps? m tried with gimp but tthis way is so hard.

thankyou for your answers and sorry for my bad english.

<cite>@eypidemik said:</cite> im using jmonkey terrain editor, my question is, how can i set diffuse textures to my terrains?
Set up the material https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_material Look how the material is done here: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_terrain

You can also create a material with the MaterialEditor in the SDK
http://i.imgur.com/43ZBUQZ.png?1

<cite>@eypidemik said:</cite> In case of not being able, soebody know a wAy to create heightmaps and alphamaps? m tried with gimp but tthis way is so hard.
In case I missed your question somehow, the earthsculptor, an easy to use editor an generate a heightmap out of the terrain you create with it. http://www.earthsculptor.com/

PS: did you mean how to draw a texture on your terrain (my english isn’t really good either)? If yes use the brush tool in the terrain editor inside the sdk.

im already see that pages, but my question is: how can i set diffuse textures to my terrain maded in “jmonkey terrain editor”.

actually i know how to make it with a TerrainQuad, but i want to apply diffuse textures to an terrain madad on jmonkey editor.

Press F1 in the editor.

ok, i understand how it work, but how can i set to my terrain a TerrainLighting.j3md material?

and benkibitzer, normen, thank you very much for you answers

As for any other geometry. But by default thats already the case, did you maybe mean “normal map” in your first post? Thats the button next to the diffuse map.

mmm no, i know hot to paint diffuse and normal maps, but i want an effect like sample of nehon, nehon has used TerrainLighting.j3md material to her terraincuad.

here is an image of nehon sample

and here is another sample:

nehon’s sample is using TerrainLighting.j3md, and the other is using Lighting.j3md,

i want make thats effects for my terrain. how can i make it?

You just add the normal and diffuse maps…

I suggest you first learn a bit more about materials etc.:

ok, i’ve just saw the video, can i put an specularmap to my terrain maded in the terrain editor? (not using heightmaps).

i create a terrain in the terrain editor, i set to each geaometry a material like that:

Material Pong Rock : Common/MatDefs/Light/Lighting.j3md {
MaterialParameters {
Shininess: 10.0
DiffuseMap: Textures/textura2.jpg

     UseMaterialColors : true
     Ambient  : 0.0 0.0 0.0 1.0
     Diffuse  : 1.0 1.0 1.0 1.0
     Specular : 0.0 0.0 0.0 1.0
    NormalMap : Textures/normal2.jpg
 }
AdditionalRenderState {
}

}

is really pretty, but now i cant paint other textures with the spray tool.
and the texture is ttoo big to my terrain cuad.