Blender Git Loki
Git Commits -> Revision bca2d61
Revision bca2d61 by Lukas Toenne (hair_system) August 24, 2014, 13:15 (GMT) |
Fix for meaningless position updates during the force integration loop. Setting the "next" state of positions inside that loop will overwrite its own result until the last iteration. The velocities are still integrated correctly though, only the position update was applied incorrectly. Force calculation was also using the larger original time step. The fix now exposes an awkward dependency of stiffness and damping values on the substep count. This is entirely expected, but it might be a good idea to scale user-defined values by the inverse timestep, so that results are comparable and can be tweaked more easily when increasing/decreasing substeps. |
Commit Details:
Full Hash: bca2d61018a5d2186b18a7f8200f7a2a252789fe
Parent Commit: 23a1209
Lines Changed: +4, -4
1 Modified Path:
/source/blender/hair/intern/HAIR_solver.cpp (+4, -4) (Diff)