Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / DarkGDK is reading my terrain height maps incorrectly; what's wrong?

Author
Message
FaizB110
16
Years of Service
User Offline
Joined: 2nd Jul 2008
Location:
Posted: 7th Oct 2008 03:11
I am having a problem using heightmaps to create terrains in DarkGDK. my problem is this: when i render the terrain, there is a flat space emerging from the bottom and left sides. This thows off my texture as the new terrain areas cause the textures to be stretched to areas that should not exist. It is better described with pictures;
my hightmap for example is one like this.



in my program, it is rendered as if i used this heightmap instead:



It always happens, with any image I have used. I would like to know what is wrong and / or how i can correct this.
SushiBox
16
Years of Service
User Offline
Joined: 20th Sep 2008
Location: Ohio
Posted: 7th Oct 2008 05:46
Try creating a larger height map, I am not sure if there is a minimum size or not. I don't know, ill test it here if you cant get any results.

www.Helios-Online.net
Zuka
16
Years of Service
User Offline
Joined: 21st Apr 2008
Location: They locked me in the insane asylum.
Posted: 7th Oct 2008 05:48
Uh... blow up the image to the right size, then use dbScaleTerrain or whatever?

Login to post a reply

Server time is: 2024-09-30 07:28:45
Your offset time is: 2024-09-30 07:28:45