[QGIS-Developer] Choose DEM layer as terrain in 3D view using PyQGIS

Abdelghani Tamort abdel.tmrt at gmail.com
Mon Apr 29 01:18:38 PDT 2024


Following up in case it went unnoticed !

On Fri, 26 Apr 2024 at 16:31, Abdelghani Tamort <abdel.tmrt at gmail.com>
wrote:

> I'm having a hard time showing my DEM raster heightmap as terrain in
> QGIS's 3D view using the python API. I don't know which class is useful for
> this task but I've had some guesses that didn't work so far : setting the
> DEM raster layer to a QgsRasterDemTerrainProvider() / using
> a QgsAbstract3DRenderer.
>
> This is what I'm trying to have access to :
> https://i.sstatic.net/FyzW3RlV.png (image containing the GUI responsible
> for choosing DEM layer as terrain).
>
> Any ideas ? Working with QGIS version 3.36.1.
>
>
> Cheers,
>
>
> Abdelghani TAMORT
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20240429/ccff14e5/attachment.htm>


More information about the QGIS-Developer mailing list