<div dir="ltr">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. <div><br></div><div>This is what I'm trying to have access to : <a href="https://i.sstatic.net/FyzW3RlV.png">https://i.sstatic.net/FyzW3RlV.png</a> (image containing the GUI responsible for choosing DEM layer as terrain). </div><div><br></div><div>Any ideas ? Working with QGIS version 3.36.1. </div><div><br></div><div><br></div><div>Cheers, </div><div><br></div><div><br></div><div>Abdelghani TAMORT</div></div>