Smooth terrain using code C#

Hey, just a simple question this time; is there an efficient way to smooth terrain using code?

What I have

What I want

Thanks!

Yes
That was easy to answer, any more questions?

4 Likes

I believe most terrain smoothing is accomplished by doing a Gaussian Blur on the heightmap. There are a few algorithms:
http://blog.ivank.net/fastest-gaussian-blur.html

1 Like

Nice sarcasm, but highly unhelpful. You saw what I was implying.

I’ll be sure to try, thanks.

If you can’t deliver a more full reply, then don’t as otherwise it could be mistaken for trolling and so forth.

Move along, not droids we’re looking for etc.

4 Likes