Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
stragu opened this issue Nov 30, 2021 · 6 comments
Open
2 tasks done

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

stragu opened this issue Nov 30, 2021 · 6 comments
Labels
3D Relates to QGIS' 3D engine or rendering Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@stragu
Copy link

stragu commented Nov 30, 2021

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 4279198
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

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@stragu stragu added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Nov 30, 2021
@gioman gioman added Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks Feedback Waiting on the submitter for answers labels Nov 30, 2021
@gioman
Copy link
Contributor

gioman commented Nov 30, 2021

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

@stragu
Copy link
Author

stragu commented Dec 2, 2021

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
Copy link
Contributor

gioman commented Dec 3, 2021

Here is the project:
DATA_3782279.zip

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

@gioman gioman added the 3D Relates to QGIS' 3D engine or rendering label Dec 3, 2021
@github-actions
Copy link

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.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 18, 2021
@stragu
Copy link
Author

stragu commented Dec 22, 2021

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.

@github-actions github-actions bot removed the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Dec 22, 2021
@stragu stragu changed the title only half of 3D map shown in layout editor only part of 3D map shown in layout editor Dec 22, 2021
@gioman gioman removed the Feedback Waiting on the submitter for answers label Dec 22, 2021
@stragu
Copy link
Author

stragu commented Jan 21, 2022

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:

  • It is not a section of the object that fails rendering, but only some tiles
  • Moving the object or copying the scene again seems to solve it
  • I haven't been able to crash QGIS again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D Relates to QGIS' 3D engine or rendering Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

2 participants