This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gdal_translate -ot UInt16 -scale -of ENVI -outsize 1025 1025 Seattle_16Int.tif seattle_heightmap.raw | |
-of ENVI means it will write out RAW | |
This works fine. However, importing this .raw file into Unity produces an Vertically inverted terrain. | |
I opened with Photoshop CS, then did Image > Flip Vertical. | |
“Save As” Photoshop RAW. Options were blank, but saving worked. | |
Loaded into Unity as a terrain setting. Then manually set the Terrain height to 75, which when walking around seems right. | |