Z-Fighting in 3DView (Wireframe Mode) #61803

Closed
opened 2019-02-21 13:06:09 +01:00 by bithunter · 12 comments

System Information
Operating system:
Windows 10 Pro 64Bit

Graphics card:
GeForce GTX 1070, Nvidia 416.94

Blender Version
2.80, 1af810b4ff 2019-02-20

Short description of error
Sometimes z-fighting in 3DView wireframe mode is visible when faces overlap. Does not happen consistently. E.g. unscaled duplicates don't show this behavior. Compared to 2.79 z-fighting did never happen in wireframe (obviously).zfightingwire.png

Exact steps for others to reproduce the error
Toggle into wireframe mode:

  1. duplicate default cube, use S(cale) -1
  2. duplicate default cube, add boolean modifier (Intersect) to duplicate and choose original cube as target object
  3. duplicate default cube, set cursor to a vertex, set cursor as pivot, scale duplicate
**System Information** Operating system: Windows 10 Pro 64Bit Graphics card: GeForce GTX 1070, Nvidia 416.94 **Blender Version** 2.80, 1af810b4ff17 2019-02-20 **Short description of error** Sometimes z-fighting in 3DView wireframe mode is visible when faces overlap. Does not happen consistently. E.g. unscaled duplicates don't show this behavior. Compared to 2.79 z-fighting did never happen in wireframe (obviously).![zfightingwire.png](https://archive.blender.org/developer/F6678343/zfightingwire.png) **Exact steps for others to reproduce the error** Toggle into wireframe mode: 1. duplicate default cube, use S(cale) -1 2. duplicate default cube, add boolean modifier (Intersect) to duplicate and choose original cube as target object 3. duplicate default cube, set cursor to a vertex, set cursor as pivot, scale duplicate
Author

Added subscriber: @bithunter64

Added subscriber: @bithunter64

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Can you upload a .blend file with this problem?

Can you upload a .blend file with this problem?
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Could you prepare and upload a .blend file that shows the issue, please?

In general, it might not be possible to solve all the z-fighting problems..

[EDIT] you were faster...

Could you prepare and upload a .blend file that shows the issue, please? In general, it might not be possible to solve all the z-fighting problems.. [EDIT] you were faster...
Author

zfighting.png

This is what I see. ~~Haven't had time to test on Linux yet. ~~ Same behavior on Ubuntu 18.04.1 LTS, Nvidia 415.18, GeForce GTX 1070. I'm aware that this one might be hard to fix. Just leaving it here for reference.

zfighting.blend

Seems to be related to outline, which is enabled by default.

![zfighting.png](https://archive.blender.org/developer/F6679941/zfighting.png) This is what I see. ~~Haven't had time to test on Linux yet. ~~ Same behavior on Ubuntu 18.04.1 LTS, Nvidia 415.18, GeForce GTX 1070. I'm aware that this one might be hard to fix. Just leaving it here for reference. [zfighting.blend](https://archive.blender.org/developer/F6679947/zfighting.blend) Seems to be related to **outline**, which is enabled by default.
Clément Foucault was assigned by Sebastian Parborg 2019-02-22 10:39:16 +01:00

This is due to the outline algorithm not the wireframe. You can disable it in the shading popover.

I cannot consider this a bug. Zfighting is a problem in all rasterization pipeline.

But I could argue that the outline algorithm should be disable by default. It is not useful in a lot of cases and take a bit of performance away.

This is due to the outline algorithm not the wireframe. You can disable it in the shading popover. I cannot consider this a bug. Zfighting is a problem in all rasterization pipeline. But I could argue that the outline algorithm should be disable by default. It is not useful in a lot of cases and take a bit of performance away.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author

I guess outlines - while useful in solid mode - are not useful for wireframe mode because they give no visual cue for cases where overlaps are backfacing.
E.g. outline1.png For front facing overlaps they just clutter the view even more.
If there is one thing you don't want in wireframe mode it is more lines than needed. So it might be best
to give options to toggle outlines for solid and wireframe mode separatly or remove it from wireframe altogether(?). Just my thoughts.

I guess outlines - while useful in solid mode - are not useful for wireframe mode because they give no visual cue for cases where overlaps are backfacing. E.g. ![outline1.png](https://archive.blender.org/developer/F6686639/outline1.png) For front facing overlaps they just clutter the view even more. If there is one thing you don't want in wireframe mode it is more lines than needed. So it might be best to give options to toggle outlines for solid and wireframe mode separatly or remove it from wireframe altogether(?). Just my thoughts.

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

I propose de get rid of the option when in wireframe mode. It is clear that it adds confusion. @WilliamReynish what do you think?

I propose de get rid of the option when in wireframe mode. It is clear that it adds confusion. @WilliamReynish what do you think?

@fclem I agree. If we are using brightness for selection anyway, the outline doesn’t have much reason for being.

@fclem I agree. If we are using brightness for selection anyway, the outline doesn’t have much reason for being.
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#61803
No description provided.