3D Viewport wireframes can anti-alias in a wonky way #120781

Open
opened 2024-04-18 12:50:26 +02:00 by Sybren A. Stüvel · 4 comments

System Information
Operating system: Linux-5.15.0-101-generic-x86_64-with-glibc2.35 64 Bits, X11 UI
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 470.239.06

Blender Version
Broken: version: 4.2.0 Alpha, branch: main, commit date: Thu Apr 18 12:33:42 2024 +0200, hash: 23348d4a5c62ef63042742862e6d99537d02e12f
Worked: 4.1 could be more anti-aliased to my taste, but doesn't show this particular issue.

Short description of error
Wireframes be wonk. It looks like the anti-aliasing is causing some extra stair-stepping effect.

Exact steps for others to reproduce the error

  • blender41 --factory-startup --python-expr 'import bpy, math; bpy.context.object.rotation_euler.x = math.radians(-6)'
  • Switch the 3D Viewport to Wireframe mode
  • Observe the wonk
main: image
4.1 release: image

This issue occurs both in my self-compiled Blender as well as the latest buildbot build (9cb3a17352, download).

**System Information** Operating system: Linux-5.15.0-101-generic-x86_64-with-glibc2.35 64 Bits, X11 UI Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 470.239.06 **Blender Version** Broken: version: 4.2.0 Alpha, branch: `main`, commit date: Thu Apr 18 12:33:42 2024 +0200, hash: `23348d4a5c62ef63042742862e6d99537d02e12f` Worked: 4.1 could be more anti-aliased to my taste, but doesn't show this particular issue. **Short description of error** Wireframes be wonk. It looks like the anti-aliasing is causing some extra stair-stepping effect. **Exact steps for others to reproduce the error** - `blender41 --factory-startup --python-expr 'import bpy, math; bpy.context.object.rotation_euler.x = math.radians(-6)'` - Switch the 3D Viewport to Wireframe mode - Observe the wonk | `main`:| ![image](/attachments/00a75156-f8dd-4269-b2a6-cffcae304021) | |-|-| | 4.1 release: | ![image](/attachments/4539065c-da6e-4e41-88ca-da40d41fec30) | This issue occurs both in my self-compiled Blender as well as the latest buildbot build (`9cb3a17352`, [download](https://builder.blender.org/download/daily/blender-4.2.0-alpha+main.9cb3a17352bd-linux.x86_64-release.tar.xz)).
Sybren A. Stüvel added the
Type
Report
Status
Needs Triage
Priority
Normal
labels 2024-04-18 12:50:27 +02:00
Member

Can reproduce on metal as well when not using HDPI screens

image

There were some patches for wireframe rendering lately, will need to look which one introduced the artifacts.

Can reproduce on metal as well when not using HDPI screens ![image](/attachments/13c6a46c-1f94-46a2-8d74-d45b13f1b77e) There were some patches for wireframe rendering lately, will need to look which one introduced the artifacts.

System Information
Operating system: Windows 10 home : Laptop Lenovo G50-80
Graphics card: Intel(R) HD Graphics 5500 4.4.0 - Build 20.19.15.5063

I don't know if this is related, but will comment in case it is.

In Blender 4.1.1...I get weird glitch type affect in edit mode. This actually happened a few years ago with Intel Graphic users, and it was fixed.

Blender 3.6 and Blender 4.0 do not have this issue.

The Images are from Blender 3.6 and Blender 4.1.1, with my Viewport Display Settings.

System Information Operating system: Windows 10 home : Laptop Lenovo G50-80 Graphics card: Intel(R) HD Graphics 5500 4.4.0 - Build 20.19.15.5063 I don't know if this is related, but will comment in case it is. In Blender 4.1.1...I get weird glitch type affect in edit mode. This actually happened a few years ago with Intel Graphic users, and it was fixed. Blender 3.6 and Blender 4.0 do not have this issue. The Images are from Blender 3.6 and Blender 4.1.1, with my Viewport Display Settings.

Caused by bace4c9a29

The outline has suffered regression in quality before as evidenced in #73081: "Overlay Engine: Outline AA quality regression".

Due to performance concerns, "There is no easy way to fix this efficiently".

Cc. @HooglyBoogly
Cc. @fclem

Caused by bace4c9a29 The outline has suffered regression in quality before as evidenced in #73081: "Overlay Engine: Outline AA quality regression". > Due to performance concerns, "There is no easy way to fix this efficiently". Cc. @HooglyBoogly Cc. @fclem

I believe this is caused by a missing attribute when drawing the mesh as bace4c9a29 changed a lot of things in GPUBatches setup.

I believe this is caused by a missing attribute when drawing the mesh as bace4c9a29 changed a lot of things in GPUBatches setup.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#120781
No description provided.