Smooth height map.

Everything related to 3D programming
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Smooth height map.

Post by pfaber11 »

Can someone please help. I am using a height map and want large smooth hills. At the moment I get sharp edges. Thanks for reading.
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Smooth height map.

Post by pfaber11 »

I'm gonna see if any examples are out there . I'll post it here if I find the answer
User avatar
Caronte3D
Addict
Addict
Posts: 1027
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Smooth height map.

Post by Caronte3D »

Once again... if you post a runable example, more people can try to help you
BarryG
Addict
Addict
Posts: 3292
Joined: Thu Apr 18, 2019 8:17 am

Re: Smooth height map.

Post by BarryG »

Caronte3D is right. People are more inclined to help if you've posted some code that they can copy and start tweaking. It's rare that someone wants to code something entirely from scratch just to help; especially a 3D example.
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Smooth height map.

Post by pfaber11 »

OK I'll try and do something it is a task in itself but maybe I could put the whole code up . It's about 150 lines and I can tell you which bit needs looking at. Here we go .



OK here it is and what I want is rolling hills smooth hills. At the moment they are sharp. I think you can copy paste I will also put in the required files. which you will also need within the next half hour.
Last edited by pfaber11 on Sun Oct 16, 2022 4:58 pm, edited 1 time in total.
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Smooth height map.

Post by pfaber11 »

sorry I do not know how to put files on here.
User avatar
Caronte3D
Addict
Addict
Posts: 1027
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Smooth height map.

Post by Caronte3D »

Use a free file hosting, like: https://www.pcloud.com
Post Reply