02.01.2009, 01:36
"I've tried this but depending on the terrain it doesn't always give the right result."
Dunkelgrun, can you be more explicit?
Clockwatcher got the scale by measuring heights in game for every possible gray color. Take a map_h all black (rgb=0) and place some pixels of rgb=1 then some with rgb=2 and so on till rgb=255. Measure the height in game for each region. The scale is clearly not linear and has bigger height jumps at large rgb values, that is also large height errors at large heights
Dunkelgrun, can you be more explicit?
Clockwatcher got the scale by measuring heights in game for every possible gray color. Take a map_h all black (rgb=0) and place some pixels of rgb=1 then some with rgb=2 and so on till rgb=255. Measure the height in game for each region. The scale is clearly not linear and has bigger height jumps at large rgb values, that is also large height errors at large heights