Filename in GeoMipTerrain

terrain.setHeightfield(Filename("yourHeightField.png"))

I don’t know how exacty to type the path in this code.
I used

("Models/maps/image.png"("map01.png"))

But of course that’s wrong. Could someone give show me an example please?

Why are there two image files in your path, image.png and map01.png? Is one the texture map and one the heightfield? I’m not sure what you want to do exactly.

There are several possibilities to load the heightfield.

terrain.setHeightfield(Filename("Models/maps/image.png"))

You can also specify a texture:

map = loader.loadTexture("Models/maps/image.png")
terrain.setHeightfield(map)

Sorry. I messed up again. I thought I was supposed to replace ‘Filename’.
Thanks again.