Hair wrong position on geometry surface when applying all shape keys #100756

Closed
opened 2022-09-01 18:55:14 +02:00 by JayB · 10 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59

Blender Version
Broken: version: 3.3.0 Release Candidate, branch: master, commit date: 2022-08-31 16:43, hash: cdc0be48c9

Short description of error
When applying all the shape keys on a mesh which has hair attached to it, the hair position default back to the mesh shape prior any shape keys.
If the shape keys is not applied, the hair in the viewport and when viewport rendering is at the correct position.
shapekeys_hair_issue_4.PNG

shapekeys_hair_issue_2.PNG

shapekeys_hair_issue_3.PNG

Exact steps for others to reproduce the error
Open the .blend attached.
select the sphere and in the Object Data Properties tab, in the Shape Keys section, click on the arrow and click on Apply all shape keys. The hair will not follow the geometry anymore.

shapekeys_hair_issue.PNG

And the steps I took to create the simple demo scene :

  1. Create a UV sphere
  2. While the sphere is selected, Shift + A > Curve > Empty Hair
  3. Edit mode while hair selected, add hair on the surface of the UV shpere.
  4. Select the UV sphere. Creating a basis shape key
  5. Creating a shape key with geometry changes
  6. Apply all shape keys.

error_apply_blendshape_with_hair.blend

I hope this can help you narrow down what could be the issue and thank you for your help !

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.59 **Blender Version** Broken: version: 3.3.0 Release Candidate, branch: master, commit date: 2022-08-31 16:43, hash: `cdc0be48c9` **Short description of error** When applying all the shape keys on a mesh which has hair attached to it, the hair position default back to the mesh shape prior any shape keys. If the shape keys is not applied, the hair in the viewport and when viewport rendering is at the correct position. ![shapekeys_hair_issue_4.PNG](https://archive.blender.org/developer/F13447308/shapekeys_hair_issue_4.PNG) ![shapekeys_hair_issue_2.PNG](https://archive.blender.org/developer/F13447312/shapekeys_hair_issue_2.PNG) ![shapekeys_hair_issue_3.PNG](https://archive.blender.org/developer/F13447314/shapekeys_hair_issue_3.PNG) **Exact steps for others to reproduce the error** Open the .blend attached. select the sphere and in the Object Data Properties tab, in the Shape Keys section, click on the arrow and click on Apply all shape keys. The hair will not follow the geometry anymore. ![shapekeys_hair_issue.PNG](https://archive.blender.org/developer/F13447295/shapekeys_hair_issue.PNG) And the steps I took to create the simple demo scene : 1. Create a UV sphere 2. While the sphere is selected, Shift + A > Curve > Empty Hair 4. Edit mode while hair selected, add hair on the surface of the UV shpere. 5. Select the UV sphere. Creating a basis shape key 6. Creating a shape key with geometry changes 7. Apply all shape keys. [error_apply_blendshape_with_hair.blend](https://archive.blender.org/developer/F13447293/error_apply_blendshape_with_hair.blend) I hope this can help you narrow down what could be the issue and thank you for your help !
Author

Added subscriber: @sinx

Added subscriber: @sinx

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

I can confirm the problem.
But this happens for any modifier or any edit in the Mesh.
I'm not sure what the behavior should be here and if this is really a bug.

I can confirm the problem. But this happens for any modifier or any edit in the Mesh. I'm not sure what the behavior should be here and if this is really a bug.
Author

This comment was removed by @sinx

*This comment was removed by @sinx*

Added subscribers: @JacquesLucke, @mod_moder

Added subscribers: @JacquesLucke, @mod_moder

@JacquesLucke
Could this be due to the fact that non-runtime data is used in this place?
node_geo_deform_curves_on_surface.cc$228

@JacquesLucke Could this be due to the fact that non-runtime data is used in this place? [node_geo_deform_curves_on_surface.cc$228 ](https://developer.blender.org/diffusion/B/browse/master/source/blender/nodes/geometry/nodes/node_geo_deform_curves_on_surface.cc$228)
Member

Added subscriber: @HooglyBoogly

Added subscriber: @HooglyBoogly
Member

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'
Member

Applying shape keys changes the ground truth of the surface attachment, just like applying a modifier.
There are operators in curves sculpt mode to reattach curves to the surface when it changes. The proper one to use in this situation is "Snap to Deformed Surface".

Applying shape keys changes the ground truth of the surface attachment, just like applying a modifier. There are operators in curves sculpt mode to reattach curves to the surface when it changes. The proper one to use in this situation is "Snap to Deformed Surface".
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
4 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#100756
No description provided.