Author Topic: Just a question  (Read 3179 times)

0 Members and 1 Guest are viewing this topic.

Amazed, yet confused

  • Guest
Just a question
« on: September 11, 2005, 05:24:12 PM »
Ok. I'm a total noob at this. So if you're going to get mad at me for asking a dumb question, better not read anything more.

I just stumbled across this site when it was linked on a forum for an upcoming game.  After screwin around with this program (free version) i started to wonder, how one actually uses these files and "plugs" them into a game type envirnoment.  I realize the question to this could be really long, so if you want to tell me to eff off, go right ahead.


  • Testing Team
  • World Machine Guru
  • *****
  • Posts: 550
    • View Profile
Just a question
« Reply #1 on: September 12, 2005, 01:43:05 AM »
If we didn't answer the newbees, this forum would not have any post!
[ No, I'm not calling noone a newbee, I'm just saying there is no way to reach knowledge unless you were a newbee at least once in the past! ;) ]

Well.. regarding how to "see" WM in a game, I only know of two ways! Either you like spending time in MW's explorer mode, and call it a game ;) :cool:, or you make heightmap files using WM for use in games (or other apps).
That topic of images representing heighmaps is discussed briefly in the User Manual, and other places. There have been a few threads that mention this here also, but I don't have the time right now to look for them. :( So it's simpler if I explain it my way! ;)

You can think of an image as a compact representation for land! Think of the image as a carpet and lay it on the floor! Now, imagine that each image pixel's colour represents a height. For instance, a dark colour is a low area, and a bright colour is a high area.. And that is basicly it!..
What an application (game) must do, is to concect each pixel using triangles (triangulation) and fill those triangles with some texture. That is how you get terrain from an image.

Obviously, a game can complicate things to perform faster, like not drawing certain parts of the terrain, or simplifying some other parts, but that is the game's responsibility. WM only produces the images (heightmaps) that are used to tell the game how the terrain looks; the rest is up to the game to do.

Try taking a look at It is a site dedicated to virtual terrains. You might find a lot of stuff there.