Regression: Vertex Color From Weight ignores destination Color Attribute selection #98861
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#98861
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?
Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-05-12 23:29, hash:
427a2c920a
Worked: version: 3.1.2
Short description of error
Blender ignores chosen destination attribute when transfering vertex weights into Color Attributes. Instead to selected attribute it writes to first Color Attribute in the list.
Exact steps for others to reproduce the error
Blender will write color information to "col_LEFT".
vert_col_from_weight.blend
Added subscriber: @silex
Added subscriber: @lichtwerk
Changed status from 'Needs Triage' to: 'Needs User Info'
how exactly are you trying to do this?
Vertex Paint mode have option to convert vertex weights to color. You can find it in 'Paint' menu in the top bar -> 'Vertex Color from Weight'.
https://docs.blender.org/manual/en/3.1/sculpt_paint/vertex_paint/editing.html
Added subscriber: @HooglyBoogly
This is probably because the
vertex_paint_from_weight
function only works for byte color attributes, and it also relies onED_mesh_color_ensure
, which only works with the face corner domain.I think this function's implementation should be replaced with use of the attribute API for
MeshComponent
. D15169 is also a bit related.Changed status from 'Needs User Info' to: 'Needs Triage'
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Confirmed'
Thanks for the report.
I can confirm the problem in the current master.
It looks like a regression.
I'll look for the commit that introduced the problem.
System Information
Operating system:
macOS-12.2-arm64-arm-64bit 64 Bits
Graphics card:
Apple M1 Apple 4.1 Metal - 76.3
Vertex Color From Weight ignores destination Color Attribute selectionto Regression: Vertex Color From Weight ignores destination Color Attribute selectionTechnically it's not really a regression, since it will still work for any attribute that fits the old "vertex color" definition (byte color, face corner domain).
A newly default color attribute does not fit the old definition, but any previously existing "vertex colors" would.
I'm having trouble understanding what still works.
In the attached file both attributes are
Face Corner
>Byte Color
And the transfer from Vertex Group to Color Attribute works as long as the attribute is first on the stack.
The regression I see is that in 3.1.2 it would always transfer to the selected Vertex Color, but in 3.2.0 it is always to the first Color Attribute
Ah, makes sense, I think I missed that part.
Added subscriber: @OmarEmaraDev
#98975 and #98960 seems to be the same core issue, I will not merge them for now until we are sure.
Closed as duplicate of #98975