Impossible to weight paint certain vertices #88665

Open
opened 2021-05-29 10:30:03 +02:00 by Daniel Salazar · 15 comments
Member

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.47

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-24 18:46, hash: 0606a37e1a
Broken a7ac8a22f8
Worked c8df6f2cf9 (huh!)
Broken 9a85592dde
Broken 382e7ce9ec
Broken 2.81 release
Broken 2.80 release

Short description of error
Too often when weight painting it's impossible to paint over certain vertices.

Exact steps for others to reproduce the error
Weight Paint Bug.blend
Try to paint over the middle vertex (0 weight)
image.png

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.47 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-24 18:46, hash: `0606a37e1a` Broken a7ac8a22f8 Worked c8df6f2cf9 (huh!) Broken 9a85592dde Broken 382e7ce9ec Broken 2.81 release Broken 2.80 release **Short description of error** Too often when weight painting it's impossible to paint over certain vertices. **Exact steps for others to reproduce the error** [Weight Paint Bug.blend](https://archive.blender.org/developer/F10147967/Weight_Paint_Bug.blend) Try to paint over the middle vertex (0 weight) ![image.png](https://archive.blender.org/developer/F10147965/image.png)
Author
Member

Added subscriber: @zanqdo

Added subscriber: @zanqdo
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

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

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

Can reproduce the issue. version 3.0.0 alpha, Hash: 43153e2324 , commit date: 2021-05-24.

It is really hard to paint when distance between vertices is quite more. Confirming the issue for now but I believe the problem is due to present algorithm (not sure though) ?

Can reproduce the issue. version 3.0.0 alpha, Hash: `43153e2324` , commit date: `2021-05-24`. It is really hard to paint when distance between vertices is quite more. Confirming the issue for now but I believe the problem is due to present algorithm (not sure though) ?
Member

Added subscriber: @lone_noel

Added subscriber: @lone_noel
Member

To me it seems like the combination of the Corrective Smoth and Subdivision Surface modifier makes it so you have to paint on the original position of the vertex, rather than the position after modifier evaluation:

wertex-paint-bug.mp4

Painting with only one of these modifiers enabled works as expected for me.

To me it seems like the combination of the *Corrective Smoth* and *Subdivision Surface* modifier makes it so you have to paint on the original position of the vertex, rather than the position after modifier evaluation: [wertex-paint-bug.mp4](https://archive.blender.org/developer/F10148041/wertex-paint-bug.mp4) Painting with only one of these modifiers enabled works as expected for me.
Member

Added subscribers: @Sergey, @lichtwerk

Added subscribers: @Sergey, @lichtwerk
Member

@Sergey might be interested, some commits by him at that time (see report description when this was broken/working), relevant:

@Sergey might be interested, some commits by him at that time (see report description when this was broken/working), relevant: - 5e332fd700 - cc1614123e - f1ac64921b
Author
Member

About combination of modifiers, I have to add that the problem happens with different combinations and sometimes no modifiers. It's just that's the case I could catch this time.

About combination of modifiers, I have to add that the problem happens with different combinations and sometimes no modifiers. It's just that's the case I could catch this time.
Member

Added subscriber: @PabloDobarro

Added subscriber: @PabloDobarro

Could be an issue with BKE_crazyspace_build_sculpt() or with some modifiers which use input mesh for coordinates, or something.

I do see one revision did work. Did anyone bisected which change did break such scenario? This will give some clues about where to look.

Could be an issue with `BKE_crazyspace_build_sculpt()` or with some modifiers which use input mesh for coordinates, or something. I do see one revision did work. Did anyone bisected which change did break such scenario? This will give some clues about where to look.
Member

Added subscriber: @JulienKaspar

Added subscriber: @JulienKaspar
Member

I'll just mark this as a bug since the expected behaviour seems pretty clear. There is a bigger design discussion with sculpt mode that touches this issue though: #87034
Maybe there should be an option to choose if the original cage is targeted or the modified mesh.

I'll just mark this as a bug since the expected behaviour seems pretty clear. There is a bigger design discussion with sculpt mode that touches this issue though: #87034 Maybe there should be an option to choose if the original cage is targeted or the modified mesh.

Added subscriber: @angavrilov

Added subscriber: @angavrilov

Afaik weight painting draws with all modifiers, but for actual painting only uses deform modifiers (basically those that don't change mesh topology, e.g. armature). This means for painting subdivision surface doesn't exist. I have no idea why it is so, but I've already ran into that in D14163 (native hiding required because can't be faked with Mask).

Afaik weight painting draws with all modifiers, but for actual painting only uses deform modifiers (basically those that don't change mesh topology, e.g. armature). This means for painting subdivision surface doesn't exist. I have no idea why it is so, but I've already ran into that in [D14163](https://archive.blender.org/developer/D14163) (native hiding required because can't be faked with Mask).
Philipp Oeser removed the
Interest
Sculpt, Paint & Texture
label 2023-02-10 09:11:49 +01: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
No Assignees
8 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#88665
No description provided.