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.

Newcomers DBPro Corner / Scaling terrain

Author
Message
Avo
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location:
Posted: 3rd Sep 2010 19:50 Edited at: 3rd Sep 2010 19:50
Im currently working with a height map trying to make a large terrain however the end result of the terrain is tiny. Ive combed through the index but i cant seem to find anything to scale terrain.
Is there any way to do this?
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Sep 2010 09:47
you are probably looking at the commands for the old terrain system.
You should use advanced terrain instead.
you will find an example with media here:

http://forum.thegamecreators.com/?m=forum_view&t=97644&b=1

In advanced terrain scaling works like this:

set terrain scale terrain_number,xscale,heightscale,zscale

Supposing you have a 256x256 wide heightmap:

scale 1 will give you a 256x256 DBP units terrain (x,z)
scale 10 will give you a 2560x2560 DBP units terrain
scale 100 will give you a 25600x25600 DBP units terrain
etc..
Avo
14
Years of Service
User Offline
Joined: 12th Jun 2010
Location:
Posted: 4th Sep 2010 21:25
Thanks! This looks to be exactly what i was looking for!

Login to post a reply

Server time is: 2024-09-28 22:29:54
Your offset time is: 2024-09-28 22:29:54