Blender Git Loki

Blender Git "temp_constraint_volume" branch commits.

Page: 30 / 31

September 3, 2014, 21:49 (GMT)
Fixed implementation of the Conjugate Gradient method for the cloth
solver that properly supports constraints with some degrees-of-freedom.

The previous solver implementation only used the S matrix (constraint
filter matrix) for pinning vertices, in which case all elements are
zero and the error doesn't show up. With partial constraints (useful for
collision contacts) the matrix has non-zero off-diagonal elements and
the algorithm easily diverges.

There are also initial steps for implementing collision prevention as
described in the Baraff/Witkin paper "Large Steps in Cloth Simulation"
(http://www.cs.cmu.edu/~baraff/papers/sig98.pdf).
September 3, 2014, 15:12 (GMT)
Hair collision: Use the S matrix for enforcing contact constraints.

This is a first test, the contacts are very explosive atm because they
basically pin hair vertices globally on collision, which leads to
stretching of the springs which is then suddenly released in the next
frame.
September 3, 2014, 14:47 (GMT)
Minor corrections:

* Add some comments to better describe what some numbers mean
* Fix cuddliness and parent position of strips
September 3, 2014, 13:44 (GMT)
Preparation for collision code fixing.

Instead of handling contact tests and collision response in the same
function in collision.c, first generate contact points and return them
as a list, then free at the end of the stepping function. This way the
contact response can be integrated into the conjugate gradient method
properly instead of using the hackish and unstable double evaluation
that is currently used.
September 3, 2014, 11:43 (GMT)
Cleanup: added some comments to the members of Implicit_Data.
September 3, 2014, 10:27 (GMT)
Merge branch 'master' into terrible_consequencer
September 3, 2014, 09:45 (GMT)
Cleanup: No point in passing all the implicit solver arguments
individually.
September 3, 2014, 09:34 (GMT)
Cleanup: removed the unused olddV vectors from implicit solver data.
September 3, 2014, 09:21 (GMT)
Revert "Gooseberry feature request, allow select left-right strips
operator to select all"

This change has been in master all the time after all, exposed the
operation better in master.

This reverts commit 799f974668004b3d2b7873f51951eb22b5fcf2f3.
September 3, 2014, 09:20 (GMT)
Some more debug elements for hair collisions.
September 3, 2014, 09:17 (GMT)
Extended line/face collision near-check, to allow for distance margins.

The original BLI method for line/triangle intersection returns false
in case the line does not actually intersect, but in order to generate
repulsion forces we need to also handle contacts inside the margin.
September 2, 2014, 17:23 (GMT)
Gooseberry feature request, allow select left-right strips operator to
select all strips independently of channel of the active strip.
September 2, 2014, 16:20 (GMT)
Fix crash when setting parent.
September 2, 2014, 16:03 (GMT)
Merge branch 'master' into terrible_consequencer
September 2, 2014, 13:03 (GMT)
Fix bounce/repulse calculation.
September 2, 2014, 12:10 (GMT)
Hair debugging: use "categories" (strings) for grouping debug elements
and support clearing for categories.
September 2, 2014, 10:49 (GMT)
Fix for hair collision detection: need to use the second point of the
timestep segment.

This ensures the distance for a collision pair is the one of the current
point position, and the response gets calculated accordingly.
September 1, 2014, 16:49 (GMT)
Use repulsion forces in combination with the one-time penalty forces
in collision.
September 1, 2014, 16:47 (GMT)
Fix for crash when going into particle edit mode with baked hair
simulation.

Note that this currently generates an extreme amount of points, by
making a edit pathcache curve for each hair in every frame! But at least
doesn't simply crash now.
September 1, 2014, 16:46 (GMT)
Clear debug_data pointer in local cloth modifier data of the particle
systems on blend file load.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021