Inclusive bounds for VertexWeightEdit? #82831
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#82831
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Graphics card: Intel UHD
Blender Version
Broken: 2.90.1
Worked: ???
Short description of error
The "Group Add" "Threshold" for the VertexWeightEdit modifier seems to be interpreted as an exclusive bound. This may be a deliberate design choice, but it makes it impossible to assign default weights of zero:
Exact steps for others to reproduce the error
When dealing with output from generative modifiers or meshes linked from library .blend files, it's useful for me to be able to non-destructively assign a default vertex weight of 0.0 to all vertices so I can then use VertexWeightMix modifiers to add textures to the weights, combine multiple vertex groups, etc.
What I was trying to say was that the VertexWeightEdit modifier has a "Group Add" functionality for setting all weights above a threshold, but it doesn't do anything for weights that are exactly equal to that threshold:
This kinda makes sense, but it also makes it impossible to e.g. assign weights of 0.0, or only weights of exactly 1.0.
Blend file below. The threshold is 0.010, so set the "Default Weight" to 0.010 and 0.011 to see what I mean.
VertexWeightEdit_Bounds.blend
Maybe this file makes it a bit clearer:
VertexWeightMix
modifier after theVertexWeightEdit
modifierVertexWeightEdit
modifier tries to add all vertices to the group with a value of 0.0 (to be able to be used by the followingVertexWeightMix
modifier), but "fails" due to the exclusive boundsVertexWeightEdit_Bounds_repro.blend
Added subscriber: @WCN
I just realized my screenshots don't actually prove anything, as zero weights would be rendered black anyway. But the behaviour I described does occur AFAICT, and the test I did produces the same result with non-zero thresholds and default weights.
Added subscriber: @mano-wii
I'm not sure what I'm seeing in the image.
Can you share the file so we can analyze it?
Changed status from 'Needs Triage' to: 'Needs User Info'
@mano-wii Hey, sorry for being unclear.
What I was trying to say was that the VertexWeightEdit modifier has a "Group Add" functionality for setting all weights above a threshold, but it doesn't do anything for weights that are exactly equal to that threshold:
This kinda makes sense, but it also makes it impossible to e.g. assign weights of 0.0, or only weights of exactly 1.0.
Blend file below. The threshold is 0.010, so set the "Default Weight" to 0.010 and 0.011 to see what I mean.
VertexWeightEdit_Bounds.blend
Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Needs User Info'
I can confirm this is the case, but I am not sure why you need this. Though I have not so much experience in this area.
Can you explain how this is problem in workflow?
@iss When dealing with output from generative modifiers or meshes linked from library
.blend
files, it's useful for me to be able to non-destructively assign a default vertex weight of 0.0 to all vertices so I can then use VertexWeightMix modifiers to add textures to the weights, combine multiple vertex groups, etc.Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
I think I get the point.
So for vertices not in the group, it is impossible to add them with a default value of 0.0.
Maybe this file makes it a bit clearer:
VertexWeightMix
modifier after theVertexWeightEdit
modifierVertexWeightEdit
modifier tries to add all vertices to the group with a value of 0.0 (to be able to be used by the followingVertexWeightMix
modifier), but "fails" due to the exclusive boundsVertexWeightEdit_Bounds_repro.blend
This patch changes it to be inclusive bounds
P1959: T82831_snippet
This is certainly not a bug, but possibly a TODO (if this is really beneficial in all cases).
Will confirm for now and let modules make a decision here.
I've confirmed that the behavior is still the same in current
main
. I agree that this should probably be an inclusive bound. I'll bring it up with the animation & rigging module.Fixed in 4.0 by #108286