I have been creating 3D models of terrain for uploading to SketchFab and also generating 3D models for use in my World Heritage sites class. With GIS, it is possible to add any additional information to the 3D models as needed. I like this approach because it is straightforward to create whatever 3D content you need with just a few clicks. It did take me a while to figure out this workflow, so hopefully this post will save somebody some time and effort.
My General Workflow:
- Capture with screenshots digital elevation models (DEMs) and aerial imagery within QGIS. The advantage of this approach is that any other GIS layers can be added on top of the DEM models in the final 3D modeling rendering.
a. Navigate to a real world of interest within QGIS.
b. I typically use the QGIS SRTM plug-in for automatically downloading the DEMs that cover the current extent. If there are more than one DEM, I merge them together.
Raster ⇨Miscellaneous ⇨ Merge. Then add the recently downloaded SRTM files and click merge.
To use this SRTM plug-in, create a free profile at https//urs.earthdata.nasa.gov.
c. Take screenshots of both the DEM and aerial imagery for the overlaying 3D model’s texture. Make sure the screenshots cover the same area of the screen so that they overlay each other.
- Open the DEM raster layer in Photoshop.
- Create a new layer in Photoshop and embed the texture layer (aerial imagery or other GIS layers), and label this new layer as texture.
- Create New Terrain using the Atlas plug-in
- Modify the terrain settings and export the 3D model from Photoshop.
I normally export the 3D model with 600 cm width dimensions which seems to work well with uploading to SketchFab. I also save the texture files as JPEGS which SketchFab can process.
Upload to Sketchfab
- Compress the exported .obj and other supporting files. On a Mac highlight all the files, right-click and then select compress. Upload the .zip file to SketchFab.