Data Transfer modifier not working with Vertex Groups in 4.1 Alpha #117520
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#117520
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: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.23
Blender Version
Broken: version: 4.1.0 Alpha, branch: main, commit date: 2024-01-23 20:10, hash:
99f9084bee58
Worked: version: 4.0.1, branch: blender-v4.0-release, commit date: 2023-11-16 16:40, hash:
d0dd92834a08
Caused by
91b4f9f1f6
Short description of error
When transferring normals using the Data Transfer modifier in 4.1 Alpha, the result is broken when using vertex groups where vertices are assigned with weights between 0 and 1, like 0.5.
Exact steps for others to reproduce the error
Here is a video showing the steps to reproduce in 4.1 Alpha where it's broken, and 4.0.1 where it works -
Steps to reproduce in 4.1 Alpha:
The results should look like the Cylinder smoothly and seamlessly transitions into the Plane as if they're connected, but instead the resulting normals are faceted and seem flipped:
The above steps work perfectly in 4.0.1 and lesser versions, with the addition of needing to enable Auto Smooth for the Cylinder for the Data Transfer modifier to work, and increasing the Auto Smooth angle to around 65 degrees. The results are as expected:
The problem seems to occur in 4.1 Alpha only when vertices are added to the vertex group with a weight between 0 and 1. And this appears to only be a problem when normals are involved. I've tested vertex groups and different weights with other modifiers, such as the Shrinkwrap modifier for example, and the results are identical to results in 4.0.1. So maybe there's an issue with how custom normals are being handled in the latest version?
Thanks for the help!
It seems related to the changes in the Normals and AutoSmooth code.
@HooglyBoogly, does this issue ring a bell?
Caused by
91b4f9f1f6
Problem is that the resulting mix factor is the product of the mix factor in the UI and the weights, so just doing the check as in the culprit commit is not enough.
Think I can fix, will put on my desk.
Workaround for now btw.: just set the
Mix Factor
to .9999Thank you!