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 / make terrain

Author
Message
mnemonic
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden
Posted: 24th Aug 2010 13:43
Could anyone please help me out with this command?

How to use the heightmap bmp? eg. What defines the height and so,,, how do I make a terrain from a heightmap and places the camera in it to walk around on it like an fps game?
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 24th Aug 2010 14:54
Personally I would look into the ADVANCED TERRAIN commands for making terrains instead of the default ones.

Anyway, a heightmap defines the hills and valleys of your terrain. Black means no height, and white means the highest height. Shades of gray are in-between. Heightmaps are very easy to create. You could make them in a terrain editor, a program like GIMP or Photoshop, or even in Microsoft Paint. All you have to do is draw your hills from a top-down view in black and white and save it as an image.

If you're using Advanced Terrain, there is a very easy command you can use for walking on terrain. It is called GET TERRAIN GROUND HEIGHT and works in the same way as the GET GROUND HEIGHT command that you would use on a matrix.

There is yet another terrain system out there called Blitz Terrain that controls Level Of Detail (LOD) for you. I've heard it's pretty good and fast.


Guns, cinematics, stealth, items and more!

Login to post a reply

Server time is: 2024-11-23 11:23:52
Your offset time is: 2024-11-23 11:23:52