[QGIS-Developer] PostGIS 3D cube lacks vertical faces

Andreas Neumann a.neumann at carto.net
Sun Dec 10 06:35:39 PST 2017


Hi Anita,

Have you tried changing the "Culling" settings in the 3D rendering 
properties of the layer

It might solve your issue. Some systems use clockwise, some 
counter-clockwise ordering of vertices describing a face. For that 
reason you can change the culling setting per layer.

It is, however, a relatively new enhancement and may not be available in 
your build, if it is several days old.

Greetings,

Andreas


On 10.12.2017 15:29, Anita Graser wrote:
> Hi,
>
> I'm testing the 3D view for PostGIS 3D gemetries. I create a cube using
>
>    'POLYHEDRALSURFACE Z (
> ((0 0 0, 0 1 0, 1 1 0, 1 0 0, 0 0 0)),
> ((0 0 0, 0 1 0, 0 1 1, 0 0 1, 0 0 0)),
> ((0 0 0, 1 0 0, 1 0 1, 0 0 1, 0 0 0)),
> ((1 1 1, 1 0 1, 0 0 1, 0 1 1, 1 1 1)),
> ((1 1 1, 1 0 1, 1 0 0, 1 1 0, 1 1 1)),
> ((1 1 1, 1 1 0, 0 1 0, 0 1 1, 1 1 1))
> )'::geometry,
>
> but if I enable the 3D renderer, only the bottom and the top (the two 
> horizontal faces) are drawn. The vertical faces are invisible.
>
> Should I be creating the cube in some other way? Or is this an issue 
> with the rendering?
>
> Regards,
> Anita
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171210/15c1c47a/attachment.html>


More information about the QGIS-Developer mailing list