[Workbench] Wireframe rendering error (overlapping parts of wireframes don't render at all) #73046
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#73046
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.66
Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-10 15:30, hash:
1cb938ef2c
Worked: version: 2.82, commit date: 2020-11-27, hash:
4659fa5471
Short description of error
Wireframes in newest daily builds appear like this for me at least:
I tried to resolve the situation by reducing the view clipping to something minimal but it still doesn't help the situation. Many parts of the wireframe aren't drawn correctly and I suspect those areas are in places where there is another, "hidden" wireframe edge drawn behind them.
Viewport or Themes settings in the preferences don't alter the result, at least I couldn't find any helpful setting.
Exact steps for others to reproduce the error
Attached is the blender file from which I took the screenshot.
wireframe-error.blend
Added subscriber: @Lattapotta
#72865 was marked as duplicate of this issue
Added subscriber: @JustinWebster
I can confirm having this issue also, doesn't look nice that for sure.
Added subscriber: @jl5086
I also have this same issue, and have noticed it for some time, although it may be worse than it was before. In more dense meshes you can clearly see ALL the wires behind the surface are the source of the "breaks" in the wire overlay{F8270129}. Ymi0objcN1.mp4
Added subscriber: @mano-wii
Yeap I also had this too, I reported it but wasn't sure if it was a addon causing it, which I think it wasn't, a quick fix was to enable In Front in the Viewport Display, then disable it would temporary fix it, but the issue will come back again.
@mano-wii This was same has my report.
Edit*:
Same with 2.83 Alpha.
Seems to be something related to when enabling shadows in solid view, and having All Edges off will cause more artifacts, has above, enable In Front will fix it.
Blender 2020-01-12 14-41-57.mp4
Added subscriber: @Dogway
Wireframe rendering error (overlapping parts of wireframes don't render at all)to [Workbench] Wireframe rendering error (overlapping parts of wireframes don't render at all)Changed status from 'Needs Triage' to: 'Confirmed'
Apparently this is a regression was introduced in some November commit.
Added subscriber: @Jeroen-Bakker
Seems like after enabling/disabling the shadow option in the workbench lines are rendered. It only seems to be related to Workbench. the other modes render correctly.
Issue is related to how the stencil buffers are used during the wireframe drawing.
DRWState stencil_state = is_material_shmode ? 0 : DRW_STATE_STENCIL_EQUAL;
The most consistent drawing I get when removing the stencil test for all render modes, but that sounds like that the implementation does not take all options into account. I will assign it to Clement as he known the ideas behind this.
I don't know if I've just messed up other settings, but for me all the modes look pretty jagged/aliased and sometimes the silhouette lines appear broken because of that. And I was going to demonstrate those aliased edges (even though my AA-settings are on max), but I instead found a new glitch.
Eevee does this:
(It makes the mesh look like X-ray when "In Front" option is toggled. Workbench works as suspected / normally, although the problems that blenux showed in their video are still apparent.
This issue was referenced by
b8bdb8e9e9
Changed status from 'Confirmed' to: 'Resolved'