Qgis2threejs
Qgis2threejs copied to clipboard
Compatibility issue with QGIS 3D view.
I have an issue with qgis2threejs running in QGIS 3.10.7 on Windows 10
When I open the qgis2threejs panel I get the error message below:
"No 3D objects were rendered? There is a compatibility issue with QGIS 3D view. You need to close QGIS 3D view(s) and restart QGIS to use this preview."
I have uninstalled and re-installed both the QGIS and the qgis2threejs plugin.
In the panel menu I don't seem to have any QGIS 3D views open.
Any help wouild be appreciated.
I have the same issue. For some reason you cant open QGIS 3D view before open the qgis2threejs plugin. It usually work when I remove all layers from the project, open and close both (QGIS 3D view and qgis2threejs plugin) and reset QGIS.
This plugin seems to be broken forever. No combination of open/close the native 3D# viewer, QGIS version (even a new install) will bring forth any preview window. Same warning message as above. Windows 10 pro, QGIS 3.14.16 Here is the start of the log file:
three.min.js (42): THREE.WebGLRenderer: WEBGL_depth_texture extension not supported.
three.min.js (42): THREE.WebGLRenderer: ANGLE_instanced_arrays extension not supported.
three.min.js (82): THREE.WebGLProgram: shader error:
three.min.js (124): WebGL: INVALID_OPERATION: useProgram: program not valid
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (82): THREE.WebGLProgram: shader error:
three.min.js (124): WebGL: INVALID_OPERATION: useProgram: program not valid
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (124): WebGL: INVALID_OPERATION: useProgram: program not valid
three.min.js (45): WebGL: INVALID_OPERATION: drawElements: attempt to access out of bounds arrays
three.min.js (124): WebGL: INVALID_OPERATION: useProgram: program not valid
and here a Python warning that seems to have to do with this:
2020-10-02T00:48:02 WARNING warning:C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py:792: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
mod = _builtin_import(name, globals, locals, fromlist, level)
traceback: File "", line 1, in
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 354, in startPlugin
if not _startPlugin(packageName):
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 334, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/Mats/AppData/Roaming/QGIS/QGIS3\profiles\3js/python/plugins\Qgis2threejs\__init__.py", line 27, in classFactory
from .qgis2threejs import Qgis2threejs
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 792, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Mats/AppData/Roaming/QGIS/QGIS3\profiles\3js/python/plugins\Qgis2threejs\qgis2threejs.py", line 28, in
from .exportsettings import ExportSettings
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 792, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Mats/AppData/Roaming/QGIS/QGIS3\profiles\3js/python/plugins\Qgis2threejs\exportsettings.py", line 31, in
from .qgis2threejscore import MapTo3D, GDALDEMProvider, FlatDEMProvider, calculateDEMSize
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 792, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/Users/Mats/AppData/Roaming/QGIS/QGIS3\profiles\3js/python/plugins\Qgis2threejs\qgis2threejscore.py", line 25, in
from osgeo import gdal
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 792, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\apps\QGIS3.14\apps\Python37\lib\site-packages\osgeo\__init__.py", line 41, in
_gdal = swig_import_helper()
File "C:\apps\QGIS3.14\apps\Python37\lib\site-packages\osgeo\__init__.py", line 15, in swig_import_helper
import imp
File "C:/apps/QGIS3.14/apps/qgis/./python\qgis\utils.py", line 792, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\apps\QGIS3.14\apps\Python37\lib\imp.py", line 33, in
DeprecationWarning, stacklevel=2)
AGAssist, Conseguiu resolver?
Seems like it's hardware incompatibility. I've just checked plugin on two PCs in my office and one PC works fine with qgis2threejs on 3.10 version of QGIS. And on other PC with the same version of QGIS and Windows this plugin don't work.
same issue here, with OSX 10.15.2 .
Unfortunately I have the same symptoms in QGIS 3.18. Seems independent of whether 3D Map View had been opened in session, or a 3D map view is present in layers panel.
Is this issue the same as #147?
Kind Regards
Mouse2
System Details Windows 7, fully updated apart from .net 4.51 and updated to same. Currently using (integrated) Intel HD graphics 2000 - as my AMD card is causing BSODs. Open GL version 3.1.0, Direct X 10.1 Driver version: 9.17.10.4229
I have downloaded various versions of QGIS (3.26 and the latest version 3.32) and Qgis2threejs but the plugin still seem to be having compatibility issues as I get the same error message. Running a Windows10 by the way.
I can do nothing but confirm the previous comments: no 3D view open anywhere, yet the message is the same "No 3D objects were rendered? There is a compatibility issue with QGIS 3D view. You need to close QGIS 3D view(s) and restart QGIS to use this preview."
QGIS version 3.36.1, Plugin version 2.7.3 MacOS 14.4.1
Confirming the problem occurs in Debian Linux.
The current released version of QGIS is 3.36.1.
macos 14.2.1 QGIS 版本 3.36.1 No 3D objects were rendered? There is a compatibility issue with QGIS 3D ... 有没有人知道怎么做?
Exactly the same problem and error message for me too, using the latest installation of version 3.36. It's a shame because I was using this plugin for a few years on the older versions of QGIS and I really liked it. I hope there's a fix on the way, although it seems this problem has been occurring with users for a while now.
I decided to install an older version of QGIS so I can use the plugin again.