"Apply Scale" breaks hair particle systems #27647

Closed
opened 2011-06-13 12:34:05 +02:00 by Nik Prodanov · 5 comments
Member

%%%To reproduce:

  1. Make a default cube with a hair particle system
  2. Edit the hair in particle mode (comb once or twice)
  3. Scale down the cube
  4. Press "Apply Scale" on the cube

The hair will "grow" proportionately to how much the cube has been scaled down. This means that the "Apply Scale" function doesn't take hair size into account. There is a workaround for this if you disconnect the hair, apply scale, and then reconnect, but this is very unreliable as it often mangles up the combed hair once you reconnect it again on more complex meshes and setups (perhaps not enough float precision for this?). Even with the default cube you can see a slight shift in the hair position once you reconnect it after applying scale.%%%

%%%To reproduce: 1. Make a default cube with a hair particle system 2. Edit the hair in particle mode (comb once or twice) 3. Scale down the cube 4. Press "Apply Scale" on the cube The hair will "grow" proportionately to how much the cube has been scaled down. This means that the "Apply Scale" function doesn't take hair size into account. There is a workaround for this if you disconnect the hair, apply scale, and then reconnect, but this is very unreliable as it often mangles up the combed hair once you reconnect it again on more complex meshes and setups (perhaps not enough float precision for this?). Even with the default cube you can see a slight shift in the hair position once you reconnect it after applying scale.%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Member

%%%The tool "apply scale" changes the basic geometry of meshes, which is used by the particle code to define emission.
There's really a difference between Object size and the actual size of its geometry, these are two independent quantities.

What you probably mean is to have code to inversed correct (change) particle settings for this case. I'm not sure if that's even wanted or possible... but I'll ask the particle coder for final verdict!%%%

%%%The tool "apply scale" changes the basic geometry of meshes, which is used by the particle code to define emission. There's really a difference between Object size and the actual size of its geometry, these are two independent quantities. What you probably mean is to have code to inversed correct (change) particle settings for this case. I'm not sure if that's even wanted or possible... but I'll ask the particle coder for final verdict!%%%
Author
Member

%%%Thanks! Normally the proper solution for this would be to disconnect and reconnect the hair, except that it doesn't reconnect accurately after the scale has been applied. Perhaps it would be better to investigate that?%%%

%%%Thanks! Normally the proper solution for this would be to disconnect and reconnect the hair, except that it doesn't reconnect accurately after the scale has been applied. Perhaps it would be better to investigate that?%%%
Member

%%%Currently the actual mesh faces only determine the hair orientation and root location, but not the scale of the hair. There probably could be an option added to also take into account the face size, but for now this is not supported.

However there is a trick to get the result you want. So just like you had thought first disconnect the hair, scale the object down and then apply the scale. Now before reconnecting the hair go into particle mode and activate the hair point editing mode. Select all hair keys and scale the hair down the exact same amount you scaled the object (it's also best to snap the cursor to the object center and use that as the scaling origin). Exit particle mode and now connect the hair back. The result should be pretty identical to the original one, but with the scale applied correctly.

Closing the report.%%%

%%%Currently the actual mesh faces only determine the hair orientation and root location, but not the scale of the hair. There probably could be an option added to also take into account the face size, but for now this is not supported. However there is a trick to get the result you want. So just like you had thought first disconnect the hair, scale the object down and then apply the scale. Now before reconnecting the hair go into particle mode and activate the hair point editing mode. Select all hair keys and scale the hair down the exact same amount you scaled the object (it's also best to snap the cursor to the object center and use that as the scaling origin). Exit particle mode and now connect the hair back. The result should be pretty identical to the original one, but with the scale applied correctly. Closing the report.%%%
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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#27647
No description provided.