<div dir="auto">Thanks Andreas for sharing your scripts. We will give it a try asap. x3ddom is a great tool to create rapid, yet effective, 3d scenes and it's very welcome in the GIS arena ;)<div dir="auto"><br></div><div dir="auto">giovanni</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 27 mar 2017 16:11, "Andreas Plesch" <<a href="mailto:andreasplesch@gmail.com">andreasplesch@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Andreas,<br><br></div>I completely agree with your characterisation of the various 3d technologies. There is also webGL based Cesium which is higher level, still performant for somewhat larger scenes but tied to a specific, single, controlled implementation.<br><div><br><div><div class="gmail_extra"><div class="gmail_quote"><div class="quoted-text"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>* QGIS2threejs: uses WebGL. Goal is to publish a small scene to the web, independent from QGIS. QGIS is only used to prepare the scene. WebGLS/ThreeJS is quite a low-level technology compared to X3D</p>
<p>* X3D approach: more descriptive, human readable files. Similar to VRML or SVG. Goal ist also publication of smaller scenes to the web. X3D viewer may render either natively or through WebGL. X3D, compared to WebGL/Threejs lowers the barrier for script or XML people to further process the file after an export. The X3D concepts are easier to understand than raw WebGL.</p></div></blockquote></div><div>I am most familiar with X3D (having implemented most of the x3dom.js geospatial nodes) and want to focus on that since it promises longevity of content, even archival quality, including meta data capability.<br></div><div class="quoted-text"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>* qt53D: Based on OpenGL. could lead to a good integration into QGIS core. Not meant to be published to the web.</p></div></blockquote></div><div>This is probably what my question was aiming for. If there was a Qt53D based X3D browser then it would be possible to  reuse that for QGIS3 integrated display. But I do not think there is. The closest would be probably Qt5 webkit with webgl and x3dom.js (or cobweb.js).<font color="#888888"><br><br></font></div><font color="#888888"><div>Andreas<br></div></font><div class="elided-text"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<p>Andreas</p>
<p> </p>
<p>On 2017-03-27 14:49, Andreas Plesch wrote:</p>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">
<div dir="ltr">
<div dir="auto">
<div dir="auto">Let me share a project for interactive 3d visualization of qgis content on the web using the geospatial component of the standardized X3D format. Code and examples are on GitHub:</div>
<div dir="auto"> </div>
<div dir="auto"><a href="https://github.com/andreasplesch/QGIS-X3D-Processing" target="_blank">https://github.com/andreasples<wbr>ch/QGIS-X3D-Processing</a></div>
<div dir="auto"> </div>
<div dir="auto">This effort is similar to QGIS2Threejs but is just starting out and will use quite a different approach.</div>
<div dir="auto"> </div>
<div dir="auto">On the user list Paolo mentioned plans to use native qt5 3d facilities for qgis3 as well (see below). Is there a repository or documentation to learn more about this ? For example, it may be beneficial to use webGL enabled webkit (perhaps in the processing results viewer).</div>
<div dir="auto"> </div>
<div dir="auto">Any pointer or other feedback is very welcome,</div>
<div dir="auto"> </div>
<div dir="auto">Andreas</div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<div dir="auto"> </div>
<br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Date: Mon, 27 Mar 2017 08:15:36 +0200</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">From: Paolo Cavallini <</span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">To: </span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:qgis-user@lists.osgeo.org" target="_blank">qgis-user@lists.osgeo.org</a><span style="font-family:sans-serif;font-size:13.696px">, qgis-developer</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">        <</span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.or<wbr>g</a><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Subject: Re: [Qgis-user] QGIS X3D processing</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Message-ID: <</span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:6dab7995-95d0-21c6-c8b3-347f18ade72f@faunalia.it" target="_blank">6dab7995-95d0-21c6-c8b3-347f1<wbr>8ade72f@faunalia.it</a><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Content-Type: text/plain; charset=utf-8</span><br style="font-family:sans-serif;font-size:13.696px"><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Il 27/03/2017 01:52, Andreas Plesch ha scritto:</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> Hi Paolo,</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     Date: Sun, 26 Mar 2017 20:22:06 +0200</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     From: Paolo Cavallini <</span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     <mailto:</span><a style="text-decoration:none;color:#4285f4;font-family:sans-serif;font-size:13.696px" href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a><span style="font-family:sans-serif;font-size:13.696px"><wbr>></span><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     Il 26/03/2017 00:27, Andreas Plesch ha scritto:</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     > I would like to share a project for 3d visualization of Qgis</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     content by</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     ...</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     > This effort is similar to QGIS2Threejs but is just starting out</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     and will</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     > use quite a different approach.</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     ></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     > Any comment, feedback or thought is welcome,</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     Cool, thanks. AFAIK there are plans to use native Qt5 3D facilities,</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">>     have you had a look to this too?</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> I looked into using qt webkit and found that qt5 webkit supports webgl</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> (and probably a modern js engine?). That would be very interesting as it</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> would be possible to rely just on webkit and perhaps have some tighter</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> integration with the Qgis gui.</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">></span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> What would be a good place to learn more about QGIS3 plans to use native</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">> Qt5 3d facilities ?</span><br style="font-family:sans-serif;font-size:13.696px"><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Hi Andreas,</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">I do not know much. You can probably have a look to the work of Minoru</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">Akagi, who started some early development on this.</span><br style="font-family:sans-serif;font-size:13.696px"><span style="font-family:sans-serif;font-size:13.696px">However, I think some core devs may be interested in joining the discussion.</span><br style="font-family:sans-serif;font-size:13.696px"><br></div>
<br clear="all"><span class="m_-3812654181365507363HOEnZb"><font color="#888888"><br>-- <br>
<div class="m_-3812654181365507363m_-8641303021401187649gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</font></span></div><span class="m_-3812654181365507363HOEnZb"><font color="#888888">
<br>
<div class="m_-3812654181365507363m_-8641303021401187649pre" style="margin:0;padding:0;font-family:monospace">______________________________<wbr>_________________<br> Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a><br> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/qgis-developer</a></div>
</font></span></blockquote>
<p> </p>
<div> </div>
</div>
</blockquote></div></div><div class="elided-text"><br><br clear="all"><br>-- <br><div class="m_-3812654181365507363gmail_signature" data-smartmail="gmail_signature">Andreas Plesch<br>39 Barbara Rd.<br>Waltham, MA 02453</div>
</div></div></div></div></div>
<br>______________________________<wbr>_________________<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" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>