Data transfer modifier is not transfering vertex colours #81996

Closed
opened 2020-10-23 10:42:50 +02:00 by Frankie Hobbins · 6 comments

System Information
Operating system: win10
Graphics card: 2080ti

Blender Version
Broken: blender-2.91.0-baa24f1c91d2-windows64

Short description of error
It seems impossible to transfer vertex colours from one mesh to another using data transfer modifier.

Exact steps for others to reproduce the error
data transfer vertex colour bug.blend
Load blend file
The plane has a data transfer modifier set to take vertex colours from the cube.
No matter what settings are picked it seems impossible to make any data transfer happen.

**System Information** Operating system: win10 Graphics card: 2080ti **Blender Version** Broken: blender-2.91.0-baa24f1c91d2-windows64 **Short description of error** It seems impossible to transfer vertex colours from one mesh to another using data transfer modifier. **Exact steps for others to reproduce the error** [data transfer vertex colour bug.blend](https://archive.blender.org/developer/F9046109/data_transfer_vertex_colour_bug.blend) Load blend file The plane has a data transfer modifier set to take vertex colours from the cube. No matter what settings are picked it seems impossible to make any data transfer happen.

Added subscriber: @FrankieHobbins

Added subscriber: @FrankieHobbins
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Looks like the source has zero alpha.

You can confirm by opening your file, selecting the Source object, go to Vertex Paint mode, and add alpha with the Brush Settings set to Add Alpha
data transfer vertex colour bug_add_alpha_brush.blend

The source vertex color layer is transferred premutliplied, so if you have zero alpha in the source, the color on the Target wont be changed.
I am also not sure if this is the right thing to do in the context of the Data Transfer modifier, but this is then exactly the same question as in this report #81914 (Data Transfer modifier works inconsistently when dealing with Vertex Color Alpha).

I will merge these reports, just one question though: why do you have zero alpha in the source vertex color? Have you used the Erase Alpha brush setting?

Looks like the source has zero alpha. You can confirm by opening your file, selecting the `Source` object, go to `Vertex Paint` mode, and add alpha with the Brush Settings set to `Add Alpha` [data transfer vertex colour bug_add_alpha_brush.blend](https://archive.blender.org/developer/F9048490/data_transfer_vertex_colour_bug_add_alpha_brush.blend) The source vertex color layer is transferred premutliplied, so if you have zero alpha in the source, the color on the Target wont be changed. I am also not sure if this is the right thing to do in the context of the Data Transfer modifier, but this is then exactly the same question as in this report #81914 (Data Transfer modifier works inconsistently when dealing with Vertex Color Alpha). I will merge these reports, just one question though: why do you have zero alpha in the source vertex color? Have you used the Erase Alpha brush setting?
Member

Closed as duplicate of #81914

Closed as duplicate of #81914

I see, thanks for the detailed reply. I can confirm it does work when used with alpha.

I don't have any alpha because I'm not using it. My workflow takes it into unity game engine and some data will be packed inside the alpha channel (not sure what at the moment, maybe roughness, emissive or ao)

I've assigned the vertex colours with a plugin I made (there's no documentation sorry) https://github.com/FrankieHobbins/Blender-FrankiesVertexColourToolkit
image.png

I see, thanks for the detailed reply. I can confirm it does work when used with alpha. I don't have any alpha because I'm not using it. My workflow takes it into unity game engine and some data will be packed inside the alpha channel (not sure what at the moment, maybe roughness, emissive or ao) I've assigned the vertex colours with a plugin I made (there's no documentation sorry) https://github.com/FrankieHobbins/Blender-FrankiesVertexColourToolkit ![image.png](https://archive.blender.org/developer/F9048675/image.png)
Member

Ok, thx getting back.
Good to know that you made these with zero alpha on purpose.

Lets see what other devs have to say about the alpha "issue" in #81914

Ok, thx getting back. Good to know that you made these with zero alpha on purpose. Lets see what other devs have to say about the alpha "issue" in #81914
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
2 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#81996
No description provided.