Interpolated hair curves clipping into meshes with subdivision modifiers unapplied #107856

Open
opened 2023-05-12 01:27:17 +02:00 by Ducktor · 10 comments

System Information
Operating system: Windows 10
Graphics card: RTX 2080 Super Max-Q

Blender Version
Broken: 3.51
Worked: N/A

Short description of error
Interpolated hair curves clip into meshes with unapplied subdivision modifiers. Will stop clipping once subdivision is applied.

Exact steps for others to reproduce the error

  1. Create a mesh (i.e. suzanne) and add a subdivision modifier with any amount of subdivision.
  2. Add 'fur' hair curves and do a basic groom
  3. Notice (hopefully) that there a bald spots. No amount of extra guide curves will remove these bald spots
  4. Applying the subdivision modifier should remove these bald spots.
**System Information** Operating system: Windows 10 Graphics card: RTX 2080 Super Max-Q **Blender Version** Broken: 3.51 Worked: N/A **Short description of error** Interpolated hair curves clip into meshes with unapplied subdivision modifiers. Will stop clipping once subdivision is applied. **Exact steps for others to reproduce the error** 1. Create a mesh (i.e. suzanne) and add a subdivision modifier with any amount of subdivision. 2. Add 'fur' hair curves and do a basic groom 3. Notice (hopefully) that there a bald spots. No amount of extra guide curves will remove these bald spots 4. Applying the subdivision modifier should remove these bald spots.
Ducktor added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2023-05-12 01:27:18 +02:00
Member

Update:

rest_position seem to specifically only represent surface without applying modifiers and shape keys, so this might not be considered as a bug. However if I change the node into using position, or turn off rest_position, most furs will go underneath the mesh, but applying modifier seems to bring them back up without changing the placement.


Can confirm. From the look of it, rest_position field doesn't seem to align with the subdivided result.

Unable to test earlier version since nodes and curves doesn't work the same way. From 3.5.0~3.6 all consistent behaviour.

图片

Update: `rest_position` seem to specifically only represent surface without applying modifiers and shape keys, so this might not be considered as a bug. However if I change the node into using `position`, or turn off `rest_position`, most furs will go underneath the mesh, but applying modifier seems to bring them back up without changing the placement. ------- ~~Can confirm. From the look of it, `rest_position` field doesn't seem to align with the subdivided result.~~ Unable to test earlier version since nodes and curves doesn't work the same way. From 3.5.0~3.6 all consistent behaviour. ![图片](/attachments/3be77859-d7f4-4fcf-bb23-dab75403d70c)
147 KiB
YimingWu added
Module
Nodes & Physics
Status
Confirmed
Interest
Geometry Nodes
and removed
Status
Needs Triage
labels 2023-05-12 08:25:15 +02:00
YimingWu added
Status
Needs Info from Developers
and removed
Status
Confirmed
labels 2023-05-12 08:26:16 +02:00

I can't fine source of rest_position attribute in all blender project. If delete Input Named Attribute and Set Position nodes, everyting going be okay. But i not sure, why this attribute is exist in named attribute output...

I can't fine source of `rest_position` attribute in all blender project. If delete `Input Named Attribute` and `Set Position` nodes, everyting going be okay. But i not sure, why this attribute is exist in named attribute output...
Member

@mod_moder rna_object.c line 3265

  prop = RNA_def_property(srna, "add_rest_position_attribute", PROP_BOOLEAN, PROP_NONE);
  RNA_def_property_boolean_sdna(prop, NULL, "modifier_flag", OB_MODIFIER_FLAG_ADD_REST_POSITION);
  RNA_def_property_ui_text(prop,
                           "Add Rest Position",
                           "Add a \"rest_position\" attribute that is a copy of the position "
                           "attribute before shape keys and modifiers are evaluated");
  RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_internal_update_data");
@mod_moder `rna_object.c` line 3265 ```C prop = RNA_def_property(srna, "add_rest_position_attribute", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "modifier_flag", OB_MODIFIER_FLAG_ADD_REST_POSITION); RNA_def_property_ui_text(prop, "Add Rest Position", "Add a \"rest_position\" attribute that is a copy of the position " "attribute before shape keys and modifiers are evaluated"); RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_internal_update_data"); ```
Author

rest_position seem to specifically only represent surface without applying modifiers and shape keys, so this might not be considered as a bug. However if I change the node into using position, or turn off rest_position, most furs will go underneath the mesh, but applying modifier seems to bring them back up without changing the placement.

How is this issue with fur clipping into mesh supposed to be solved in that case (other than applying subdiv modifier)? Is this just a technical limitation of geonode hair right now? I really hope not since being able to have fur on animated characters is a pretty important thing.

> rest_position seem to specifically only represent surface without applying modifiers and shape keys, so this might not be considered as a bug. However if I change the node into using position, or turn off rest_position, most furs will go underneath the mesh, but applying modifier seems to bring them back up without changing the placement. How is this issue with fur clipping into mesh supposed to be solved in that case (other than applying subdiv modifier)? Is this just a technical limitation of geonode hair right now? I really hope not since being able to have fur on animated characters is a pretty important thing.
Member

@HooglyBoogly Any input on this?

@HooglyBoogly Any input on this?

This is why I don't like the fact that there is no repository for assets. First of all, the creator of assets or someone who is familiar with them must understand if this is a bug in the asset, or in the blender code.

This is why I don't like the fact that there is no repository for assets. First of all, the creator of assets or someone who is familiar with them must understand if this is a bug in the asset, or in the blender code.
Author

Is there still no information on this? I was able to find a somewhat working solution, but it still caused clipping when deforming.

Is there still no information on this? I was able to find a somewhat working solution, but it still caused clipping when deforming.
Author

Still nothing? I haven't been able to continue my work for over a month.

Still nothing? I haven't been able to continue my work for over a month.
Member

For now you might want to work on a mesh that has applied subdiv modifier. Keep in mind that the attribute system is constantly changing. Also Rest Position is not well documented.

4.0 also has the same problem. Will poke devs again.

For now you might want to work on a mesh that has applied subdiv modifier. Keep in mind that the attribute system is constantly changing. Also `Rest Position` is not well documented. 4.0 also has the same problem. Will poke devs again.
Author

Is there timeline for a fix for this? It's still a pretty huge issue for me. Having to apply subdiv is a deal breaker in a lot of cases especially on meshes with corrective shapekeys (of course, shape keys can be preserved when applying subdiv with an addon but I'm specifically talking about drivers being erased, etc)

Is there timeline for a fix for this? It's still a pretty huge issue for me. Having to apply subdiv is a deal breaker in a lot of cases especially on meshes with corrective shapekeys (of course, shape keys can be preserved when applying subdiv with an addon but I'm specifically talking about drivers being erased, etc)
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
3 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#107856
No description provided.