Hair dynamics don't work with smooth shading #71460

Closed
opened 2019-11-09 20:24:19 +01:00 by Joao Morgado · 9 comments

System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-07 20:33, hash: eefd806afc
Worked: Not sure

Short description of error
Hair dynamics on an animated object work fine if the object is flat shaded, but break when enabling smooth shading. The error looks like the root of the hairs move with the obejct but the rest of the hair stays in place.

Exact steps for others to reproduce the error

Start new scene
Select default cube
Add particle system and set it to hair
Enable "Hair Dynamics" in the particle settings
Animate the cube moving in any direction.
Play animation.

[At this point everything should work as intended. Cube will move and hair will dynamically follow along.]

Right click on cube and select "Shade smooth"
Play animation again

[Now the hair dynamics don't work and hairs appear to stretch as the root stay attached to the cube and the rest of the hairs stay in place.]

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.86 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-07 20:33, hash: `eefd806afc` Worked: Not sure **Short description of error** Hair dynamics on an animated object work fine if the object is flat shaded, but break when enabling smooth shading. The error looks like the root of the hairs move with the obejct but the rest of the hair stays in place. **Exact steps for others to reproduce the error** >Start new scene >Select default cube >Add particle system and set it to hair >Enable "Hair Dynamics" in the particle settings >Animate the cube moving in any direction. >Play animation. [At this point everything should work as intended. Cube will move and hair will dynamically follow along.] >Right click on cube and select "Shade smooth" >Play animation again [Now the hair dynamics don't work and hairs appear to stretch as the root stay attached to the cube and the rest of the hairs stay in place.]
Author

Added subscriber: @MrJoMo

Added subscriber: @MrJoMo
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Cannot reproduce here, see
#71460.blend

Do you see the issue in above file as well?
If not, please attach you file here...

Cannot reproduce here, see [#71460.blend](https://archive.blender.org/developer/F8031333/T71460.blend) Do you see the issue in above file as well? If not, please attach you file here...

Added subscriber: @grosgood

Added subscriber: @grosgood

Looks like #68681. I could not reproduce that bug because I have only AMD cards around here; the issue with #68681 and possibly this incident seems particular to NVIDIA cards.
[Edit]
Just tried it with @lichtwerk 's test file. Did not reproduce it; animation is correct with both smooth and flat shading. Suspect this is an NVIDIA specific issue; have only AMD cards here.

Looks like #68681. I could not reproduce that bug because I have only AMD cards around here; the issue with #68681 and possibly this incident seems particular to NVIDIA cards. [Edit] Just tried it with @lichtwerk 's test file. Did not reproduce it; animation is correct with both smooth and flat shading. Suspect this is an NVIDIA specific issue; have only AMD cards here.
Author

In #71460#808994, @lichtwerk wrote:
Cannot reproduce here, see
#71460.blend

Do you see the issue in above file as well?
If not, please attach you file here...

Hi Philipp. I do see the issue on this file. Attached is a video of opening the file and testing playback both with smooth shading and with flat shading. As you can see, smooth shading breaks the hair simulation.

Blender 2019-11-14 22-20-13.mp4

> In #71460#808994, @lichtwerk wrote: > Cannot reproduce here, see > [#71460.blend](https://archive.blender.org/developer/F8031333/T71460.blend) > > Do you see the issue in above file as well? > If not, please attach you file here... Hi Philipp. I do see the issue on this file. Attached is a video of opening the file and testing playback both with smooth shading and with flat shading. As you can see, smooth shading breaks the hair simulation. [Blender 2019-11-14 22-20-13.mp4](https://archive.blender.org/developer/F8084281/Blender_2019-11-14_22-20-13.mp4)
Author

Further testing appears to show that adjusting the number of particles fixes the problem. So for example, if instead of the default 1000, I change it to 999 or 1001, the the dynamics work again.

Further testing appears to show that adjusting the number of particles fixes the problem. So for example, if instead of the default 1000, I change it to 999 or 1001, the the dynamics work again.
Member

Thx all for getting back, it really looks like the same roots as #68681 (Hair Dynamics: simulation doesn't work depending on smooth/flat shaded surfaces (and nvidia gpus?)), will merge these reports...

Thx all for getting back, it really looks like the same roots as #68681 (Hair Dynamics: simulation doesn't work depending on smooth/flat shaded surfaces (and nvidia gpus?)), will merge these reports...
Member

Closed as duplicate of #68681

Closed as duplicate of #68681
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#71460
No description provided.