• Welcome to World Machine Community. Please login or sign up.
 
May 23, 2019, 04:58:56 am

News:

Read the Development Diary for an inside look at World Machine's progress!


Just a question

Started by Amazed, yet confused, September 11, 2005, 05:24:12 pm

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Amazed, yet confused

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.

Fil

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! ;) ]

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

Cheers,
Fil.

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview