Just a question

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.

Hi!
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! :wink: ]

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 :wink: :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. :frowning: So it’s simpler if I explain it my way! :wink:

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 http://vterrain.org/. It is a site dedicated to virtual terrains. You might find a lot of stuff there.

Cheers,