Do newer games use heightmaps in their terrain?

Started by
7 comments, last by evanofsky 18 years, 9 months ago
Do newer games use height maps in their terrain or is heightmaps just used in tutorials or similar applications to demonstrate? What I mean is, do the use heightmaps or a finished mesh?
Advertisement
Sure. FarCry does, and so does Battlefield 1942/BF2. Oh yeah, the Unreal engine does too.

The exact implementation will be game specific, but they both ultimatly use a greyscale heightmap as the input data of the terrain (the CryEngine sandbox editor has a heightmap painter in built, IIRC). The terrains in those games are just populated with some nice art (read: static meshes, such as cave overhangs) to make it all look....nice :) (rather than your usual stark terrain tech demos).

- Thomas Cowellwebsite | journal | engine video

I don't think you can really answer this for definite.

Unless you have insider knowledge on various titles (which, I suppose some people round here have!) we have to resort to guess-work to determine what/how they generate the images we see.

However, whilst there is probably a move towards more mesh-oriented terrain you do see a **lot** of seemingly height-map based graphics in commercial titles.

hth
Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

Quote:Original post by jollyjeffers
I don't think you can really answer this for definite.


Well, when you load up the level editors for these games and start painting a greyscale 2D heightmap, thats pretty indicative [smile].

- Thomas Cowellwebsite | journal | engine video

A heightmap can be used to start off a mesh of a terrain in an editor, and it doesn't mean that the heightmap itself is used at runtime.
It's still based off a heightmap, and since it is I'd be pretty surprised that they wouldn't take advantage of the benefits of simple heightmaps.

The main benefits of using just polysoup (or "finished meshes") is you can have overhangs, which you can't get with painting a 2D heightmap. EVERYTHING is converted into a "mesh" in the end anyway (triangles), how it's converted to those triangles depends on the specific implementation :P.

- Thomas Cowellwebsite | journal | engine video

I think both versions are used. HL² for example doesn´t use heightmaps, but uses something they call displacement surfaces, which is simply a regularly divided plane with the option to move the vertices around, and I prefer that way, at least if you want overhangs, caves, natural bridges and stuff like that. That can all be build using this technique. For the textures they use a simple gray-scale alpha map, because you´re restricted to blend two textures together at one of those surfaces.
Meshes plugged into a heightmap most often look quite unfitting, leaving ugly edges. Getting that traversion right isn´t that simple, I guess, never done it before, though.
Quote:Original post by cow_in_the_well
Quote:Original post by jollyjeffers
I don't think you can really answer this for definite.


Well, when you load up the level editors for these games and start painting a greyscale 2D heightmap, thats pretty indicative [smile].

Good point [grin] I hadn't thought about looking at the world editors for the games. I'm used to looking at the various screenshots that float around the net and trying to work it out from there...

Quote:uses something they call displacement surfaces, which is simply a regularly divided plane with the option to move the vertices around

I've seen this in regular 3D Modelling packages, nothing new there - but I hadn't thought about its applications for terrain. Might go do some reading up on that [smile]

Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

My game uses heightmaps, and it's pretty new.

This topic is closed to new replies.

Advertisement