# Imported heightmap landscape formula? I have a png with 4096x4096 pixels and also meters, and 0.1 pixel value per 100 meters in height but can get it right

**URL:** <https://forums.unrealengine.com/t/imported-heightmap-landscape-formula-i-have-a-png-with-4096x4096-pixels-and-also-meters-and-0-1-pixel-value-per-100-meters-in-height-but-can-get-it-right/1861231>\
**Category:** World Creation\
**Tags:** png, unreal-engine, scale, Landscape, heightmap\
**Created:** [May 18, 2024, 12:53am UTC](https://forums.unrealengine.com/t/imported-heightmap-landscape-formula-i-have-a-png-with-4096x4096-pixels-and-also-meters-and-0-1-pixel-value-per-100-meters-in-height-but-can-get-it-right/1861231 "2024-05-18T00:53:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![holchang](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@holchang](https://forums.unrealengine.com/u/holchang)\
**Post date:** [May 18, 2024, 12:53am UTC](https://forums.unrealengine.com/t/imported-heightmap-landscape-formula-i-have-a-png-with-4096x4096-pixels-and-also-meters-and-0-1-pixel-value-per-100-meters-in-height-but-can-get-it-right/1861231/1 "2024-05-18T00:53:03Z")

</div>

![Screenshot_6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/b/5eb72bf29742af7116faeae32ceaedb4928e818a.png)  
In blue a LOD2 original terrain, and in green the terrain generated using landscape tool. The PNG is linear, its a 4096x4096 pixels, meaning also 4096x4096 meters, and its pixel values, you can see here:  
 ![Screenshot_7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/1/2/312151074a95d4f6a6b0ec3edb07640b4099b0df.png)  
Why can i get this right? Even changing the scale in Unreal the terrain looks flattened in the extremes, looks like the engine uses a log or some sort of math behind the scale of the terrain.

How to have a 1:1 terrain with real world measures?
