Skip to content

Importing Topography and Draping Images (BlenderGIS)

bsomps edited this page Oct 25, 2024 · 12 revisions

For detailed documentation on BlenderGIS, Please refer to the github page here: https://github.com/domlysz/BlenderGIS

This work flow example will go through how to set up topography and use georeferenced images from GIS software (QGIS used here) at the project scale.

Exporting Data From QGIS

1. Import a digital elevation model (DEM) file into QGIS. You can find free DEM data (3DEP) using the USGS TNM Download page here: https://apps.nationalmap.gov/downloader/

2. With the DEM loaded into QGIS, export it so that it is clipped to your project scale and exported as the same projected coordinate system as your drilling data/point data ect.. you can do this by going to export → save as → geoTIFF and make sure to clip to map canvas extent and select the correct CRS

3. Any georeferenced TIFFs can be draped on the topography. To export a georeferenced TIFF in QGIS you can either go to Edit → export map as image → save as TIFF and clip again to map canvas extent, or create a map in the print composer and save as TIFF.

Export_QGIS.mp4

Import into Blender Using the BlenderGIS add on

1. With the BlenderGIS add on installed, navigate to the GIS button in the upper horizontal tool bar (make sure your in object mode), select Import → Georeferenced Raster. This will open your file browser.

2. Select the .tif file, and on the right hand side of the window select → mode: DEM as Displacement Texture, subdivision: subsurf, check box for smooth relief, and set up your scene georeferencing (make sure to match the CRS of your drill hole or point data). Click Import Georaster.

3. The topography will display as a single mesh object. The object has two modifiers (UV map and displacement texture) so you will need to right click on the object → convert to mesh in order to make the modifiers permanent and see the wire frame.

4. To drape a raster image on your topography, select Import → Georeferenced Raster, on the right hand side of the window select → mode: Basemap on Mesh, set objects to the DEM object, and ensure your scene georeferencing matches your DEM CRS. Click Import Georaster.

5. You can continue to add draped rasters, but note they will get stored in the Active Materials Indexand will not automatically update in the viewport. You will need to select the topography mesh object, tab to go into Edit Mode, hit A to select all vertices, and navigate to Material Properties. Here you will find the Active Materials Index and can switch between rasters by clicking Assign.

Import_Blender.mp4