Game Development Community

Creating a "middle ground" terrain template..

by Mitovo · in Torque Game Engine · 07/26/2004 (10:22 am) · 2 replies

Okay, I tried to come up with a subject that conveyed the topic as clearly as possible - of all of them, that one failed the least.. :-)

That said..

I'm trying to create a sort of "blank slate" terrain template using a height map set to a solid gray color. Now, from my experiences with other height-map related geometry, a color value of 128,128,128 is "middle ground" and halfway between the highest and lowest possible extremes.

However, when I try to apply this to a heightmap in Torque it seems that I'm given all the room in the world to build up terrain, but am at rock-bottom and can't go any lower.

I understand there are also certain parameters you can set for terrain where you define its upper- and lower-most extremes.. Perhaps this is what I need to be looking at?

Thanks in advance for any assistance.. :-)

Take care,
Mike

#1
07/26/2004 (10:28 am)
Just set minimum terrain height to say 100, and the range setting to 0. I'm not looking at Torque right now, but Im pretty sure thats the settings I use. Reload or reapply the bitmap after setting these, it should flatten everything at the height you set.
#2
07/26/2004 (10:59 am)
Erik,

Great.. I'll give that a shot..

Thanks a bunch!

Mike