Vertex painting causes mesh to flicker #89624

Closed
opened 2021-07-03 06:57:32 +02:00 by Wykrhm Reddy · 24 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 18:27, hash: 5f5cf21a83
Worked: Probably the last one? It was working not that long ago (E.g.: d08cc63e2f).

Short description of error
Any vertex painting on any mesh causes that mesh to flicker rapidly.
00-18-51.mp4

Exact steps for others to reproduce the error

  1. Create any mesh (or use default Cube).
  2. Go to vertex painting.
  3. Enable the "Show Wire" option of the the Vertex Paint Viewport Overlays
  4. Paint.
    The object will flicker.
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 980/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.11 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 18:27, hash: `5f5cf21a83` Worked: Probably the last one? It was working not that long ago (E.g.: `d08cc63e2f`). **Short description of error** Any vertex painting on any mesh causes that mesh to flicker rapidly. [00-18-51.mp4](https://archive.blender.org/developer/F10225029/00-18-51.mp4) **Exact steps for others to reproduce the error** 1. Create any mesh (or use default Cube). 2. Go to vertex painting. 3. Enable the "Show Wire" option of the the Vertex Paint Viewport Overlays 4. Paint. The object will flicker.
Author

Added subscriber: @Wyk

Added subscriber: @Wyk
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Cannot reproduce here

**System Information**
Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.33.9000 64 Bits
Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31
version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 18:27, hash: `rB5f5cf21a833f` also checked current master
  • Does this happen on any mesh?
  • Has the GPU driver been updated recently (maybe it is a problem with the 471.11 though unlikely)?
  • Please try with File → Defaults → Load Factory Settings to see if you still can reproduce this issue.
  • which viewport shading mode are you in? (maybe a small screencapture of what this flickering looks like might also help)
Cannot reproduce here ``` **System Information** Operating system: Linux-5.13.0-0.rc6.45.fc35.x86_64-x86_64-with-glibc2.33.9000 64 Bits Graphics card: NVIDIA GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31 version: 3.0.0 Alpha, branch: master, commit date: 2021-07-02 18:27, hash: `rB5f5cf21a833f` also checked current master ``` - Does this happen on **any** mesh? - Has the GPU driver been updated recently (maybe it is a problem with the 471.11 though unlikely)? - Please try with File → Defaults → Load Factory Settings to see if you still can reproduce this issue. - which viewport shading mode are you in? (maybe a small screencapture of what this flickering looks like might also help)
Author

This comment was removed by @Wyk

*This comment was removed by @Wyk*
Author

Hey Philipp,

I found the issue. It is persistent even in factory default setup.

The flickering of the mesh happens when the "Show Wire" option of the the Vertex Paint Viewport Overlays is turned on.

Hey Philipp, I found the issue. It is persistent even in factory default setup. The flickering of the mesh happens when the "Show Wire" option of the the Vertex Paint Viewport Overlays is turned on.
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

Still cannot reproduce.

That Show Wire has its quirks. Just asking: does it flicker for you on both cases? (when the option is ON and no wires are visible vs. when the option is ON and wires are actually visible -- for what I mean by this, please have a look at #88385 (overlay.show_paint_wire doesn't work in vertex paint modes depending on edit mode selection)).
Also: could you show the flicker in action (short screencast might help here).
Thx in advance!

Still cannot reproduce. That `Show Wire` has its quirks. Just asking: does it flicker for you on both cases? (when the option is ON and no wires are visible vs. when the option is ON and wires are actually visible -- for what I mean by this, please have a look at #88385 (overlay.show_paint_wire doesn't work in vertex paint modes depending on edit mode selection)). Also: could you show the flicker in action (short screencast might help here). Thx in advance!
Author

Here's a screen cap of the issue: 00-18-51.mp4

The wires are not actually visible in either case. Whether the option is turned on or off. The flicker happens when the operator is enabled. But no flicker when it ain't.

And I can confirm the issue in the other report you linked too. The "Show Wire" no longer displays the wireframe at all.

Here's a screen cap of the issue: [00-18-51.mp4](https://archive.blender.org/developer/F10225029/00-18-51.mp4) The wires are not actually visible in either case. Whether the option is turned on or off. The flicker happens when the operator is enabled. But no flicker when it ain't. And I can confirm the issue in the other report you linked too. The "Show Wire" no longer displays the wireframe at all.
Member

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

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

The "Show Wire" no longer displays the wireframe at all

That is a regression actually (thx noting), will handle in the other report though.

> The "Show Wire" no longer displays the wireframe at all That is a regression actually (thx noting), will handle in the other report though.
Member

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

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

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

In #89624#1191612, @lichtwerk wrote:

The "Show Wire" no longer displays the wireframe at all

That is a regression actually (thx noting), will handle in the other report though.

This changed in 44d2479dc3 (now it does not draw at all).
Suspicion is that this commit might cause the flickering for you, @Jeroen-Bakker: do you think this might be the case?
@Wyk : Could you verify that this was still working in 2.93?

> In #89624#1191612, @lichtwerk wrote: >> The "Show Wire" no longer displays the wireframe at all > That is a regression actually (thx noting), will handle in the other report though. This changed in 44d2479dc3 (now it does not draw **at all**). Suspicion is that this commit might cause the flickering for you, @Jeroen-Bakker: do you think this might be the case? @Wyk : Could you verify that this was still working in 2.93?
Member

In #89624#1191692, @lichtwerk wrote:

In #89624#1191612, @lichtwerk wrote:

The "Show Wire" no longer displays the wireframe at all

That is a regression actually (thx noting), will handle in the other report though.

This changed in 44d2479dc3 (now it does not draw at all).
Suspicion is that this commit might cause the flickering for you, @Jeroen-Bakker: do you think this might be the case?
@Wyk : Could you verify that this was still working in 2.93?

reported separately in #89880 (overlay.show_paint_wire doesn't work anymore)

> In #89624#1191692, @lichtwerk wrote: >> In #89624#1191612, @lichtwerk wrote: >>> The "Show Wire" no longer displays the wireframe at all >> That is a regression actually (thx noting), will handle in the other report though. > > This changed in 44d2479dc3 (now it does not draw **at all**). > Suspicion is that this commit might cause the flickering for you, @Jeroen-Bakker: do you think this might be the case? > @Wyk : Could you verify that this was still working in 2.93? reported separately in #89880 (overlay.show_paint_wire doesn't work anymore)
Author

Okay. I did some testing across 2.93 and 3.0 and there's some massive inconsistencies / irregularities here.

But to start with -- The 'Show Wire' does not work in 2.93 either but at least the flickering does not happen in 2.93. Even when Show Wire is enabled.

But here are the irregularities.

  1. Geometry Wireframe check box enables and disables wireframe as intended.
  2. However, the Wireframe slider from 0 to 1 does nothing. In 2.93 and 3.0
  3. The opacity slider from 0 to 1 works as intended.
  4. In weight paint mode, setting opacity slider to 0 actually reveal the wireframe that previously used to show with "Show Wire" in paint modes. Irrespective of whether Show Wire is enabled or disabled.
  5. But the same thing does not show the wireframe at all in Vertex Paint mode. Even with opacity set to 0.

It's all messed up for some reason.

Intended method of working should be:

  1. Geometry Wireframe - should decide the extent of the wireframe on the mesh.
  2. Geometry Opacity - should decide the opacity of the wireframe.
  3. Weight Paint / Vertex Paint Show Wire - should show wireframe irrespective of the setting on Geometry Wireframe.

That's how it worked previously at least. Can't remember which version it properly on last.

Okay. I did some testing across 2.93 and 3.0 and there's some massive inconsistencies / irregularities here. But to start with -- The 'Show Wire' does not work in 2.93 either but at least the flickering does not happen in 2.93. Even when Show Wire is enabled. But here are the irregularities. 1. Geometry Wireframe check box enables and disables wireframe as intended. 2. However, the Wireframe slider from 0 to 1 does nothing. In 2.93 and 3.0 3. The opacity slider from 0 to 1 works as intended. 4. In weight paint mode, setting opacity slider to 0 actually reveal the wireframe that previously used to show with "Show Wire" in paint modes. Irrespective of whether Show Wire is enabled or disabled. 5. But the same thing does not show the wireframe at all in Vertex Paint mode. Even with opacity set to 0. It's all messed up for some reason. Intended method of working should be: 1. Geometry Wireframe - should decide the extent of the wireframe on the mesh. 2. Geometry Opacity - should decide the opacity of the wireframe. 3. Weight Paint / Vertex Paint Show Wire - should show wireframe irrespective of the setting on Geometry Wireframe. That's how it worked previously at least. Can't remember which version it properly on last.
Member

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

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

Demonstration of some of these inconsistencies / bugs: 02-58-31.mp4

Demonstration of some of these inconsistencies / bugs: [02-58-31.mp4](https://archive.blender.org/developer/F10225226/02-58-31.mp4)

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

I can confirm. Bisecting...

I can confirm. Bisecting...

This issue was referenced by 0793ced8ad

This issue was referenced by 0793ced8ad7a49143da28c037c9cd8b37838a2c8

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Germano Cavalcante self-assigned this 2021-07-16 21:21:23 +02:00
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
4 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#89624
No description provided.