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 / Advanced Terrain Statements

Author
Message
Avoth
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location:
Posted: 24th Mar 2011 15:27
I am currently trying to work through advanced terrain statements to acheive an accurate developed terrain into my program.

The first thing i have realised is that not all of the statements are functioning for example the statement to receive terrain width and depth.

As it stands i have been using 3D World Studio which does NOT export to .DBT which is kinda of useless making the only export method useful from it being save heightmap.

This however is also uesless as it developes an inacurate terrain when turned into a map in DBPro. The map is a rough sketch of what you had before due to its 64x64 scale of a, for example, 1028x1028 map loosing certain points of detail which could prove vital when creating your game world.

I have looked for programs all over to try and find one that will import .dbo files and export to .dbt but have had no luck.

Or even simpler.. a program to develope terrain and export them as .dbt so i can simply use the load terrain statement in my program.

Does anyone have any info on this?
The Slayer
Forum Vice President
16
Years of Service
User Offline
Joined: 9th Nov 2009
Playing: (Hide and) Seek and Destroy on my guitar!
Posted: 24th Mar 2011 17:49
Quote: "The first thing i have realised is that not all of the statements are functioning for example the statement to receive terrain width and depth."

Hey Avoth, the commands 'get terrain size x' and 'get terrain size z' do NOT return the actual size of the terrain, but the segments. Terrains created with Advanced terrain are treated like regular objects.
So, if you wanna know the exact size of your terrain, just add these commands inside your do/loop:



From the help files:



Quote: "As it stands i have been using 3D World Studio which does NOT export to .DBT which is kinda of useless making the only export method useful from it being save heightmap.

This however is also uesless as it developes an inacurate terrain when turned into a map in DBPro. The map is a rough sketch of what you had before due to its 64x64 scale of a, for example, 1028x1028 map loosing certain points of detail which could prove vital when creating your game world."

Yeah, I haven't found any program (yet) that converts or exports to the .DBT format.
But, are you saying that 3DWS exports the heightmaps to only 64x64?

Cheers

SLAYER RULES! YEAH, MAN!!

Login to post a reply

Server time is: 2026-07-16 21:35:23
Your offset time is: 2026-07-16 21:35:23