I wonder if qgis can properly render a DTM (triangle) layer (as shown in image1) and become like a moveable (orbit-able) map to export to web browser?

image1 image2

If this is possible, where should I start from?

Currently the output of DTM layer looks so 2D and flat.. Did I import it with a wrong way?


Have a look at QGIS2threejs. It allows you to export a terrain model to a web viewer. it's available as a plugin, just search for it in the plugins dialog.


There are settings for draping a DTM with an ortophoto, as well as extruding polygons and so on.

Not sure if it works out of the box with a mesh geometry, but I think it's a good place to start.

  • Thank you hexamon! This is helpful. – Andy Yang Oct 9 at 2:28
  • But after I export this 3D viewer to web browser, it only works on local directory properly. That is, if I host it, the 3D viewer takes ages to load and show up.. – Andy Yang Oct 9 at 2:30
  • I was using firebase free hosting server. Will that be the reason of extremely slow loading? If I go with a proper hosting solution, will this performance be enhanced? :) – Andy Yang Oct 9 at 2:31
  • @AndyYang Not sure. I don't have experience with FireBase. But I think the rendering is done client side, so the performance of the map should only be impacted by the connection in terms of loading the data. Once the data is loaded there should be no difference between running it locally and remote. I'm not 100 % sure about this though, but consider it a qualified guess... – hexamon Oct 9 at 7:58
  • 1
    You are the man!! the blog and his render on firebase is smooth and breathtaking!!! I will do some research and let you know how it goes :) Cheers bro – Andy Yang Oct 10 at 19:54

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.