Open minorua opened 6 years ago
var gl = app.renderer.context; // WebGLRenderingContext
console.log(gl.getSupportedExtensions());
*BEFORE OPENING QGIS 3D VIEW*
>>>OES_texture_float,OES_standard_derivatives,WEBKIT_EXT_texture_filter_anisotropic,OES_vertex_array_object,OES_element_index_uint,WEBGL_lose_context,WEBGL_compressed_texture_s3tc,WEBGL_depth_texture
*AFTER*
>>> OES_standard_derivatives,OES_vertex_array_object,OES_element_index_uint,WEBGL_lose_context
I believe I have the same issue. Any fixes?
Plug in not fuctioning correctly, countinually getting this error:
"Any 3D objects not rendered? There is a compatibility issue with QGIS 3D view. You need to restart QGIS to us preview"
Restarting does not help.
QGIS Info QGIS Version: 3.4.1-Madeira QGIS code revision: commit:383851c597 Compiled against Qt: 5.11.2 Running against Qt: 5.11.2 Compiled against GDAL: 2.3.2 Running against GDAL: 2.3.2
System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 6.1.7601
At first, I misunderstood the error message. Restarting QGIS is not enough: you also need to ensure that the QGIS 3D view is not opened after restart. That is, you need to remove the QGIS 3D view from your project, save, and then restart.
@tuukka Thanks for your comment.
Message modified:
There is a compatibility issue with QGIS 3D view. You need to restart QGIS to use preview.
↓
There is a compatibility issue with QGIS 3D view. You need to close QGIS 3D view(s) and restart QGIS to use this preview.
Hello! I am getting this error on several versions of QGIS for Windows on several machines using different versions of Windows. How do I 'close QGIS 3D views(s)' or 'remove the QGIS 3D view from your project'? I realize this should be obvious, but I'm afraid it isn't to me. Thanks! @tuukka @minorua
As an update to that, interestingly, I've now learned that I'm only getting that problem over RDP connections. Console logins to the Windows machines in question have the preview work. Anyway, perhaps it'd still be good to clarify the language that explains what's going wrong and how a user can fix it, at some point. Thanks so much for an amazing tool!
Multiple restarts and simply 'exiting' the 3D Map window did not work. You have to go into View>Panels and then uncheck any '3D Map #' windows in order to fully close them (see image attached). And then exit and restart QGIS in order for the preview function to work.
@minorua unfortunately, due to this bug I'm not able to run Qgis2threejs properly (the preview doesn't work). I followed all the instructions.
As you can see, there are no active QGIS 3D views in the project.
When I no open the Qgis2threejs Explorer I get the following view.
In addition here is the console output (same as in the screenshot above):
undefined (1): ReferenceError: Can't find variable: app three.min.js (44): THREE.WebGLRenderer: WEBGL_depth_texture extension not supported. three.min.js (44): THREE.WebGLRenderer: ANGLE_instanced_arrays extension not supported. three.min.js (959): THREE.WebGLRenderer: .context has been removed. Use .getContext() instead.
And the message (again same as in the screenshot above):
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.
Environment: Intel i5 M520 @ 2.4GHz, 8 GB RAM, Win 7 Pro | 64
QGIS version | 3.4.15-Madeira | QGIS code revision | e83d02e274 |
---|---|---|---|
Compiled against Qt | 5.11.2 | Running against Qt | 5.11.2 |
Compiled against GDAL/OGR | 2.4.3 | Running against GDAL/OGR | 2.4.3 |
Compiled against GEOS | 3.8.0-CAPI-1.13.1 | Running against GEOS | 3.8.0-CAPI-1.13.1 |
PostgreSQL Client Version | 11.5 | SpatiaLite Version | 4.3.0 |
QWT Version | 6.1.3 | QScintilla2 Version | 2.10.8 |
Compiled against PROJ | 5.2.0 | Running against PROJ | Rel. 5.2.0, September 15th, 2018 |
Active python plugins | ORStools; Qgis2threejs; db_manager; processing |
I tried it by starting both "QGIS Desktop" with and without "GRASS". Another thing: I had installed QGIS 3.10 first then uninstalled it and installed QGIS 3.4 afterwards.
Any advice???
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.
Update: I have checked using QGIS 3.10.2 LTR, and like others found it works OK in that version.
Is this issue the same as #222?
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 had a similar issue with Windows 11 system and Ryzen 5 CPU/GPU. After installing a new graphics driver, the problem was solved.
Preview doesn't show any 3D objects after QGIS 3D view opens.
Web export and glTF export still work, but image export doesn't work.