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.

DarkBASIC Professional Discussion / BT Error: Heightmap size invalid Function: BT BuildTerrain

Author
Message
Maindric
16
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 30th Jun 2012 07:29 Edited at: 1st Jul 2012 02:05
Not much else to say, here is the terrain file...



This is almost all the BT Code in my project, what is wrong with the load?

The BMP is 512 X 512 and I tried 8 bit and 24 bit, same thing.

**UPDATE**

This has to be an error in my code, as I replaced the heightmap with the included projects with mine, and it works, but they look identical to me, so I am going to look closer...





That is the Main data file.



That is the data file.


UPDATE 2

Ok, I copied and pasted the entire file, and it still has the same error. Seems the only ones that compile and run properly are the codes files provided.... Checking to see if I can fix that...

So I replaced my DBPro file with the other DBPro file, still nothing...

Maindric
16
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 1st Jul 2012 02:15
Problem solved.

I am double posting to present the issue and solution.



Should be



Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 1st Jul 2012 12:01
I'm surprised baxslash didn't offer that explanation.

Login to post a reply

Server time is: 2026-07-07 15:10:57
Your offset time is: 2026-07-07 15:10:57