Game Development Community

Terrain Scale in T3D

by James Brad Barnette · in Torque 3D Professional · 03/01/2010 (1:05 pm) · 2 replies

I have a heightmap that I need to turn in to terrain. It is a 1024x1024 png that represents about 16km When I bring it in there is a meters per pixel. this should be 16 Right?

#1
03/01/2010 (2:40 pm)
16000 meters divided by 1024 pixels = 15.625 meters per pixel.

16 is close enough. ^__^

#2
03/01/2010 (3:25 pm)
Yep, for XY I believe so. Not certain if it's the same for the height setting on a heightmap though ...

lol @ Gerry

edit:
Doh! Vertical height will be whatever the difference between the lowest and highest points of the map is (if it's a real place).