

(I went to install Gimp, saw that you could do it with Macports, and I’ve been waiting for the better part of an hour. I might just go back to Qgis with the geotiff I made with Microdem. Anyway, I don’t have Photoshop or anything handy on this machine for dealing with raster images. Which seems to imply that interleaving in the Raw format might be to blame (? I donno). Knowing that with computers sometimes, when you just keep doing things over and over expecting a different result you actually get a different result: Into Unit圓d I went, creating a new project, with a new terrain object, importing the raw heightmap. Gdal_translate -ot UInt16 -of ENVI -outsize 1025 1025 -scale localdem.tif heightmap.raw I examined the help file on that gdal_translate, and by rearranging the sequence of flags in my command to how they’re listed in the help, (using my own file names, of course) kept giving me ‘too many options’ errors. Gdal_translate –ot UInt16 –scale –of ENVI –outsize 1025 1025 srtm_36_02_warped_cropped.tif heightmap.raw Hooray! However, his suggested command for converting from geotiff to raw heightmap expected by unity: Turns out, you’ve got to put things into the path (lord how I loathe environment variables, paths, etc.)Įxport PATH=/Library/Frameworks/amework/Programs:$PATH

But, I couldn’t seem to get it to work from the command line. I’d already installed gdal when I updated QGIS. Stu’s workflow is pretty complicated, but in the comment thread, he notes this:Īlrighty then, gdal. I exported a grayscale geotiff from MicroDEM. However, I was able to view the DEM using MicroDEM. QGIS would not open the damned thing folks on Twitter suggested that the header file might be corrupt. I obtained a DEM from the university library.

Per Stu’s workflow, I wanted to load a DEM of the local area into Unity.
