qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.63k stars 3.01k forks source link

only part of 3D map shown in layout editor #46277

Open stragu opened 2 years ago

stragu commented 2 years ago

What is the bug or the crash?

Sometimes, when creating or editing a 3D map element and copying the scene settings from a 3D view, I get only half of the view rendered in the layout editor:

image

I'm not sure how to share a detailed log as the instructions on the website haven't worked for me (I keep getting "no stack" when using gdb, even with ulimit -c unlimited).

Steps to reproduce the issue

The issue is quite inconsistent, I can't find a precise series of steps to reproduce it. But what I usually do is:

  1. Create a 3D map view
  2. Change the view settings to use a DEM, increase the vertical scale, resolution and skirt height
  3. Got to Layout Manager and open a layout
  4. Insert a 3D map element and copy the scene settings from the view

Versions

I've had this issue for a few versions of 3.16. Currently using:

QGIS version 3.16.14-Hannover QGIS code revision 4279198632
Compiled against Qt 5.9.5 Running against Qt 5.9.5
Compiled against GDAL/OGR 2.2.3 Running against GDAL/OGR 2.2.3
Compiled against GEOS 3.6.2-CAPI-1.10.2 Running against GEOS 3.6.2-CAPI-1.10.2 4d2925d6
Compiled against SQLite 3.22.0 Running against SQLite 3.22.0
PostgreSQL Client Version 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1) SpatiaLite Version 4.3.0a
QWT Version 6.1.3 QScintilla2 Version 2.10.2
PROJ.4 Version 493
OS Version Ubuntu 18.04.6 LTS
Active python plugins QuickOSM; quick_map_services; processing; db_manager; MetaSearch

Supported QGIS version

New profile

Additional context

No response

gioman commented 2 years ago

@stragu this happens only for a specific project and data or regardless?

stragu commented 2 years ago

Hi @gioman

I was able to reproduce with another smaller project, with a different data source.

image

I repeatedly click on "copy settings from a 3D view..." and sometimes, some tiles don't load, sometimes it even crashes. Not sure if it all relates to the same issue.

With the same settings, another part fails to load:

image

Here is the project: DATA_3782279.zip

gioman commented 2 years ago

Here is the project: DATA_3782279.zip

@stragu I was not able to replicate on Win10 and Ubuntu 20.04.

github-actions[bot] commented 2 years ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.

stragu commented 2 years ago

I was still able to reproduce with the recently released 3.16.15:

image

I had to click several times on "Copy scene settings from a 3D View...." to make it happen.

It also sometimes crashes after copying the scene settings repeatedly.

stragu commented 2 years ago

I can still reproduce with 3.16.16: when repeatedly using "Copy scene settings from a 3D View....", tiles sometimes fail to render.

Two tiles missing

However, moving the object on the layout will render the tile. I feel like the situation might have improved, in that: