[Qgis-user] Building models in QGIS
Andreas Neumann
a.neumann at carto.net
Fri Nov 3 08:48:47 PDT 2017
Hi Tyler,
Not so sure about textures - so they display, but upside down? Perhaps
it is an issue with vertex ordering (clockwise vs. anti-clockwise). I
had building models (3D Multipolygons) where the models were rendered
inside out. According to Martin Dobias, this is an issue with vertex
ordering, and I do hope that when QGIS 3 is shipped, that there will be
an option to set the vertex ordering with a checkbox or radiobutton.
As to the 3D raster DEM: this definitely works. In the 3D view you have
to press the "Configure" button in the top-left of the 3D window - the
button with the screw-wrench. In the dialog that opened you can choose
the raster layer with the DEM.
Depending on the size of the DEM, the triangulation of the raster DEM
may take a few seconds.
Hope this helps and greetings,
Andreas
On 2017-11-03 16:35, Tyler Veinot wrote:
> All;
> QGIS 3 is going to be awesome, well it is now, I just added my model to a 3D map as a model point and it looks pretty good. I used a number of methods in COLLADA; no texture, texture, photo texture, edges, 2 sided edges, etc.. they all seem to work. The only thing I will note is that the Photo Textures are upside down on the faces.
> As for the base data, I added a rasterized DEM but it doesn't seem to display as 3D, it looks more like a flat hillshade.
> Anyway this is a newer QGIS than what I am use too and still in Dev stages so I am sure I am just overlooking something or if it is an issue it will be fixed by release.
> Anyway, this is great. Thanks for the help.
> Tyler
>
> On Fri, Nov 3, 2017 at 9:41 AM, Tyler Veinot <tylerkveinot at gmail.com> wrote:
>
> COLLADA works brilliantly, I would like to try JSON as well. Mine didn't have any texture to it, the model came in black don't know if textures are not supported yet or if the model doesn't have one, will look into it further. I have not tested this in the QGIS 3 beta yet but will soon.
> DXF's of building models crash both QGIS systems. They came from Sketchup but I used AutoCAD to simplify them a bit as well with no luck.
> Have not gotten into the 3D polygon method yet either but will certainly try further when time permits.
> Tyler
>
> On Fri, Nov 3, 2017 at 7:22 AM, Saber Razmjooei <saber.razmjooei at lutraconsulting.co.uk> wrote:
>
> Hi Karl,
> QGIS native 3D already supports 3D models:
> http://assimp.org/main_features_formats.html [1]
>
> See also:
> https://twitter.com/AndiNeum/status/926035833358094336 [2]
>
> For buildings, ideally you need to have them as 3D polygons (e.g. CityGML). With the latest versions of GDAL/OGR you can convert them to a usable format and render them as 3D in QGIS:
> http://www.lutraconsulting.co.uk/blog/2017/10/16/buildings-in-qgis3d/ [3]
>
> Regards
> Saber
>
> On 3 November 2017 at 10:14, Karl Magnus Jönsson <Karl-Magnus.Jonsson at kristianstad.se> wrote:
>
> Hi!
> I'm playing around with the possibilities of 3D-building in the qgis2threejs-plug-in. You can use collada models, exportable from Sketchup, on point features in the plug-in. So I've made a point on the desired building, attached the model and a proper scaling. I've had some luck with it but think it will be hard to to for more than a few buildings at a time. Would be nice to hear if you make progress in either way.
>
> /Karl-Magnus
>
> 2 nov. 2017 kl. 19:37 skrev Saber Razmjooei <saber.razmjooei at lutraconsulting.co.uk>:
>
> HI Tyler,
>
> Did you try to enable 3d styling for your vectors (available from Style panel)?
> No other dependcy is needed. The documentation for 3 is underway but you can refer to the links from Andreas' email.
>
> Regards
> Saber
>
> On 2 Nov 2017 4:53 pm, "Tyler Veinot" <tylerkveinot at gmail.com> wrote:
>
> Andreas;
> I installed the QGIS 2.99 and added some data, the 3D map seems to work well with grid/raster dems but it doesn't display XYZ/XYZM geometries based on the Z coordinate. I only did a basic install using the downloadable installer; is there other dependencies I should install or is it only for viewing rasters and DEM's in 3D?
> Tyler
>
> On Thu, Nov 2, 2017 at 9:56 AM, Tyler Veinot <tylerkveinot at gmail.com> wrote:
>
> Andreas;
> Thanks for the reply; I knew there was a QGIS 3 in the works but I didn't think there was a 'working/usable' dev out, thanks for that. I am certainly going to install and play around with it.
> Tyler
>
> On Thu, Nov 2, 2017 at 9:17 AM, Andreas Neumann <a.neumann at carto.net> wrote:
>
> Hi Tyler,
>
> 3D visualization will be a core feature in QGIS 3.
>
> If you want to play with 3D visualization, I recommend that you try/test QGIS 3, even if it is still in bug fixing mode and not officially released.
>
> You can either use the OSGeo4W installer and install the dev version or use the weeklies (the newest one published at http://qgis.org/downloads/weekly/?C=M;O=D [4]).
>
> See also http://www.lutraconsulting.co.uk/blog/2017/10/16/buildings-in-qgis3d/ [3] and https://twitter.com/lutraconsulting [5]
>
> Martin Dobias from Lutra is the main developer of the new 3D viz functionality in QGIS 3.
>
> Greetings,
> Andreas
>
> On 2017-11-02 13:02, Tyler Veinot wrote:
>
> Hello;
> Is anyone out there doing anything with building models in QGIS? I have some sketchup buildings in DXF format I have been playing with in AutoCAD and QGIS. Trying to find a way to bring them into QGIS for viewing in the qgs2threejs plugin, but when I do I get a crash dump.
> Tried a simple cube as well.
> I can bring in Z aware dxf files and view them so I am wondering how big of a step is it to go from there to simple building models? Is anyone working in this direction that has some insights or thoughts to share?
> Thanks;
> Tyler
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user [6]
--
Saber Razmjooei
www.lutraconsulting.co.uk [7]
+44 (0)7568 129733 [8]
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Links:
------
[1] http://assimp.org/main_features_formats.html
[2] https://twitter.com/AndiNeum/status/926035833358094336
[3]
http://www.lutraconsulting.co.uk/blog/2017/10/16/buildings-in-qgis3d/
[4] http://qgis.org/downloads/weekly/?C=M;O=D
[5] https://twitter.com/lutraconsulting
[6] https://lists.osgeo.org/mailman/listinfo/qgis-user
[7] http://www.lutraconsulting.co.uk
[8] tel:+44%207568%20129733
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20171103/d63feb88/attachment.html>
More information about the Qgis-user
mailing list