Weight Paint Gradient Tool doesn't consider Auto-Normalize #84651
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#84651
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.4.0-7634-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100
Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2021-01-12 14:43, hash:
c3b68fa7b1
Worked: Possibly never but I'm not sure.
Short description of error
Today I had a once in a lifetime opportunity to make use of the gradient tool in a weight painting case. And then it failed! It seems that when using the gradient tool in weight paint mode, the weights don't get normalized during the stroke.
Exact steps for others to reproduce the error
gradient_doesnt_auto_normalize.blend
Click and drag on the sphere. Notice that the influence of Bone2 wasn't subtracted from Bone1.
This tool is extremely rarely used so this is a small issue.
Added subscriber: @Mets
#78558 was marked as duplicate of this issue
Added subscriber: @filedescriptor
Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm the issue on 2.92.0 Alpha, branch: master, commit date: 2021-01-12 15:24, hash:
957e292c58
.Added subscriber: @ideasman42
Some background on this task.
*
.OBJECT_OT_vertex_group_normalize_all
.*
we could rewrite this tool to use the same underlying logic as the weight paint tool, this is a much bigger task.Added subscriber: @PratikPB2123
@filedescriptor I never tried the operator
auto normalize
, could you please tell me what should be expected output for user in following case ??After you've done the reproduction steps, you can go back to the Brush tool, and make a stroke with a very low brush strength like 0.00001. This will trigger the normalization, and the weights will be subtracted from Bone1 as expected.
This is also effectively the workaround to the issue.
@Mets ,So effect of bone 2 is not getting subtracted from bone 1 if
gradient tool
is used ( but it subtracts when we do the same with brush/draw tool and same should be the expected output forgradient tool
as well) .what is roll of
auto - normalize
here ?? , No idea what exactly it does.Auto-Normalize should make sure that all deforming weights on each individual vertex add up to 1.0 at all times. So, the influence of Bone2 is expected to be subtracted from the influence of Bone1, as a result of making sure that their combined weights add up to 1.0 on each vertex.
This is used in weight painting to make sure that the visual colors actually represent the amount of deformation coming from each bone. It is a bit like a user preference - different people will have it on or off, but one person wouldn't change it while working.
@Mets , I appreciate your help .
I observed , for
brush tool
If auto normalize is turned on then only weight of bone2 is getting subtracted from bone1 . If auto normalize is unchecked then it won't subtract.where for
gradient tool
same behaviour(weights don't get subtracted
) is observed whetherauto normalize
of checked or unchecked .So expected result is , when auto- normalize is checked , weights should be subtracted.
Let me know if I am proceeding in right way or not ?
Yep, that sounds correct! So it seems that the gradient tool is ignoring the auto-normalize setting.
Added subscriber: @LucianoMunoz
I think none of the operators obey auto-normalize, as its only a painting setting, i would appreciate it that you could set a global auto-normalize for every function
Sure @LucianoMunoz . I will try .
Added subscriber: @JerBot
I second this!
Would save me extra steps, or save me from relying on skin weighting addons (which usually have an auto-normalize option for their operations).
hey @ideasman42 and @LucianoMunoz , can you take a time and review the patch I submitted D10239 .
This issue was referenced by
32660201ac
Changed status from 'Confirmed' to: 'Resolved'
Added subscribers: @Pegacy-3, @lichtwerk, @datadieb, @zickkie, @Limarest