Skip to content

Simple lines rendered incorrectly in 3D #51286

Description

@uclaros

What is the bug or the crash?

On my local machine, simple lines are not rendered correctly in 3D views.
Most of the times the first segment of a line is drawn correctly and then some artifact is displayed on each of the consecutive vertices. Some rare times all segments are rendered correctly.

The following images are from TestQgs3DRendering tests:
line_rendering_1
instead of:
expected_line_rendering_1

This is also apparent when drawing the Edges of extruded polygons:
polygon_edges_height

instead of :
expected_polygon_edges_height

Steps to reproduce the issue

Render simple lines in 3d view on a ryzen 7 integrated gpu on debian testing

Versions

QGIS version 3.29.0-Master QGIS code revision cfbf5ef
Qt version 5.15.4
Python version 3.10.6
GDAL/OGR version 3.5.1
PROJ version 9.0.1
EPSG Registry database version v10.064 (2022-05-19)
GEOS version 3.11.0-CAPI-1.17.0
SQLite version 3.39.4
PDAL version 2.5.0
PostgreSQL client version unknown
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Debian GNU/Linux bookworm/sid
This copy of QGIS writes debugging output.
Active Python plugins
plugin_reloader 0.9.2
db_manager 0.1.20
grassprovider 2.12.99
processing 2.12.99

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3DRelates to QGIS' 3D engine or renderingBugEither a bug report, or a bug fix. Let's hope for the latter!

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions