<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>Yes - exporting the raster to xyz points or to contour lines are both workarounds.</p>
<p>It would be nice, if QGIS would gain a direct algorithm of creating a mesh from a DEM - as many DTMs are provided as raster. It seems like SAGA has a raster DTM to TIN algorithm ( <a href="https://saga-gis.sourceforge.io/saga_tool_doc/8.5.1/tin_tools_0.html">https://saga-gis.sourceforge.io/saga_tool_doc/8.5.1/tin_tools_0.html</a> ) - but SAGA is a bit complicated to use within QGIS and SAGA support within QGIS processing may disappear in the future. Perhaps we could port the SAGA algorithm to QGIS - or maybe an alternative algorithm?</p>
<p>My goal is to replace the raster DTM with a MESH for 3D display - with the ability to edit the MESH at important points. The builtin triangulation of the QGIS 3D viewer (where you can have a raster DTM as a terrain source) is sometimes doing weird things - I'd like to control that better - e.g. by introducing additional break lines or manually editing the Mesh.</p>
<p>Andreas</p>
<p id="reply-intro">On 2023-03-20 14:20, Stefan Giese (WhereGroup) via QGIS-Developer wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<p>Hi all,</p>
<p>I think it is not nessasary to go through Blender, just use theese two algorithm:</p>
<ul>
<li>pixeltopoints</li>
<li>tinmeshcreation</li>
</ul>
<p>Best regards</p>
<p>Stefan</p>
<div class="v1moz-cite-prefix">Am 20.03.2023 um 14:11 schrieb Sebastian Gutwein via QGIS-Developer:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div dir="ltr">The ridiculous work around I use is to go through Blender using the BlenderGIS plugin. Import the raster into Blender as a new mesh > Decimate the mesh > Export as a shapefile > Run TIN Mesh Creation in QGIS.
<div>  </div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Mon, Mar 20, 2023 at 9:03 AM Saber Razmjooei via QGIS-Developer <<a class="v1moz-txt-link-freetext" href="mailto:qgis-developer@lists.osgeo.org" rel="noreferrer">qgis-developer@lists.osgeo.org</a>> wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div dir="ltr">Hi Andreas,
<div> </div>
<div>There should be a tool to convert vector to mesh (under Processing > Mesh > TIN Mesh Creation). There will also be some new Processing tools for handling point clouds. But I am not aware of any Raster > Mesh tools.</div>
<div> </div>
<div>Kind regards</div>
<div>Saber</div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">On Mon, 20 Mar 2023 at 13:56, Andreas Neumann via QGIS-Developer <<a class="v1moz-txt-link-freetext" href="mailto:qgis-developer@lists.osgeo.org" rel="noreferrer">qgis-developer@lists.osgeo.org</a>> wrote:</div>
<blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">
<div style="font-size: 10pt; font-family: Verdana,Geneva,sans-serif;">
<p>Hi QGIS devs,</p>
<p>Is there a tool available to create a Mesh (or TIN as a special mesh variation) from a source raster layer containing terrain values?</p>
<p>I did not find one - but maybe I didn't look everywhere.</p>
<p>If not in QGIS - do you know an external Open Source tool that could do that, while keeping real world coordinates?</p>
<p>Thanks,</p>
<p>Andreas</p>
</div>
_______________________________________________<br />QGIS-Developer mailing list<br /><a class="v1moz-txt-link-freetext" href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br />List info: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
<br clear="all" />
<div> </div>
<span>-- </span><br />
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Saber Razmjooei</div>
<div><a href="http://www.lutraconsulting.co.uk" target="_blank" rel="noopener noreferrer">www.lutraconsulting.co.uk</a><br /><span>+44 (0)7568 129733</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br />QGIS-Developer mailing list<br /><a class="v1moz-txt-link-freetext" href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a><br />List info: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote>
</div>
<br clear="all" />
<div> </div>
<span class="v1gmail_signature_prefix">-- </span><br />
<div class="v1gmail_signature" dir="ltr">
<div dir="ltr">___________________________<br />
<div dir="ltr"><span>Sebastian "Bas* " Gutwein</span></div>
<div><span><span>*rhymes with Josh <br /></span></span></div>
<div><span><span> </span></span></div>
Regenerative Design Group<br />1 Chevalier Ave<br />Greenfield, Ma 01301<br />Web: <a href="http://regenerativedesigngroup.com" target="_blank" rel="noopener noreferrer">regenerativedesigngroup.com</a><br />(631) 241-1018<br /><br />
<div dir="ltr"><em><span><span>Look close, think big, make change. </span></span></em></div>
<div dir="ltr"> </div>
</div>
</div>
<br /><fieldset class="v1moz-mime-attachment-header"></fieldset>
<pre class="v1moz-quote-pre">_______________________________________________
QGIS-Developer mailing list
<a class="v1moz-txt-link-abbreviated" href="mailto:QGIS-Developer@lists.osgeo.org" rel="noreferrer">QGIS-Developer@lists.osgeo.org</a>
List info: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
Unsubscribe: <a class="v1moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
</blockquote>
<pre class="v1moz-signature">-- 
Mit freundlichen Grüßen
Stefan Giese
Projektleiter/Consultant
**********************************************
FOSSGIS Konferenz
15.-18. März 2023 in Berlin
<a class="v1moz-txt-link-freetext" href="https://fossgis-konferenz.de/2023/" target="_blank" rel="noopener noreferrer">https://fossgis-konferenz.de/2023/</a>

WhereGroup-Beiträge auf der FOSSGIS
<a class="v1moz-txt-link-freetext" href="https://wheregroup.com/unternehmen/aktuelles/" target="_blank" rel="noopener noreferrer">https://wheregroup.com/unternehmen/aktuelles/</a>
********************************************** 
WhereGroup GmbH
Schwimmbadstr. 2
79100 Freiburg
Germany

Tel.: +49 (0)761 / 519 102 - 61
Fax: +49 (0)761 / 519 102 - 11

<a class="v1moz-txt-link-abbreviated" href="mailto:stefan.giese@wheregroup.com" rel="noreferrer">stefan.giese@wheregroup.com</a>
<a class="v1moz-txt-link-abbreviated" href="http://www.wheregroup.com" target="_blank" rel="noopener noreferrer">www.wheregroup.com</a>
Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885</pre>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />QGIS-Developer mailing list<br /><a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div>
</blockquote>
<p><br /></p>

</body></html>