minorua / Qgis2threejs

3D map visualization and web export plugin for QGIS
http://minorua.github.io/Qgis2threejs/docs/
GNU General Public License v2.0
515 stars 91 forks source link

High Watermark of QGIS on Debian: No Rendering and Multiple Three.js errors #337

Open jlpoolen opened 7 months ago

jlpoolen commented 7 months ago

I am trying to make the Qgis2threejs plugin work and finally resorted to performing the tutorial. (See also Issue #336). To move forward over Issue #336 I selected the non-voided versions as USGS information page explained that voided areas are filled in which seemed like a superior option. I hope that which SRTM is not critical. Essentially, the Qgis2threejs window shows these errors when it opens: 2024-04-14_08-49 Here are the layers I have activated: 2024-04-14_08-50

three.min.js (42): THREE.WebGLRenderer: OES_texture_float extension not supported.
three.min.js (42): THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_half_float extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.
three.min.js (42): THREE.WebGLRenderer: ANGLE_instanced_arrays extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_float_linear extension not supported.
three.min.js (42): THREE.WebGLRenderer: EXT_blend_minmax extension not supported.
three.min.js (42): THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported.three.min.js (42): THREE.WebGLRenderer: OES_texture_float extension not supported.
three.min.js (42): THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_half_float extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_half_float_linear extension not supported.
three.min.js (42): THREE.WebGLRenderer: ANGLE_instanced_arrays extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_float_linear extension not supported.
three.min.js (42): THREE.WebGLRenderer: EXT_blend_minmax extension not supported.
three.min.js (42): THREE.WebGLRenderer: EXT_texture_filter_anisotropic extension not supported.
three.min.js (42): THREE.WebGLRenderer: OES_texture_float extension not supported.
three.min.js (42): THREE.WebGLRenderer: WEBGL_depth_texture extension not supporte

I am trying to make the Qgis2threejs plugin work and finally resorted to performing the tutorial. (See also Issue #336). To move forward over Issue #336 I selected the non-voided versions as USGS information page explained that voided areas are filled in which seemed like a superior option. I hope that which SRTM is not critical. Essentially, the Qgis2threejs window shows these errors when it opens:

I am running Debian in a Xen virtual machine. Here are the specifications of my software and operating system:

jlpoole@debian1:~$ date; apt show -a qgis
Sun Apr 14 08:45:30 AM PDT 2024
Package: qgis
Version: 1:3.36.1+git20240412+48b84d03e4b+17bookworm
Priority: optional
Section: science
Maintainer: QGIS developers <qgis-developer@lists.osgeo.org>
Installed-Size: 10.7 MB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgdal32 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj25 (>= 5.0.0), libqgis-3d3.36.1, libqgis-analysis3.36.1, libqgis-app3.36.1, libqgis-core3.36.1, libqgis-gui3.36.1, libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.15.1), libqt5webkit5 (>= 5.212.0~alpha3), libqt5widgets5 (>= 5.15.1), libstdc++6 (>= 5.2), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.2-1, python3-qgis (= 1:3.36.1+git20240412+48b84d03e4b+17bookworm), qgis-providers (= 1:3.36.1+git20240412+48b84d03e4b+17bookworm), qgis-common (= 1:3.36.1+git20240412+48b84d03e4b+17bookworm)
Recommends: qgis-plugin-grass
Suggests: gpsbabel
Conflicts: uim-qt3
Homepage: https://qgis.org/
Download-Size: 7,677 kB
APT-Manual-Installed: yes
APT-Sources: https://qgis.org/debian-nightly-release bookworm/main amd64 Packages
Description: Geographic Information System (GIS)
 A Geographic Information System (GIS) manages, analyzes, and displays
 databases of geographic information. QGIS supports shape file viewing and
 editing, spatial data storage with PostgreSQL/PostGIS, projection on-the-fly,
 map composition, and a number of other features via a plugin interface. QGIS
 also supports display of various georeferenced raster and Digital Elevation
 Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid, and USGS ASCII
 DEM.

Package: qgis
Version: 1:3.36.1+git20240409+5c1180567f7+17bookworm
Priority: optional
Section: science
Maintainer: QGIS developers <qgis-developer@lists.osgeo.org>
Installed-Size: 10.7 MB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgdal32 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj25 (>= 5.0.0), libqgis-3d3.36.1, libqgis-analysis3.36.1, libqgis-app3.36.1, libqgis-core3.36.1, libqgis-gui3.36.1, libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.15.1), libqt5webkit5 (>= 5.212.0~alpha3), libqt5widgets5 (>= 5.15.1), libstdc++6 (>= 5.2), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.2-1, python3-qgis (= 1:3.36.1+git20240409+5c1180567f7+17bookworm), qgis-providers (= 1:3.36.1+git20240409+5c1180567f7+17bookworm), qgis-common (= 1:3.36.1+git20240409+5c1180567f7+17bookworm)
Recommends: qgis-plugin-grass
Suggests: gpsbabel
Conflicts: uim-qt3
Homepage: https://qgis.org/
Download-Size: 7,677 kB
APT-Sources: https://qgis.org/debian-nightly-release bookworm/main amd64 Packages
Description: Geographic Information System (GIS)
 A Geographic Information System (GIS) manages, analyzes, and displays
 databases of geographic information. QGIS supports shape file viewing and
 editing, spatial data storage with PostgreSQL/PostGIS, projection on-the-fly,
 map composition, and a number of other features via a plugin interface. QGIS
 also supports display of various georeferenced raster and Digital Elevation
 Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid, and USGS ASCII
 DEM.

Package: qgis
Version: 1:3.36.1+git20240406+88eeba94ae2+17bookworm
Priority: optional
Section: science
Maintainer: QGIS developers <qgis-developer@lists.osgeo.org>
Installed-Size: 10.7 MB
Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgdal32 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj25 (>= 5.0.0), libqgis-3d3.36.1, libqgis-analysis3.36.1, libqgis-app3.36.1, libqgis-core3.36.1, libqgis-gui3.36.1, libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.15.1), libqt5webkit5 (>= 5.212.0~alpha3), libqt5widgets5 (>= 5.15.1), libstdc++6 (>= 5.2), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.2-1, python3-qgis (= 1:3.36.1+git20240406+88eeba94ae2+17bookworm), qgis-providers (= 1:3.36.1+git20240406+88eeba94ae2+17bookworm), qgis-common (= 1:3.36.1+git20240406+88eeba94ae2+17bookworm)
Recommends: qgis-plugin-grass
Suggests: gpsbabel
Conflicts: uim-qt3
Homepage: https://qgis.org/
Download-Size: 7,678 kB
APT-Sources: https://qgis.org/debian-nightly-release bookworm/main amd64 Packages
Description: Geographic Information System (GIS)
 A Geographic Information System (GIS) manages, analyzes, and displays
 databases of geographic information. QGIS supports shape file viewing and
 editing, spatial data storage with PostgreSQL/PostGIS, projection on-the-fly,
 map composition, and a number of other features via a plugin interface. QGIS
 also supports display of various georeferenced raster and Digital Elevation
 Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid, and USGS ASCII
 DEM.

Package: qgis
Version: 3.22.16+dfsg-1
Priority: optional
Section: science
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Installed-Size: 5,410 kB
Depends: python3-qgis (= 3.22.16+dfsg-1), qgis-common (= 3.22.16+dfsg-1), qgis-providers (= 3.22.16+dfsg-1), libc6 (>= 2.34), libgcc-s1 (>= 3.0), libgdal32 (>= 1.11), libgeos-c1v5 (>= 3.4.2), libproj25 (>= 5.0.0), libqgis-3d3.22.16 (>= 3.4.5), libqgis-analysis3.22.16 (>= 3.16.4), libqgis-app3.22.16 (>= 3.4.5), libqgis-core3.22.16 (>= 3.22.4), libqgis-gui3.22.16 (>= 3.16.4), libqt5core5a (>= 5.15.1), libqt5gui5 (>= 5.8.0) | libqt5gui5-gles (>= 5.8.0), libqt5keychain1 (>= 0.7.0), libqt5network5 (>= 5.15.1), libqt5webkit5 (>= 5.212.0~alpha3), libqt5widgets5 (>= 5.2.0~alpha1), libstdc++6 (>= 5.2), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.2-1
Recommends: qgis-plugin-grass
Suggests: gpsbabel
Conflicts: uim-qt3
Breaks: qgis-common (<< 3.4.5), qgis-provider-grass (<< 2.14.0)
Replaces: qgis-common (<< 3.4.5), qgis-provider-grass (<< 2.14.0)
Homepage: https://qgis.org/
Tag: field::geography, implemented-in::c++, interface::graphical,
 interface::x11, role::program, scope::application, scope::utility,
 uitoolkit::qt, use::editing, use::learning, use::organizing,
 use::viewing, works-with-format::TODO, works-with::image,
 works-with::image:raster, works-with::image:vector, works-with::text,
 x11::application
Download-Size: 3,883 kB
APT-Sources: http://debian.osuosl.org/debian bookworm/main amd64 Packages
Description: Geographic Information System (GIS)
 A Geographic Information System (GIS) manages, analyzes, and displays
 databases of geographic information. QGIS supports shape file viewing and
 editing, spatial data storage with PostgreSQL/PostGIS, projection on-the-fly,
 map composition, and a number of other features via a plugin interface. QGIS
 also supports display of various georeferenced raster and Digital Elevation
 Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid, and USGS ASCII
 DEM.

jlpoole@debian1:~$ cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
jlpoole@debian1:~$ uname -a
Linux debian1 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux
jlpoole@debian1:~$ date
Sun Apr 14 08:45:46 AM PDT 2024
jlpoole@debian1:~$ 
jlpoole@debian1:~$ npm list three
jlpoole@ /home/jlpoole
└── three@0.163.0

jlpoole@debian1:~
jlpoolen commented 7 months ago

I just found the Issue " Preview doesn't show any objects after QGIS 3D view opens #147 "and see that it may be the same issue I am having. I have not checked to see if an export is successful and will do so despite the fact that a preview does not render.