[Bf-blender-cvs] [1819cbd] master: Debug printing code for large sparse vectors and matrices, to compare solver input/output of the old and new methods.

2015-01-20 Thread Lukas Tönne
Commit: 1819cbd02c2c92c80a74d6f5140e0b0ff8885d66 Author: Lukas Tönne Date: Wed Sep 10 16:04:31 2014 +0200 Branches: master https://developer.blender.org/rB1819cbd02c2c92c80a74d6f5140e0b0ff8885d66 Debug printing code for large sparse vectors and matrices, to compare solver input/output of the

[Bf-blender-cvs] [722fd30] master: Reimplemented Goal springs for the Eigen CG solver method.

2015-01-20 Thread Lukas Tönne
Commit: 722fd30a9feba8768f36a1f45c7b72bd852f5937 Author: Lukas Tönne Date: Fri Sep 5 17:07:30 2014 +0200 Branches: master https://developer.blender.org/rB722fd30a9feba8768f36a1f45c7b72bd852f5937 Reimplemented Goal springs for the Eigen CG solver method. Note that goal springs currently are

[Bf-blender-cvs] [ae162f6] master: Added a comment and use the new CG solver as the official version now.

2015-01-20 Thread Lukas Tönne
Commit: ae162f61e7d36c34babcfa1e8c4a63050c32b549 Author: Lukas Tönne Date: Thu Sep 4 09:26:40 2014 +0200 Branches: master https://developer.blender.org/rBae162f61e7d36c34babcfa1e8c4a63050c32b549 Added a comment and use the new CG solver as the official version now.

[Bf-blender-cvs] [8ec4c31] master: Disabled collision culling on the inside of the collider faces for now, this seems to remove too many contact points somehow ...

2015-01-20 Thread Lukas Tönne
Commit: 8ec4c31d9c454831d14b1be410fa765df4d96ca4 Author: Lukas Tönne Date: Thu Sep 4 15:06:15 2014 +0200 Branches: master https://developer.blender.org/rB8ec4c31d9c454831d14b1be410fa765df4d96ca4 Disabled collision culling on the inside of the collider faces for now, this seems to remove too

[Bf-blender-cvs] [b241f23] master: A couple of defines to disable various influences on the cloth sim for debugging.

2015-01-20 Thread Lukas Tönne
Commit: b241f23b19e023ee10b377b1504b1592f2f884d2 Author: Lukas Tönne Date: Wed Sep 10 16:59:22 2014 +0200 Branches: master https://developer.blender.org/rBb241f23b19e023ee10b377b1504b1592f2f884d2 A couple of defines to disable various influences on the cloth sim for debugging.

[Bf-blender-cvs] [93194eb] master: Fixed for hair collision detection, old/new positions were swapped.

2015-01-20 Thread Lukas Tönne
Commit: 93194eb0e983d99c0c4cad29bd4eb09a77fc5fbb Author: Lukas Tönne Date: Thu Sep 4 10:34:32 2014 +0200 Branches: master https://developer.blender.org/rB93194eb0e983d99c0c4cad29bd4eb09a77fc5fbb Fixed for hair collision detection, old/new positions were swapped.

[Bf-blender-cvs] [4bfd3c8] master: Fix for collision response, the impulse response was far too small.

2015-01-20 Thread Lukas Tönne
Commit: 4bfd3c8f0cb0b52b8748a07b3e8695a2c3063c64 Author: Lukas Tönne Date: Thu Sep 4 15:05:12 2014 +0200 Branches: master https://developer.blender.org/rB4bfd3c8f0cb0b52b8748a07b3e8695a2c3063c64 Fix for collision response, the impulse response was far too small.

[Bf-blender-cvs] [da01c88] master: Cleanup, removed unused old code.

2015-01-20 Thread Lukas Tönne
Commit: da01c884e54bc1546b2243c3517d50ff961859e9 Author: Lukas Tönne Date: Thu Sep 11 14:15:00 2014 +0200 Branches: master https://developer.blender.org/rBda01c884e54bc1546b2243c3517d50ff961859e9 Cleanup, removed unused old code.

[Bf-blender-cvs] [8163fca] master: Switched to the modified CG method that supports constraints, and added back structural stretch springs.

2015-01-20 Thread Lukas Tönne
Commit: 8163fca264f77d0ff0ce3325d3df0a581d9c3113 Author: Lukas Tönne Date: Mon Sep 8 19:03:39 2014 +0200 Branches: master https://developer.blender.org/rB8163fca264f77d0ff0ce3325d3df0a581d9c3113 Switched to the modified CG method that supports constraints, and added back structural stretch

[Bf-blender-cvs] [0f45f4a] master: Cleanup: added some comments to the members of Implicit_Data.

2015-01-20 Thread Lukas Tönne
Commit: 0f45f4a3e25437b1353982f081acc6a833e2fd01 Author: Lukas Tönne Date: Wed Sep 3 13:43:37 2014 +0200 Branches: master https://developer.blender.org/rB0f45f4a3e25437b1353982f081acc6a833e2fd01 Cleanup: added some comments to the members of Implicit_Data.

[Bf-blender-cvs] [c7932e9] master: Fixed bending forces for cloth springs.

2015-01-20 Thread Lukas Tönne
Commit: c7932e93fa55ea203b98b08f42cb9cba0c162e0e Author: Lukas Tönne Date: Wed Sep 10 19:14:38 2014 +0200 Branches: master https://developer.blender.org/rBc7932e93fa55ea203b98b08f42cb9cba0c162e0e Fixed bending forces for cloth springs.

[Bf-blender-cvs] [971419c] master: Reduced minimum for cloth solver substeps to 1.

2015-01-20 Thread Lukas Tönne
Commit: 971419c27d43ebf0383c691bcf8def561a1837fc Author: Lukas Tönne Date: Thu Sep 4 09:45:45 2014 +0200 Branches: master https://developer.blender.org/rB971419c27d43ebf0383c691bcf8def561a1837fc Reduced minimum for cloth solver substeps to 1. This is not very useful for artists, but helps with

[Bf-blender-cvs] [02ab74e] master: Better contact point near-test for hair.

2015-01-20 Thread Lukas Tönne
Commit: 02ab74eb5563a9ba18e3ebd947deffe81cb88409 Author: Lukas Tönne Date: Thu Sep 4 14:19:05 2014 +0200 Branches: master https://developer.blender.org/rB02ab74eb5563a9ba18e3ebd947deffe81cb88409 Better contact point near-test for hair. This simply uses the position above the triangle instead

[Bf-blender-cvs] [c6e5f6a] master: Fixed implementation of the Conjugate Gradient method for the cloth solver that properly supports constraints with some degrees-of-freedom.

2015-01-20 Thread Lukas Tönne
Commit: c6e5f6afe0072bebc1fe262e3a671ce2777b382f Author: Lukas Tönne Date: Wed Sep 3 23:49:24 2014 +0200 Branches: master https://developer.blender.org/rBc6e5f6afe0072bebc1fe262e3a671ce2777b382f Fixed implementation of the Conjugate Gradient method for the cloth solver that properly supports

[Bf-blender-cvs] [7896827] master: Reenabled air drag force for cloth sim.

2015-01-20 Thread Lukas Tönne
Commit: 7896827f75a1d78ce8b650fa3d8de17acbc0a525 Author: Lukas Tönne Date: Tue Sep 9 12:29:47 2014 +0200 Branches: master https://developer.blender.org/rB7896827f75a1d78ce8b650fa3d8de17acbc0a525 Reenabled air drag force for cloth sim.

[Bf-blender-cvs] [2410dc3] master: Removed unused variable.

2015-01-20 Thread Lukas Tönne
Commit: 2410dc32ffdec5ddae19f8c2d8ef2c7d9b0a7425 Author: Lukas Tönne Date: Thu Sep 11 18:32:26 2014 +0200 Branches: master https://developer.blender.org/rB2410dc32ffdec5ddae19f8c2d8ef2c7d9b0a7425 Removed unused variable. === M

[Bf-blender-cvs] [ac071de] master: Moved init/free functions for solver data out of implicit core.

2015-01-20 Thread Lukas Tönne
Commit: ac071de405e524c4a9af5a7da63e0354c655b3d0 Author: Lukas Tönne Date: Sun Sep 14 14:16:03 2014 +0200 Branches: master https://developer.blender.org/rBac071de405e524c4a9af5a7da63e0354c655b3d0 Moved init/free functions for solver data out of implicit core. This also initializes spring

[Bf-blender-cvs] [b9b784f] master: Moved the unused goal force calculation function to the main mass-spring source file.

2015-01-20 Thread Lukas Tönne
Commit: b9b784f039cf280b84175757219ae74603cb37a0 Author: Lukas Tönne Date: Sun Sep 14 17:47:22 2014 +0200 Branches: master https://developer.blender.org/rBb9b784f039cf280b84175757219ae74603cb37a0 Moved the unused goal force calculation function to the main mass-spring source file.

[Bf-blender-cvs] [5322def] master: Moved the cloth solver code into a new subfolder/library inside Blender code.

2015-01-20 Thread Lukas Tönne
Commit: 5322def57cdbb81d38c5ba8e8e617c697791d22b Author: Lukas Tönne Date: Sat Sep 13 14:36:46 2014 +0200 Branches: master https://developer.blender.org/rB5322def57cdbb81d38c5ba8e8e617c697791d22b Moved the cloth solver code into a new subfolder/library inside Blender code. The implicit solver

[Bf-blender-cvs] [58e33ab] master: Removed unused code.

2015-01-20 Thread Lukas Tönne
Commit: 58e33ab2798f4d0e997fce0283542dabd0f86c67 Author: Lukas Tönne Date: Mon Sep 15 14:22:36 2014 +0200 Branches: master https://developer.blender.org/rB58e33ab2798f4d0e997fce0283542dabd0f86c67 Removed unused code. Conflicts: source/blender/physics/intern/implicit_blender.c

[Bf-blender-cvs] [dd0a744] master: Main cloth force calculation function outside of implicit core code.

2015-01-20 Thread Lukas Tönne
Commit: dd0a7444d8e2bd3366fb91710bf4349aa5b69351 Author: Lukas Tönne Date: Sun Sep 14 19:36:33 2014 +0200 Branches: master https://developer.blender.org/rBdd0a7444d8e2bd3366fb91710bf4349aa5b69351 Main cloth force calculation function outside of implicit core code. Still misses spring forces.

[Bf-blender-cvs] [55a5351] master: First stage of implementing moving frames of reference for hair/cloth.

2015-01-20 Thread Lukas Tönne
Commit: 55a5351a03712503fc8e56952456751fdf9b7ac2 Author: Lukas Tönne Date: Thu Sep 11 17:53:25 2014 +0200 Branches: master https://developer.blender.org/rB55a5351a03712503fc8e56952456751fdf9b7ac2 First stage of implementing moving frames of reference for hair/cloth. This adds transformations

[Bf-blender-cvs] [2901d6a] master: Moved most of the main cloth solver function out of implicit code core.

2015-01-20 Thread Lukas Tönne
Commit: 2901d6ab2186ebcdd9b5614bcce0999f95dfe4f3 Author: Lukas Tönne Date: Sun Sep 14 17:36:53 2014 +0200 Branches: master https://developer.blender.org/rB2901d6ab2186ebcdd9b5614bcce0999f95dfe4f3 Moved most of the main cloth solver function out of implicit code core. Force calculation is

[Bf-blender-cvs] [0d60337] master: Renamed functions to make them explicitly refer to cloth, and split the create/free functions for solver data off from the cloth solver.

2015-01-20 Thread Lukas Tönne
Commit: 0d60337a83463cbd658038eed5f8efa2fa8a4de6 Author: Lukas Tönne Date: Sat Sep 13 18:45:58 2014 +0200 Branches: master https://developer.blender.org/rB0d60337a83463cbd658038eed5f8efa2fa8a4de6 Renamed functions to make them explicitly refer to cloth, and split the create/free functions for

[Bf-blender-cvs] [0f3cbf3] master: Transform the constraint matrix and target solver vector z according to the root frame transforms as well.

2015-01-20 Thread Lukas Tönne
Commit: 0f3cbf3f56a609451c669771ac0fdcda40dab1a8 Author: Lukas Tönne Date: Fri Sep 12 12:30:13 2014 +0200 Branches: master https://developer.blender.org/rB0f3cbf3f56a609451c669771ac0fdcda40dab1a8 Transform the constraint matrix and target solver vector z according to the root frame transforms

[Bf-blender-cvs] [b391e96] master: Option for disabling the root frame transformation altogether, mostly for testing.

2015-01-20 Thread Lukas Tönne
Commit: b391e963a98db4dded824e29e50147d754757a75 Author: Lukas Tönne Date: Fri Sep 12 11:22:39 2014 +0200 Branches: master https://developer.blender.org/rBb391e963a98db4dded824e29e50147d754757a75 Option for disabling the root frame transformation altogether, mostly for testing.

[Bf-blender-cvs] [8532cf2] master: Ignore velocity changes when the cloth solver does not converge.

2015-01-20 Thread Lukas Tönne
Commit: 8532cf206e21eb59743bf8de79d236fbd132c3ea Author: Lukas Tönne Date: Fri Sep 12 15:02:37 2014 +0200 Branches: master https://developer.blender.org/rB8532cf206e21eb59743bf8de79d236fbd132c3ea Ignore velocity changes when the cloth solver does not converge. This helps keep the simulation

[Bf-blender-cvs] [64de714] master: Hair volume calculation is now in its own file.

2015-01-20 Thread Lukas Tönne
Commit: 64de714a08e1f82e02bcc8f1dea1220f8a88ab39 Author: Lukas Tönne Date: Sun Sep 14 18:08:14 2014 +0200 Branches: master https://developer.blender.org/rB64de714a08e1f82e02bcc8f1dea1220f8a88ab39 Hair volume calculation is now in its own file. Code is currently disabled until the other main

[Bf-blender-cvs] [1c8a33a] master: Desperate attempt to get stable collisions: Disable restitution and handle only one collision contact at a time.

2015-01-20 Thread Lukas Tönne
Commit: 1c8a33ab92ce8935165be29d2fc93e459c191286 Author: Lukas Tönne Date: Fri Sep 12 16:46:47 2014 +0200 Branches: master https://developer.blender.org/rB1c8a33ab92ce8935165be29d2fc93e459c191286 Desperate attempt to get stable collisions: Disable restitution and handle only one collision

[Bf-blender-cvs] [e55d114] master: Added back external effector forces for the cloth solver.

2015-01-20 Thread Lukas Tönne
Commit: e55d11478d9089a2fcc9bc8d43872aac09e9e376 Author: Lukas Tönne Date: Wed Sep 10 23:11:56 2014 +0200 Branches: master https://developer.blender.org/rBe55d11478d9089a2fcc9bc8d43872aac09e9e376 Added back external effector forces for the cloth solver.

[Bf-blender-cvs] [d115bdb] master: Added new data in the cloth modifier for hair root information.

2015-01-20 Thread Lukas Tönne
Commit: d115bdb50510c2912ffedd22100e38a646827b52 Author: Lukas Tönne Date: Thu Sep 11 14:19:52 2014 +0200 Branches: master https://developer.blender.org/rBd115bdb50510c2912ffedd22100e38a646827b52 Added new data in the cloth modifier for hair root information. This will allow us to implement

[Bf-blender-cvs] [ace1b50] master: Reenabled goal springs and removed the arbitrary structural scaling factor.

2015-01-20 Thread Lukas Tönne
Commit: ace1b5050bbf0b28d5498fb0b4853f8b67155685 Author: Lukas Tönne Date: Wed Sep 10 21:06:01 2014 +0200 Branches: master https://developer.blender.org/rBace1b5050bbf0b28d5498fb0b4853f8b67155685 Reenabled goal springs and removed the arbitrary structural scaling factor.

[Bf-blender-cvs] [d91a4cd] master: Optimized matrix filling using the Eigen triplets method.

2015-01-20 Thread Lukas Tönne
Commit: d91a4cd1a18f6986984b18fe7ee94f8d999baad6 Author: Lukas Tönne Date: Thu Sep 11 11:14:11 2014 +0200 Branches: master https://developer.blender.org/rBd91a4cd1a18f6986984b18fe7ee94f8d999baad6 Optimized matrix filling using the Eigen triplets method. Otherwise the construction of matrices

[Bf-blender-cvs] [27ecda9] master: Use the S matrix of the modifier CG algorithm for implementing collision responses.

2015-01-20 Thread Lukas Tönne
Commit: 27ecda9995725f7e4b02211108be730b02530769 Author: Lukas Tönne Date: Thu Sep 4 14:22:22 2014 +0200 Branches: master https://developer.blender.org/rB27ecda9995725f7e4b02211108be730b02530769 Use the S matrix of the modifier CG algorithm for implementing collision responses. The S matrix

[Bf-blender-cvs] [c5038b1] master: Ported root frame transformation to the old cloth solver.

2015-01-20 Thread Lukas Tönne
Commit: c5038b12c3d06d34c121412ceac14c08dda75bb2 Author: Lukas Tönne Date: Fri Sep 12 10:26:43 2014 +0200 Branches: master https://developer.blender.org/rBc5038b12c3d06d34c121412ceac14c08dda75bb2 Ported root frame transformation to the old cloth solver.

[Bf-blender-cvs] [9f28ced] master: Implemented gradient transformation for forces in the root frame (dFdX, dFdV).

2015-01-20 Thread Lukas Tönne
Commit: 9f28ced7568e3b1402abffbb1ffc0144aeba53d1 Author: Lukas Tönne Date: Fri Sep 12 10:19:41 2014 +0200 Branches: master https://developer.blender.org/rB9f28ced7568e3b1402abffbb1ffc0144aeba53d1 Implemented gradient transformation for forces in the root frame (dFdX, dFdV).

[Bf-blender-cvs] [fc083b4] master: Preparation for collision code fixing.

2015-01-20 Thread Lukas Tönne
Commit: fc083b4e5b5052e57c6217967f455f620f0f5ae1 Author: Lukas Tönne Date: Wed Sep 3 15:44:03 2014 +0200 Branches: master https://developer.blender.org/rBfc083b4e5b5052e57c6217967f455f620f0f5ae1 Preparation for collision code fixing. Instead of handling contact tests and collision response in

[Bf-blender-cvs] [b8a9579] master: Removed own debug print.

2015-01-20 Thread Lukas Tönne
Commit: b8a9579954cf264a63d1c6754368bb2424bd9d26 Author: Lukas Tönne Date: Thu Sep 4 09:32:01 2014 +0200 Branches: master https://developer.blender.org/rBb8a9579954cf264a63d1c6754368bb2424bd9d26 Removed own debug print. === M

[Bf-blender-cvs] [6d4c704] master: Correctly implemented and verified gravity, drag, structural springs.

2015-01-20 Thread Lukas Tönne
Commit: 6d4c704f17596b05b50dbb8e34bdd25159f4ff2f Author: Lukas Tönne Date: Wed Sep 10 18:55:15 2014 +0200 Branches: master https://developer.blender.org/rB6d4c704f17596b05b50dbb8e34bdd25159f4ff2f Correctly implemented and verified gravity, drag, structural springs.

[Bf-blender-cvs] [74d6f31] master: Updated a few comments.

2015-01-20 Thread Lukas Tönne
Commit: 74d6f31879f9efedd79b60392e7345f14efd94d7 Author: Lukas Tönne Date: Thu Nov 6 15:08:25 2014 +0100 Branches: master https://developer.blender.org/rB74d6f31879f9efedd79b60392e7345f14efd94d7 Updated a few comments. === M

[Bf-blender-cvs] [46db288] master: Minor debug code fix.

2015-01-20 Thread Lukas Tönne
Commit: 46db2888327a212ef6b3bbb4d16360f7b9e563c7 Author: Lukas Tönne Date: Thu Nov 6 14:57:31 2014 +0100 Branches: master https://developer.blender.org/rB46db2888327a212ef6b3bbb4d16360f7b9e563c7 Minor debug code fix. Conflicts: source/blender/physics/intern/BPH_mass_spring.cpp

[Bf-blender-cvs] [325990f] master: Use dedicated debug values in cloth settings instead of abusing unused other values.

2015-01-20 Thread Lukas Tönne
Commit: 325990ff6e57bfbac9c3aab5d12f13670f9ef246 Author: Lukas Tönne Date: Fri Nov 14 16:48:01 2014 +0100 Branches: master https://developer.blender.org/rB325990ff6e57bfbac9c3aab5d12f13670f9ef246 Use dedicated debug values in cloth settings instead of abusing unused other values. Conflicts:

[Bf-blender-cvs] [e6b80eb] master: Fix for merge errors and leftover unused code lines.

2015-01-20 Thread Lukas Tönne
Commit: e6b80eb1798428913965e8ec3796a95944af157b Author: Lukas Tönne Date: Mon Jan 19 20:01:37 2015 +0100 Branches: master https://developer.blender.org/rBe6b80eb1798428913965e8ec3796a95944af157b Fix for merge errors and leftover unused code lines.

[Bf-blender-cvs] [a754c0a] master: Another fix for off-by-one hair grid resolution errors.

2015-01-20 Thread Lukas Tönne
Commit: a754c0af4088aaa7d1799351db1d03b9250a0d2e Author: Lukas Tönne Date: Thu Nov 13 16:05:17 2014 +0100 Branches: master https://developer.blender.org/rBa754c0af4088aaa7d1799351db1d03b9250a0d2e Another fix for off-by-one hair grid resolution errors.

[Bf-blender-cvs] [7740b16] master: Pampering the stupid MSVC compiler again, it fails to build valid C code.

2015-01-20 Thread Lukas Tönne
Commit: 7740b1671cf2bc6ed24c1d3479cbc08b2d8cbe5e Author: Lukas Tönne Date: Fri Nov 7 11:43:25 2014 +0100 Branches: master https://developer.blender.org/rB7740b1671cf2bc6ed24c1d3479cbc08b2d8cbe5e Pampering the stupid MSVC compiler again, it fails to build valid C code.

[Bf-blender-cvs] [1b6f5ec] master: Fix for invalid access to undefined hair data in edge-only cloth meshes.

2015-01-20 Thread Lukas Tönne
Commit: 1b6f5ecbf4aad9c6d4c58460b3e5596cd5f12399 Author: Lukas Tönne Date: Mon Dec 22 11:54:24 2014 +0100 Branches: master https://developer.blender.org/rB1b6f5ecbf4aad9c6d4c58460b3e5596cd5f12399 Fix for invalid access to undefined hair data in edge-only cloth meshes. Cloth data is used both

[Bf-blender-cvs] [5c7adf5] master: Improved force field effects on hair strands.

2015-01-20 Thread Lukas Tönne
Commit: 5c7adf5be25552d4d9847bc99b25207880573005 Author: Lukas Tönne Date: Tue Dec 16 19:40:29 2014 +0100 Branches: master https://developer.blender.org/rB5c7adf5be25552d4d9847bc99b25207880573005 Improved force field effects on hair strands. The previous calculation was modulated with the

[Bf-blender-cvs] [bb76e96] master: Presets for hair dynamics.

2015-01-20 Thread Lukas Tönne
Commit: bb76e96339ec26cafff57d5d7a8b015c4b1d6ef9 Author: Lukas Tönne Date: Fri Dec 19 14:56:02 2014 +0100 Branches: master https://developer.blender.org/rBbb76e96339ec26cafff57d5d7a8b015c4b1d6ef9 Presets for hair dynamics. This is necessary because the hair dynamics settings are not part of

[Bf-blender-cvs] [c86d55d] master: Curve-based control for child path tapering.

2015-01-20 Thread Lukas Tönne
Commit: c86d55d5e77674982a5d1760d8b895bb87af44f5 Author: Lukas Tönne Date: Fri Jan 9 14:24:19 2015 +0100 Branches: master https://developer.blender.org/rBc86d55d5e77674982a5d1760d8b895bb87af44f5 Curve-based control for child path tapering. This is an alternative method to the current fixed

[Bf-blender-cvs] [db2ac79] master: Radical simplification of the wind effect on hair, since the previous approach does not work very well.

2015-01-20 Thread Lukas Tönne
Commit: db2ac79fc7ca7d65a3e2912b4b6b5f1ec3b911fd Author: Lukas Tönne Date: Thu Dec 18 13:52:31 2014 +0100 Branches: master https://developer.blender.org/rBdb2ac79fc7ca7d65a3e2912b4b6b5f1ec3b911fd Radical simplification of the wind effect on hair, since the previous approach does not work very

[Bf-blender-cvs] [674c98b] master: Nicer hashing functionality for sim debugging using a variadic macro to support multiple hash identifiers.

2015-01-20 Thread Lukas Tönne
Commit: 674c98bd06a8d3752d750fb659b98ff5b9a238d8 Author: Lukas Tönne Date: Sun Nov 16 14:59:33 2014 +0100 Branches: master https://developer.blender.org/rB674c98bd06a8d3752d750fb659b98ff5b9a238d8 Nicer hashing functionality for sim debugging using a variadic macro to support multiple hash

[Bf-blender-cvs] [d031831] master: Randomness factor for hair bending stiffness.

2015-01-20 Thread Lukas Tönne
Commit: d031831a05b0717348df7747c251f623d0d61f55 Author: Lukas Tönne Date: Mon Nov 17 19:44:42 2014 +0100 Branches: master https://developer.blender.org/rBd031831a05b0717348df7747c251f623d0d61f55 Randomness factor for hair bending stiffness. This helps to create some variation in a hair

[Bf-blender-cvs] [1727a16] master: Properly register the `mathutils.interpolate` submodule.

2015-01-20 Thread Lukas Tönne
Commit: 1727a165dd165d2ce392e7a31691db19fb093a5f Author: Lukas Tönne Date: Wed Dec 31 09:58:47 2014 +0100 Branches: master https://developer.blender.org/rB1727a165dd165d2ce392e7a31691db19fb093a5f Properly register the `mathutils.interpolate` submodule.

[Bf-blender-cvs] [bd03372] master: Fix for particle instance modifier: use a stable parallel-transport framing method instead of the Frenet frame.

2015-01-20 Thread Lukas Tönne
Commit: bd033721c248a906a9734fa872ea7d075039aba9 Author: Lukas Tönne Date: Mon Nov 17 14:16:35 2014 +0100 Branches: master https://developer.blender.org/rBbd033721c248a906a9734fa872ea7d075039aba9 Fix for particle instance modifier: use a stable parallel-transport framing method instead of the

[Bf-blender-cvs] [e56bda4] master: Draw actual hair keys when the Guide Hair setting is enabled.

2015-01-20 Thread Lukas Tönne
Commit: e56bda4a02c5de5e2d0af0fcfa95c6f5929ac99a Author: Lukas Tönne Date: Thu Nov 13 15:15:02 2014 +0100 Branches: master https://developer.blender.org/rBe56bda4a02c5de5e2d0af0fcfa95c6f5929ac99a Draw actual hair keys when the Guide Hair setting is enabled. Without this certain debug tasks

[Bf-blender-cvs] [2da21b3] master: Inverted effect of target density was unstable, the divergence term needs to be substracted instead.

2015-01-20 Thread Lukas Tönne
Commit: 2da21b30aecc8b5d355aeb435173f98f2b25fd8c Author: Lukas Tönne Date: Fri Nov 14 17:11:33 2014 +0100 Branches: master https://developer.blender.org/rB2da21b30aecc8b5d355aeb435173f98f2b25fd8c Inverted effect of target density was unstable, the divergence term needs to be substracted

[Bf-blender-cvs] [790b931] master: Better update function for particle settings affecting nested cloth modifier.

2015-01-20 Thread Lukas Tönne
Commit: 790b9319560b0e974702f1671172a8daf6cd2a03 Author: Lukas Tönne Date: Tue Nov 18 10:37:34 2014 +0100 Branches: master https://developer.blender.org/rB790b9319560b0e974702f1671172a8daf6cd2a03 Better update function for particle settings affecting nested cloth modifier.

[Bf-blender-cvs] [9c660f1] master: Rewriting the grid rasterization function for hair segments.

2015-01-20 Thread Lukas Tönne
Commit: 9c660f18aca5d86a7e2f5818beabe9b3e0bc7ec7 Author: Lukas Tönne Date: Thu Nov 13 16:01:36 2014 +0100 Branches: master https://developer.blender.org/rB9c660f18aca5d86a7e2f5818beabe9b3e0bc7ec7 Rewriting the grid rasterization function for hair segments.

[Bf-blender-cvs] [3f3c19e] master: Another fix for particle instance child lookups, was not subtracting parent amount.

2015-01-20 Thread Lukas Tönne
Commit: 3f3c19e39142e861d8e2c492ebd902980503b620 Author: Lukas Tönne Date: Fri Nov 21 16:00:24 2014 +0100 Branches: master https://developer.blender.org/rB3f3c19e39142e861d8e2c492ebd902980503b620 Another fix for particle instance child lookups, was not subtracting parent amount.

[Bf-blender-cvs] [3b938f3] master: Fix for missing library linking in blenderplayer.

2015-01-20 Thread Lukas Tönne
Commit: 3b938f3d7fe6aadd8f1ab66acaf82dfe629d0ac1 Author: Lukas Tönne Date: Mon Dec 1 18:15:53 2014 +0100 Branches: master https://developer.blender.org/rB3b938f3d7fe6aadd8f1ab66acaf82dfe629d0ac1 Fix for missing library linking in blenderplayer.

[Bf-blender-cvs] [5238417] master: Some tweaking of value ranges for hair target density and removed density factor (already included in grid velocity).

2015-01-20 Thread Lukas Tönne
Commit: 52384179f4c5153a62d711d326a7f6a877508dbb Author: Lukas Tönne Date: Sat Nov 15 12:40:34 2014 +0100 Branches: master https://developer.blender.org/rB52384179f4c5153a62d711d326a7f6a877508dbb Some tweaking of value ranges for hair target density and removed density factor (already included

[Bf-blender-cvs] [c3c1950] master: Fix for invalid particle pointer access in mixed particle/child loop.

2015-01-20 Thread Lukas Tönne
Commit: c3c19509b3ecea26b49115cdc9a47f786ac76954 Author: Lukas Tönne Date: Thu Nov 20 17:15:16 2014 +0100 Branches: master https://developer.blender.org/rBc3c19509b3ecea26b49115cdc9a47f786ac76954 Fix for invalid particle pointer access in mixed particle/child loop.

[Bf-blender-cvs] [62d9aa0] master: Fix for grid drawing in 3D view, was using one less grid cell.

2015-01-20 Thread Lukas Tönne
Commit: 62d9aa05ab3db2c682184ecc500ef67ff8a5bd3b Author: Lukas Tönne Date: Mon Nov 10 11:34:36 2014 +0100 Branches: master https://developer.blender.org/rB62d9aa05ab3db2c682184ecc500ef67ff8a5bd3b Fix for grid drawing in 3D view, was using one less grid cell.

[Bf-blender-cvs] [b3cbafb] master: Implementation of a target density feature for the hair simulation.

2015-01-20 Thread Lukas Tönne
Commit: b3cbafb96630c370d1750fc8cb59053ddae0d6f2 Author: Lukas Tönne Date: Thu Nov 13 16:06:39 2014 +0100 Branches: master https://developer.blender.org/rBb3cbafb96630c370d1750fc8cb59053ddae0d6f2 Implementation of a target density feature for the hair simulation. This allows setting a target

[Bf-blender-cvs] [9f3a840] master: Removed unused old code.

2015-01-20 Thread Lukas Tönne
Commit: 9f3a840df2afe115defb2edb7266aaad154d212a Author: Lukas Tönne Date: Tue Jan 13 18:03:47 2015 +0100 Branches: master https://developer.blender.org/rB9f3a840df2afe115defb2edb7266aaad154d212a Removed unused old code. === M

[Bf-blender-cvs] [374188c] master: Disable the path length check for spiral kink mode.

2015-01-20 Thread Lukas Tönne
Commit: 374188cdfe42d050886826fc8fad92756d866cc6 Author: Lukas Tönne Date: Tue Jan 13 17:59:41 2015 +0100 Branches: master https://developer.blender.org/rB374188cdfe42d050886826fc8fad92756d866cc6 Disable the path length check for spiral kink mode. This test is terribly expensive for some

[Bf-blender-cvs] [90e46ae] master: Optional randomization factors for the spiral radius and axis orientation.

2015-01-20 Thread Lukas Tönne
Commit: 90e46ae6c007b30f1b2d124a5561ec4fbbf35bdf Author: Lukas Tönne Date: Tue Jan 13 19:41:25 2015 +0100 Branches: master https://developer.blender.org/rB90e46ae6c007b30f1b2d124a5561ec4fbbf35bdf Optional randomization factors for the spiral radius and axis orientation.

[Bf-blender-cvs] [c230691] master: Optional clumping noise feature for simulating twisted hair strands.

2015-01-20 Thread Lukas Tönne
Commit: c2306919b7cafdf4dbca876a4fea2f9f0681ef78 Author: Lukas Tönne Date: Mon Jan 12 16:03:12 2015 +0100 Branches: master https://developer.blender.org/rBc2306919b7cafdf4dbca876a4fea2f9f0681ef78 Optional clumping noise feature for simulating twisted hair strands. This adds another level of

[Bf-blender-cvs] [6edeb43] master: Nicer calculation of the kink axis and result of the spiraling for negative radius.

2015-01-20 Thread Lukas Tönne
Commit: 6edeb43c16670c2d5ee6896b33880e6597192b74 Author: Lukas Tönne Date: Tue Jan 13 18:37:24 2015 +0100 Branches: master https://developer.blender.org/rB6edeb43c16670c2d5ee6896b33880e6597192b74 Nicer calculation of the kink axis and result of the spiraling for negative radius.

[Bf-blender-cvs] [4c82367] master: Moved kink, clump and roughness functions into the dedicated source file.

2015-01-20 Thread Lukas Tönne
Commit: 4c82367fd8c69da7d5b1c4f418ed8e09a2747390 Author: Lukas Tönne Date: Fri Jan 9 11:44:05 2015 +0100 Branches: master https://developer.blender.org/rB4c82367fd8c69da7d5b1c4f418ed8e09a2747390 Moved kink, clump and roughness functions into the dedicated source file.

[Bf-blender-cvs] [307c4a4] master: Another crappy approach to spirals on hairs, crazy expensive though.

2015-01-20 Thread Lukas Tönne
Commit: 307c4a4df92cdde64b39e7fe28ab2db80355025f Author: Lukas Tönne Date: Tue Jan 13 17:24:20 2015 +0100 Branches: master https://developer.blender.org/rB307c4a4df92cdde64b39e7fe28ab2db80355025f Another crappy approach to spirals on hairs, crazy expensive though. Conflicts:

[Bf-blender-cvs] [76c7d69] master: Support in Cycles for the extra spiral keys in hair paths.

2015-01-20 Thread Lukas Tönne
Commit: 76c7d693d98f3b1e69fc42e7c3124761bf9b06a0 Author: Lukas Tönne Date: Tue Jan 13 19:18:46 2015 +0100 Branches: master https://developer.blender.org/rB76c7d693d98f3b1e69fc42e7c3124761bf9b06a0 Support in Cycles for the extra spiral keys in hair paths.

[Bf-blender-cvs] [14af65b] master: Fix for calculation of the key velocity on the last child hair segment.

2015-01-20 Thread Lukas Tönne
Commit: 14af65b3ef499ed50c5de90102ade7187cbb9db9 Author: Lukas Tönne Date: Tue Jan 13 17:28:53 2015 +0100 Branches: master https://developer.blender.org/rB14af65b3ef499ed50c5de90102ade7187cbb9db9 Fix for calculation of the key velocity on the last child hair segment.

[Bf-blender-cvs] [d124696] master: Curve-based control for roughness (noise displacement) of child hair.

2015-01-20 Thread Lukas Tönne
Commit: d1246969ed59ac36ffa332c283fb9d89f365a2b4 Author: Lukas Tönne Date: Fri Jan 9 15:58:18 2015 +0100 Branches: master https://developer.blender.org/rBd1246969ed59ac36ffa332c283fb9d89f365a2b4 Curve-based control for roughness (noise displacement) of child hair.

[Bf-blender-cvs] [4f1c0a1] master: Reorganizing hair child code a little bit to make it not totally insane.

2015-01-20 Thread Lukas Tönne
Commit: 4f1c0a181df871f3177a5eaad55545ac6f5edcf2 Author: Lukas Tönne Date: Fri Jan 9 11:31:00 2015 +0100 Branches: master https://developer.blender.org/rB4f1c0a181df871f3177a5eaad55545ac6f5edcf2 Reorganizing hair child code a little bit to make it not totally insane. This contains a few pieces

[Bf-blender-cvs] [b292d78] master: Separate context freeing from task freeing in threaded particle updates to prevent double-freeing/invalid mem access.

2015-01-20 Thread Lukas Tönne
Commit: b292d783f28958a54f608375e6e99a92be5522d6 Author: Lukas Tönne Date: Thu Jan 8 12:40:27 2015 +0100 Branches: master https://developer.blender.org/rBb292d783f28958a54f608375e6e99a92be5522d6 Separate context freeing from task freeing in threaded particle updates to prevent

[Bf-blender-cvs] [64a4d4e] master: Fix for particle instance initial frames.

2015-01-20 Thread Lukas Tönne
Commit: 64a4d4ed2564e8a0dad6bfc1117812b2feabbfa8 Author: Lukas Tönne Date: Mon Nov 17 17:45:21 2014 +0100 Branches: master https://developer.blender.org/rB64a4d4ed2564e8a0dad6bfc1117812b2feabbfa8 Fix for particle instance initial frames. These were not orthonormal and tended to flip with

[Bf-blender-cvs] [faa112c] master: Fixed wrong stride values used for offsetting the index of Eigen values.

2015-01-20 Thread Lukas Tönne
Commit: faa112cd27bbce2498910e551373a37437513f7a Author: Lukas Tönne Date: Fri Nov 14 15:51:23 2014 +0100 Branches: master https://developer.blender.org/rBfaa112cd27bbce2498910e551373a37437513f7a Fixed wrong stride values used for offsetting the index of Eigen values. The Eigen solver for hair

[Bf-blender-cvs] [9bf7633] master: Spiral kink mode for particles.

2015-01-20 Thread Lukas Tönne
Commit: 9bf763393603a987aa95033b2da78cea501d699b Author: Lukas Tönne Date: Mon Jan 12 20:24:50 2015 +0100 Branches: master https://developer.blender.org/rB9bf763393603a987aa95033b2da78cea501d699b Spiral kink mode for particles. This is BAD code, but the particle kinking does not make it easy

[Bf-blender-cvs] [04226e3] master: Added space selection option to the particle system copy operator.

2015-01-20 Thread Lukas Tönne
Commit: 04226e324ee7d761d8a77dfdca4abc3933864f15 Author: Lukas Tönne Date: Thu Jan 15 20:36:51 2015 +0100 Branches: master https://developer.blender.org/rB04226e324ee7d761d8a77dfdca4abc3933864f15 Added space selection option to the particle system copy operator. By default this now copies from

[Bf-blender-cvs] [6c90879] master: Allow clumping and roughness in Spiral kink mode as well.

2015-01-20 Thread Lukas Tönne
Commit: 6c908790e7c2659d99bee6179943269b023a96a6 Author: Lukas Tönne Date: Tue Jan 13 20:58:28 2015 +0100 Branches: master https://developer.blender.org/rB6c908790e7c2659d99bee6179943269b023a96a6 Allow clumping and roughness in Spiral kink mode as well. This requires interpolating the parent

[Bf-blender-cvs] [6d65107] master: Make removal of existing particle systems on copying optional.

2015-01-20 Thread Lukas Tönne
Commit: 6d65107656f0ac23ff7b8c2f7927e417400438f8 Author: Lukas Tönne Date: Fri Jan 16 11:07:00 2015 +0100 Branches: master https://developer.blender.org/rB6d65107656f0ac23ff7b8c2f7927e417400438f8 Make removal of existing particle systems on copying optional. This will be most useful when

[Bf-blender-cvs] [967f93d] master: Fix error in freestyle api

2015-01-20 Thread Campbell Barton
Commit: 967f93d1c141ee0b32942f854a51605e004aade1 Author: Campbell Barton Date: Tue Jan 20 19:53:29 2015 +1100 Branches: master https://developer.blender.org/rB967f93d1c141ee0b32942f854a51605e004aade1 Fix error in freestyle api ===

[Bf-blender-cvs] [7f21913] master: Disable scope updates in texture and image paint modes.

2015-01-20 Thread Lukas Tönne
Commit: 7f219137cf13003143f5d671b6c59bc500b53f75 Author: Lukas Tönne Date: Mon Jan 12 14:21:23 2015 +0100 Branches: master https://developer.blender.org/rB7f219137cf13003143f5d671b6c59bc500b53f75 Disable scope updates in texture and image paint modes. Scope update is very slow for high

[Bf-blender-cvs] [4cd6111] master: Code cleanup: Use a variable-sized array for the hair volume velocity smoothing and collision code, split into multiple functions.

2015-01-20 Thread Lukas Tönne
Commit: 4cd659715f8efb52d7ce38f99d0bdb8f0cb5 Author: Lukas Tönne Date: Tue Aug 26 18:10:12 2014 +0200 Branches: master https://developer.blender.org/rB4cd659715f8efb52d7ce38f99d0bdb8f0cb5 Code cleanup: Use a variable-sized array for the hair volume velocity smoothing and collision code,

[Bf-blender-cvs] [d8cf12f] master: Debug drawing for simulations, to aid in visualizing abstract data such as forces, velocities, contact points etc.

2015-01-20 Thread Lukas Tönne
Commit: d8cf12fe5a18309e968ffc3b326d70554013b5a7 Author: Lukas Tönne Date: Sat Aug 30 17:54:36 2014 +0200 Branches: master https://developer.blender.org/rBd8cf12fe5a18309e968ffc3b326d70554013b5a7 Debug drawing for simulations, to aid in visualizing abstract data such as forces, velocities,

[Bf-blender-cvs] [67fdd5e] master: Fix for crash when going into particle edit mode with baked hair simulation.

2015-01-20 Thread Lukas Tönne
Commit: 67fdd5e01a8207c099c356895a61f41b7142eb5f Author: Lukas Tönne Date: Mon Sep 1 18:47:27 2014 +0200 Branches: master https://developer.blender.org/rB67fdd5e01a8207c099c356895a61f41b7142eb5f Fix for crash when going into particle edit mode with baked hair simulation. Note that this

[Bf-blender-cvs] [345c7b1] master: Fixed hair velocity smoothing.

2015-01-20 Thread Lukas Tönne
Commit: 345c7b144d0ddeb6dbf2b7ba77ae9ac89b8c9671 Author: Lukas Tönne Date: Wed Aug 27 18:12:51 2014 +0200 Branches: master https://developer.blender.org/rB345c7b144d0ddeb6dbf2b7ba77ae9ac89b8c9671 Fixed hair velocity smoothing. This is an important hair interaction feature that simulates

[Bf-blender-cvs] [f98d388] master: Extended line/face collision near-check, to allow for distance margins.

2015-01-20 Thread Lukas Tönne
Commit: f98d388fd3b6225101692de994d6497b3be5 Author: Lukas Tönne Date: Wed Sep 3 11:17:24 2014 +0200 Branches: master https://developer.blender.org/rBf98d388fd3b6225101692de994d6497b3be5 Extended line/face collision near-check, to allow for distance margins. The original BLI method for

[Bf-blender-cvs] [70df8f8] master: Fix for hair collision detection: need to use the second point of the timestep segment.

2015-01-20 Thread Lukas Tönne
Commit: 70df8f8dd6aae2b861852acf7b758b3224623504 Author: Lukas Tönne Date: Tue Sep 2 12:49:55 2014 +0200 Branches: master https://developer.blender.org/rB70df8f8dd6aae2b861852acf7b758b3224623504 Fix for hair collision detection: need to use the second point of the timestep segment. This

[Bf-blender-cvs] [d43f760] master: Hair debugging: use categories (strings) for grouping debug elements and support clearing for categories.

2015-01-20 Thread Lukas Tönne
Commit: d43f7608923bb3ff84c5eed0631d0457d68416e0 Author: Lukas Tönne Date: Tue Sep 2 14:10:28 2014 +0200 Branches: master https://developer.blender.org/rBd43f7608923bb3ff84c5eed0631d0457d68416e0 Hair debugging: use categories (strings) for grouping debug elements and support clearing for

[Bf-blender-cvs] [b331a82] master: Support for various data properties of the hair grid in the voxel texture.

2015-01-20 Thread Lukas Tönne
Commit: b331a82910da04b684d680ec94abbf93efbd0696 Author: Lukas Tönne Date: Wed Aug 27 14:11:49 2014 +0200 Branches: master https://developer.blender.org/rBb331a82910da04b684d680ec94abbf93efbd0696 Support for various data properties of the hair grid in the voxel texture.

[Bf-blender-cvs] [ba8b8ec] master: Implemented internal hair pressure to prevent hair from collapsing in on itself.

2015-01-20 Thread Lukas Tönne
Commit: ba8b8ec99870e61ba7496b3c55795e5acf9bd573 Author: Lukas Tönne Date: Thu Aug 28 14:55:55 2014 +0200 Branches: master https://developer.blender.org/rBba8b8ec99870e61ba7496b3c55795e5acf9bd573 Implemented internal hair pressure to prevent hair from collapsing in on itself. This uses the

[Bf-blender-cvs] [f757364] master: Clear debug_data pointer in local cloth modifier data of the particle systems on blend file load.

2015-01-20 Thread Lukas Tönne
Commit: f757364fc01b1d16123898bbfa8c6f40e8c1647d Author: Lukas Tönne Date: Mon Sep 1 18:46:32 2014 +0200 Branches: master https://developer.blender.org/rBf757364fc01b1d16123898bbfa8c6f40e8c1647d Clear debug_data pointer in local cloth modifier data of the particle systems on blend file load.

[Bf-blender-cvs] [e9849bd] master: Cleanup: removed the unused olddV vectors from implicit solver data.

2015-01-20 Thread Lukas Tönne
Commit: e9849bdf17cb620a3f8afd814fe5286ef032a941 Author: Lukas Tönne Date: Wed Sep 3 11:34:40 2014 +0200 Branches: master https://developer.blender.org/rBe9849bdf17cb620a3f8afd814fe5286ef032a941 Cleanup: removed the unused olddV vectors from implicit solver data.

[Bf-blender-cvs] [c6db1d0] master: Cleanup: No point in passing all the implicit solver arguments individually.

2015-01-20 Thread Lukas Tönne
Commit: c6db1d085831bab48bbfea25fbfcc9b813498743 Author: Lukas Tönne Date: Wed Sep 3 11:45:20 2014 +0200 Branches: master https://developer.blender.org/rBc6db1d085831bab48bbfea25fbfcc9b813498743 Cleanup: No point in passing all the implicit solver arguments individually.

[Bf-blender-cvs] [ccad968] master: Some more debug elements for hair collisions.

2015-01-20 Thread Lukas Tönne
Commit: ccad968e26d4229f2bb35df59c14f184dda61eb3 Author: Lukas Tönne Date: Wed Sep 3 11:20:32 2014 +0200 Branches: master https://developer.blender.org/rBccad968e26d4229f2bb35df59c14f184dda61eb3 Some more debug elements for hair collisions.

[Bf-blender-cvs] [a580be6] master: Use repulsion forces in combination with the one-time penalty forces in collision.

2015-01-20 Thread Lukas Tönne
Commit: a580be63996ed5aa5ab7b077cdf9806537e50deb Author: Lukas Tönne Date: Mon Sep 1 18:49:53 2014 +0200 Branches: master https://developer.blender.org/rBa580be63996ed5aa5ab7b077cdf9806537e50deb Use repulsion forces in combination with the one-time penalty forces in collision.

[Bf-blender-cvs] [5a43e84] master: Some initial collision code, without actual response forces still.

2015-01-20 Thread Lukas Tönne
Commit: 5a43e8493e3851d076365dc106e0fa18ab21eebe Author: Lukas Tönne Date: Sat Aug 30 15:23:40 2014 +0200 Branches: master https://developer.blender.org/rB5a43e8493e3851d076365dc106e0fa18ab21eebe Some initial collision code, without actual response forces still. This is still using the old BVH

[Bf-blender-cvs] [dbf7840] master: Fix bounce/repulse calculation.

2015-01-20 Thread Lukas Tönne
Commit: dbf78406435b0ebed9fa69d3d1a96c083098b29c Author: Lukas Tönne Date: Tue Sep 2 15:03:15 2014 +0200 Branches: master https://developer.blender.org/rBdbf78406435b0ebed9fa69d3d1a96c083098b29c Fix bounce/repulse calculation. ===

  1   2   3   >