Skip to main content
GameDev.net gamedev.net
🔒 Locked

Height map sample size?

Started by Wysardry Sep 28, 2010 at 8:52 PM 3 replies 1.4k views
Original Post
Wysardry
Wysardry
I apologise, but I'm not sure of the correct terminology to use for this question:-

When using a height map to create terrain in a first person game with a human sized player, what is an acceptable sample size to use. I mean, what real life measurement should each pixel/height marker represent?

I was thinking along the lines of 4 by 4 metres per pixel.
swiftcoder
swiftcoder
It entirely depends on how you want the player to eb able to interact with the terrain. If this is a shooter where cover is important, you might want as many as 2-4 samples per metre. If this is a driving game (i.e. Halo's Warthog), you could get away with one every 5 metres...
Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]
Wysardry
Wysardry
It's for a fantasy RPG. Methods of transport would be similar to those in World of Warcraft (walking, mounts, slow flight).
TyrianFin
TyrianFin
Keep terrain polygons big (5-10m), and add some prop meshes to create intresting shapes. (for reference look rock cliffs in Fallout 3).

/Tyrian
swiftcoder
swiftcoder
Quote:
Original post by Wysardry
It's for a fantasy RPG. Methods of transport would be similar to those in World of Warcraft (walking, mounts, slow flight).
Judging by the only wireframe video I could find of WoW, their highest LoD for terrain is about one vertex per character height, which would make it about one sample per 2 metres with human-sized characters, provided the heightmap is at a similar resolution.

Keep in mind however that WoW's graphics are very, *very* last generation. You might want to provide as much as 4-8x higher resolution terrain for a modern game.

Edit: Fallout 3 uses much higher resolution terrain - maybe 2 samples per metre, and as Tyrian says, scatters props absolutely everywhere.
Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.