Heightmap usage

is there a way to make the “mountains” look like mountains and not like sticks when i set a heightatpoint in the heightmap

Post process the data. I guess you could use the height as a radius and reduce the height as you move out.

And before you ask “how” - these threads have become more of a “give me code” than “help me understand broken code”.

Give a man a fish and he’ll keep coming back. Teach a man to fish and he can help himself.

Give it a go yourself and when you get stuck, post your code and we’ll help you understand.

2 Likes

fair enough

I’ll give it a shot

if you have sticks instead of mountains, then your data is broken itself then.
i agree you need to better understand what you do.

anyway:
heightmap.smooth() method might help.

https://javadoc.jmonkeyengine.org/index.html?com/jme3/terrain/heightmap/AbstractHeightMap.html

Give a man a fire and he’ll be warm for a night. Set a man on fire and he’ll be warm for the rest of his life.

:wink:

2 Likes

Words of wisdom. A bit like those minecraft raytracing mods. My pc is on fire. I am on fire. But man, this is cool.

image

1 Like