Edges of flat faces are drawn even with zero overlay wireframe threshold #95994

Closed
opened 2022-02-23 14:51:46 +01:00 by Witold Hazuka · 23 comments

Edges of flat faces are drawn even with zero overlay wireframe threshold.

20220406-095845.png

20220406-100011.png

edges display on flats issue.blend

Original Report

System Information
Operating system: macOS-10.15.6-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon RX 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.16

Blender Version
Broken: version: 2.93.6, branch: master, commit date: 2021-11-16 14:54, hash: c842a90e2f
Worked: (newest version of Blender that worked as expected)

Short description of error
The wireframe display of the complex mesh, with a lot of triangles on flat surfaces is not optimised.
When the mesh is created or imported it keeps showing all the edges which is making the editing difficult.
The display of the flat complex surfaces should be optimised for clarity.
The bug present since the first 2.80 release.

Exact steps for others to reproduce the error
Create some complex mesh, flat, cylindrical with flat tops/bottoms, with a lot of corners, holes. Important is to have a lot of flat surfaces with many triangles.
The bug exists in all the builds since 2.80.
But to be on the same page in every release export the mesh to external format and then import.
After importing the mesh into 2.79b it display with all the edges visible. Go into the edit mode and then go back to object mode and the wireframe display is optimised.
The same happens when you create the mesh. In 2.79b the wireframe display is being optimised on an instant. In later releases the display stays messy.
Do it in 2.79b and then in subsequent releases up to the newest 3.1.0 Beta for comparison.

I'm observing the same behaviour in an OS with Nvidia GeForce GT 650 M.
Same in macOS-10.14.6 with both AMD Radeon RX 580 and Nvidia GeForce GT 650 M.

Kind regards,
Witold Hazuka.

Edges of flat faces are drawn even with zero overlay wireframe threshold. ![20220406-095845.png](https://archive.blender.org/developer/F12977606/20220406-095845.png) ![20220406-100011.png](https://archive.blender.org/developer/F12977608/20220406-100011.png) [edges display on flats issue.blend](https://archive.blender.org/developer/F12977603/edges_display_on_flats_issue.blend) **Original Report** **System Information** Operating system: macOS-10.15.6-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon RX 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.10.16 **Blender Version** Broken: version: 2.93.6, branch: master, commit date: 2021-11-16 14:54, hash: `c842a90e2f` Worked: (newest version of Blender that worked as expected) **Short description of error** The wireframe display of the complex mesh, with a lot of triangles on flat surfaces is not optimised. When the mesh is created or imported it keeps showing all the edges which is making the editing difficult. The display of the flat complex surfaces should be optimised for clarity. The bug present since the first 2.80 release. **Exact steps for others to reproduce the error** Create some complex mesh, flat, cylindrical with flat tops/bottoms, with a lot of corners, holes. Important is to have a lot of flat surfaces with many triangles. The bug exists in all the builds since 2.80. But to be on the same page in every release export the mesh to external format and then import. After importing the mesh into 2.79b it display with all the edges visible. Go into the edit mode and then go back to object mode and the wireframe display is optimised. The same happens when you create the mesh. In 2.79b the wireframe display is being optimised on an instant. In later releases the display stays messy. Do it in 2.79b and then in subsequent releases up to the newest 3.1.0 Beta for comparison. I'm observing the same behaviour in an OS with Nvidia GeForce GT 650 M. Same in macOS-10.14.6 with both AMD Radeon RX 580 and Nvidia GeForce GT 650 M. Kind regards, Witold Hazuka.
Author

Added subscriber: @Hazooka

Added subscriber: @Hazooka
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

What do you mean by the "wireframe display is optimised"? Is the viewport faster to work in?
Or are you talking about the Display All Edges and Optimal Display options which don't seem to have any effect?
Can you share one such model and a number of screenshots showing the problem?

What do you mean by the "wireframe display is optimised"? Is the viewport faster to work in? Or are you talking about the Display All Edges and Optimal Display options which don't seem to have any effect? Can you share one such model and a number of screenshots showing the problem?
Author

Hi Omar.

Everything is in the bug report.
Wireframe view of the mesh shows all the edges on the flat surfaces instead of optimising the display to only boundary edges as it was in 2.79b.

I can't share any file, no option for this for me in this thread.
The model does not matter, the bug affects every mesh created/imported.

The simplest way I think is to create a cylinder, standard one, no tweaking. Then enter the edit mode and triangulate the faces.
When you go back to object mode in 2.79b the top/bottom circles display clean, in 2.80 and on they display all the newly created edges.
The clarity of work is crippled when you get to have many objects.

Do this test and you will know.

Kind regards,
Witold.

Hi Omar. Everything is in the bug report. Wireframe view of the mesh shows all the edges on the flat surfaces instead of optimising the display to only boundary edges as it was in 2.79b. I can't share any file, no option for this for me in this thread. The model does not matter, the bug affects every mesh created/imported. The simplest way I think is to create a cylinder, standard one, no tweaking. Then enter the edit mode and triangulate the faces. When you go back to object mode in 2.79b the top/bottom circles display clean, in 2.80 and on they display all the newly created edges. The clarity of work is crippled when you get to have many objects. Do this test and you will know. Kind regards, Witold.
Author

2.93.6 wireframe optimisation.png

2.79b wireframe optimisation.png

Found the way to share the files.

Witold.

![2.93.6 wireframe optimisation.png](https://archive.blender.org/developer/F12884332/2.93.6_wireframe_optimisation.png) ![2.79b wireframe optimisation.png](https://archive.blender.org/developer/F12884331/2.79b_wireframe_optimisation.png) Found the way to share the files. Witold.
Author

Editing the visibility of the Geometry: wireframe, does not solve the problem.

Witold.

Editing the visibility of the Geometry: wireframe, does not solve the problem. Witold.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Are you saying that changing the value of Viewport Overlays > Geometry > Wireframe have no effect on the result?
Can you make sure that Object > Viewport Display > Display All Edges is disabled?

Are you saying that changing the value of Viewport Overlays > Geometry > Wireframe have no effect on the result? Can you make sure that Object > Viewport Display > Display All Edges is disabled?
Author

Hi Omar.
Changing the wireframe settings in the viewport overlay does not affect all, just some edges.
Display all edges is off by default.

Kind regards,
Witold.

Hi Omar. Changing the wireframe settings in the viewport overlay does not affect all, just some edges. Display all edges is off by default. Kind regards, Witold.
Member

But this would be the expected result, depending on its value, it will affect only a number of edges. Right?

But this would be the expected result, depending on its value, it will affect only a number of edges. Right?
Author

Hi Omar.

Sorry to reply so late, I don't get any notifications about your updates any more. Probably a matter of some configuration.

You can see how it should work - release 2.79b
You can see how it behaves in all the next releases, including the latest.
You can see the difference.
Do you want me to elaborate this issue more precisely?

Kind regards,
Witold.

Hi Omar. Sorry to reply so late, I don't get any notifications about your updates any more. Probably a matter of some configuration. You can see how it should work - release 2.79b You can see how it behaves in all the next releases, including the latest. You can see the difference. Do you want me to elaborate this issue more precisely? Kind regards, Witold.
Member

I am not disputing the difference, just saying that the behavior did change in newer versions, so a difference between versions is expected. But playing with the settings should give you a result that is close enough to the old method, is this not the case?

I am not disputing the difference, just saying that the behavior did change in newer versions, so a difference between versions is expected. But playing with the settings should give you a result that is close enough to the old method, is this not the case?
Author

The result is not close enough, that's the point.
All the flat n-gon's display should be optimised, but we still get some n-gons with all or plenty edges visible.

The result is not close enough, that's the point. All the flat n-gon's display should be optimised, but we still get some n-gons with all or plenty edges visible.
Member

Okay, I will take another look. I recall having your file, but can't find it anymore for some reason. Can you share it again?
And meanwhile, can you also attach a screenshot that shows the issue with Geometry -> Wireframe enabled and set to zero?

Okay, I will take another look. I recall having your file, but can't find it anymore for some reason. Can you share it again? And meanwhile, can you also attach a screenshot that shows the issue with Geometry -> Wireframe enabled and set to zero?
Author

edges display on flats issue.blend

Here you go, from Blender 2.93.6.

[edges display on flats issue.blend](https://archive.blender.org/developer/F12977603/edges_display_on_flats_issue.blend) Here you go, from Blender 2.93.6.
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

Thanks! That looks like an issue indeed.

Thanks! That looks like an issue indeed.
Omar Emara changed title from Wireframe mesh display in the 3D/ Layout view is not optimised to Edges of flat faces are drawn even with zero overlay wireframe threshold 2022-04-06 10:00:33 +02:00
Author

Thank you :)
Looking forward to the fix.

Witold.

Thank you :) Looking forward to the fix. Witold.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

We also have #90641 (Wireframe overlay doesn't work as expected (does not hide edges of coplanar faces)) for this, will merge these reports

We also have #90641 (Wireframe overlay doesn't work as expected (does not hide edges of coplanar faces)) for this, will merge these reports
Member

Closed as duplicate of #90641

Closed as duplicate of #90641
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
3 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#95994
No description provided.