Page MenuHome

Z-Fighting in 3DView (Wireframe Mode)
Closed, ArchivedPublic

Description

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).

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

Event Timeline

Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 30.Feb 21 2019, 5:19 PM

Can you upload a .blend file with this problem?

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...

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.

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

Sebastian Parborg (zeddb) raised the priority of this task from 30 to 50.

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.

Clément Foucault (fclem) changed the task status from Unknown Status to Archived.Feb 22 2019, 1:44 PM

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.

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 propose de get rid of the option when in wireframe mode. It is clear that it adds confusion. @William Reynish (billreynish) what do you think?

@Clément Foucault (fclem) I agree. If we are using brightness for selection anyway, the outline doesn’t have much reason for being.