Using Terrain3D with USGS DEM files

Godot Version

4.6.stable.official

Question

I’m playing around with Terrain3D in Godot4.6, trying to load in USGS DEMs I’ve stitched together in QGIS.

I export them as a geotiff, then use GIMP to convert it to float32 EXR.

Importing it using the Terrain3D importer has been a real problem. The EXR is 8192 x 8192. I use a region size of 512 and a vertex spacing of 10 (which matches the DEM resolution). The result is a greatly exaggerated terrain on import. I need to scale it to 0.001 to be able to view it in the camera.

QGIS confirms the map elevations are 169m - 298m, so there isn’t that much range to deal with.

I read somewhere that the OpenEXR importer is buggy, but I can’t really confirm.

Any thoughts / tips?