Skybox Makes 3D View Black
Introduction
The 3D view in QGIS is a powerful tool for visualizing and analyzing spatial data. However, some users have reported an issue where the 3D view becomes black or displays a bad image when a skybox is added. In this article, we will explore the steps to reproduce this issue, the versions of QGIS and libraries that have been tested, and provide additional context to help troubleshoot the problem.
What is the Bug or Crash?
When a skybox is added to the 3D view, the rendering becomes buggy, and the image is distorted. This issue is not present when the skybox is not added. The problem persists even after saving the project and reopening it.
Steps to Reproduce the Issue
To reproduce this issue, follow these steps:
- Open QGIS and navigate to the 3D view.
- Load a DEM (Digital Elevation Model) and set a good view.
- Add a skybox to the 3D view.
- Observe the distorted image.
Versions
The issue has been tested with the following versions of QGIS and libraries:
QGIS Version | QGIS Code Revision | Qt Version | Python Version | GDAL Version | PROJ Version | EPSG Registry Database Version | GEOS Version | SQLite Version | PDAL Version | PostgreSQL Client Version | SpatiaLite Version | QWT Version | QScintilla2 Version | OS Version |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3.42.2-Münster | 402273f8c2 | 6.8.1 | 3.12.10 | 3.10.3 | 9.6.0 | v12.004 (2025-03-02) | 3.13.1-CAPI-1.19.2 | 3.46.1 | 2.8.3 | 17.3 | 5.1.0 | 6.3.0 | 2.14.1 | Windows 11 Version 23H2 |
Supported QGIS Version
Yes, I am running a supported QGIS version according to the roadmap.
New Profile
Yes, I have tried with a new QGIS profile.
Additional Context
The issue has been tested with the following hardware and software configurations:
- AMD Vega 8 iGPU with AMD driver
- OpenGL 4.6.0
- Skybox image sizes: 20482048 and 10241024
Troubleshooting Steps
To troubleshoot this issue, follow these steps:
- Check the skybox image: Ensure that the skybox image is not corrupted or distorted.
- Verify the QGIS version: Ensure that you are running a supported version of QGIS.
- Try a new profile: Create a new QGIS profile and test the issue.
- Check the hardware and software configurations: Verify that the hardware and software configurations are compatible with QGIS.
- Contact the QGIS community: Reach out to the QGIS community for further assistance and guidance.
Conclusion
Q: What is the skybox in QGIS?
A: The skybox is a feature in QGIS that allows you to add a background image to the 3D view. It is used to create a realistic and immersive 3D environment.
Q: What is the issue with the skybox in QGIS?
A: The issue is that when a skybox is added to the 3D view, the rendering becomes buggy, and the image is distorted. This issue is not present when the skybox is not added.
Q: What are the steps to reproduce the issue?
A: To reproduce the issue, follow these steps:
- Open QGIS and navigate to the 3D view.
- Load a DEM (Digital Elevation Model) and set a good view.
- Add a skybox to the 3D view.
- Observe the distorted image.
Q: What versions of QGIS and libraries have been tested?
A: The issue has been tested with the following versions of QGIS and libraries:
QGIS Version | QGIS Code Revision | Qt Version | Python Version | GDAL Version | PROJ Version | EPSG Registry Database Version | GEOS Version | SQLite Version | PDAL Version | PostgreSQL Client Version | SpatiaLite Version | QWT Version | QScintilla2 Version | OS Version |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3.42.2-Münster | 402273f8c2 | 6.8.1 | 3.12.10 | 3.10.3 | 9.6.0 | v12.004 (2025-03-02) | 3.13.1-CAPI-1.19.2 | 3.46.1 | 2.8.3 | 17.3 | 5.1.0 | 6.3.0 | 2.14.1 | Windows 11 Version 23H2 |
Q: Is the issue present in all versions of QGIS?
A: No, the issue is not present in all versions of QGIS. It has been tested with QGIS 3.42.2-Münster and earlier versions.
Q: What are the troubleshooting steps to resolve the issue?
A: To troubleshoot the issue, follow these steps:
- Check the skybox image: Ensure that the skybox image is not corrupted or distorted.
- Verify the QGIS version: Ensure that you are running a supported version of QGIS.
- Try a new profile: Create a new QGIS profile and test the issue.
- Check the hardware and software configurations: Verify that the hardware and software configurations are compatible with QGIS.
- Contact the QGIS community: Reach out to the QGIS community for further assistance and guidance.
Q: What are the possible causes of the issue?
A: The possible causes of the issue are:
- Cor or distorted skybox image
- Incompatible QGIS version
- Incompatible hardware or software configurations
- Bug in QGIS code
Q: How can I report the issue to the QGIS community?
A: To report the issue to the QGIS community, follow these steps:
- Create a new issue on the QGIS GitHub page.
- Provide a detailed description of the issue.
- Attach any relevant screenshots or logs.
- Tag the issue with the relevant keywords.
Q: How can I get help from the QGIS community?
A: To get help from the QGIS community, follow these steps:
- Join the QGIS mailing list or forum.
- Post a question or issue on the QGIS GitHub page.
- Reach out to the QGIS community on social media.
- Attend a QGIS conference or meetup.