1
\$\begingroup\$

I am new to using Terrain height maps in Unity.

I'm trying to use real-world terrain height data, using sources including:

  • The US Geological Survey (files like N24E054.hgt)
  • Google Maps (SRTM hdr files, tfw files, and tif files)

I want to import this high definition terrain data into a Unity terrain.

In Unity, it seems like terrain can only import Raw data representation.

How can I use an hgt file to shape a Unity Terrain?

\$\endgroup\$
  • \$\begingroup\$ Have you ever looked at this? \$\endgroup\$ – Gabriele Vierti Dec 13 '18 at 5:44
  • \$\begingroup\$ i used an application called L3dt, which can import many format of heightmap and export in many including RAW \$\endgroup\$ – Big T Larrity Dec 13 '18 at 14:58
  • 1
    \$\begingroup\$ It is also possible to build your own mesh, piece by piece, from the .hgt. But you'd have to parse the data yourself, and whether you'd want to do that, I don't know. But this would provide a lot of control over the end result. See the doc. \$\endgroup\$ – Engineer Dec 13 '18 at 16:11
1
\$\begingroup\$

i used an application called L3dt, which can import many format of heightmap and export in many including RAW

free version here (you can also email request a free trial of the Pro Edition): http://www.bundysoft.com/L3DT/downloads/

\$\endgroup\$
1
\$\begingroup\$

I used terrain.party website to get the maps. It works pretty well. You feed it location coodinates and returns the maps.

Gimp is a nice program to use to view and export the file to Raw.

Then you import the raw heightmap to use as terrain.

\$\endgroup\$
  • \$\begingroup\$ didnt realise you could just use Gimp.. nice! :D \$\endgroup\$ – Big T Larrity Dec 13 '18 at 15:24
0
\$\begingroup\$

Uset VTBuilder and then export to your prefered format:

Export elevation grids to ArcInfo ASCII Grid, GeoTIFF, TerraGen, BMP, STM, MSI Planet, VRML ElevationGrid, RAW, ChunkLOD (.chu), PNG 16-bit, 3TX, and more.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.