Experimental Hair: Spline factor gets messed up if one hair is too short #99130

Closed
opened 2022-06-24 11:05:33 +02:00 by Dalai Felinto · 8 comments

Blender Version
Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-06-24 04:38, hash: 3323cd9c9a
Worked: n/a

Short description of error
Spline factor gets messed up if one hair is too short

Simplified file

The issue happens when one of the hair is very very very very short. In this file the moment the small spline gets shrinked to nothing, the Spline parameter gets broken for the other spline as well.

einar_mustache_factor_reset_2.blend

  • Open file
  • Shrink the small hair until the other hair becomes thick out of nowhere.

If you delete the shrinked hair, the other hair goes back to normal.

Complex file

einar_mustache_factor_reset.blend

einar_hair_factor_loss2.mp4

**Blender Version** Broken: version: 3.3.0 Alpha, branch: master, commit date: 2022-06-24 04:38, hash: `3323cd9c9a` Worked: n/a **Short description of error** Spline factor gets messed up if one hair is too short **Simplified file** The issue happens when one of the hair is very very very very short. In this file the moment the small spline gets shrinked to nothing, the Spline parameter gets broken for the other spline as well. [einar_mustache_factor_reset_2.blend](https://archive.blender.org/developer/F13223761/einar_mustache_factor_reset_2.blend) * Open file * Shrink the small hair until the other hair becomes thick out of nowhere. If you delete the shrinked hair, the other hair goes back to normal. **Complex file** [einar_mustache_factor_reset.blend](https://archive.blender.org/developer/F13223730/einar_mustache_factor_reset.blend) [einar_hair_factor_loss2.mp4](https://archive.blender.org/developer/F13223733/einar_hair_factor_loss2.mp4)
Author
Owner

Added subscriber: @dfelinto

Added subscriber: @dfelinto
Dalai Felinto changed title from Spline factor gets messed up if one hair is too short to Experimental Hair: Spline factor gets messed up if one hair is too short 2022-06-24 11:10:31 +02:00
Author
Owner

Added subscriber: @JacquesLucke
Removed subscriber: @dfelinto

Added subscriber: @JacquesLucke Removed subscriber: @dfelinto
Author
Owner

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Owner

This is actually a known issue.

The problem is that the Spline Parameter for every control point is ill-defined when all points have the same position. In those example files, that leads to the radii to be 0.0.

That affects the others, because the drawing at the moment can only use the same radius for all curves. Currently, that radius is taken from the first curve (that is arbitrary).
So when the first curve has bad radii, all curves will have bad radii, until the drawing code properly supports a separate radius per curve.

This is actually a known issue. The problem is that the Spline Parameter for every control point is ill-defined when all points have the same position. In those example files, that leads to the radii to be 0.0. That affects the others, because the drawing at the moment can only use the same radius for all curves. Currently, that radius is taken from the first curve (that is arbitrary). So when the first curve has bad radii, all curves will have bad radii, until the drawing code properly supports a separate radius per curve.
Author
Owner

The shrinking tool has an option that prevents this: Scaling > Minimum Length setting.

The shrinking tool has an option that prevents this: `Scaling > Minimum Length` setting.
Author
Owner

Added subscriber: @eyecandy

Added subscriber: @eyecandy

This issue was referenced by f1d191120f

This issue was referenced by f1d191120f4f1d762369b19bdbf8d9be29000d77
Author
Owner

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Dalai Felinto self-assigned this 2022-06-24 15:37:10 +02:00
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#99130
No description provided.