Commit Graph

93 Commits

Author SHA1 Message Date
40093fcf2f improve CG performance using CSR matrix format 2018-04-02 12:47:56 -03:00
aec685f736 add dense vector and sparse matrix 2018-04-02 12:46:56 -03:00
615d243b14 separate square from rectangular matrices 2018-04-02 12:45:54 -03:00
d36d6da3b4 fix #31 2018-03-28 15:06:21 -03:00
32c38a1a97 add cloth dragging test 2018-03-28 01:30:58 -03:00
8c2df2f70c add a function to find barycentric coordinates wrt. triangle 2018-03-28 01:22:09 -03:00
cc425786bc comment 2018-03-28 01:14:45 -03:00
e22ed9852a bugfixes and improvements
Bugfixes:

Simplify and correct one derivation of a second derivative of energy function.

Clear dynamic variables for static shapes

Invalidate contact for a particle when its type switches from dynamic to static

Improvements:

Allow user to apply force to a particle

Allow user to displace a particle

Compute kinetic energy

Store the mass of each particle, not only its inverse. It can improve performance because the solver needs the masses most of the time for computations

Add some code to find shared and non-shared edges. These algorithms don't work for non-manifold meshes

Remove some unecessary temporaries decreasing code readability
2018-03-28 01:08:19 -03:00
6ee9213d04 bugfix 2018-03-26 18:16:34 -03:00
4d5c0644b3 typo 2018-03-26 17:00:11 -03:00
42c8a998fb store number of iterations 2018-03-26 16:59:04 -03:00
f99b1422ef update a test 2018-03-26 16:05:41 -03:00
a21d46ac64 add MCG without Jacobi preconditioning, delegate cloth solver to another class, ignore positive separation, improve contact handling, support different shapes
Specially, see b3SpringSolver.cpp for details.
2018-03-26 16:03:43 -03:00
3e55b28956 add collision detection routines for shape against sphere 2018-03-26 15:56:01 -03:00
be812ed897 add collision (no friction) 2018-03-24 02:21:31 -03:00
ffdc141aa1 add test for mass-spring based cloth 2018-03-23 15:37:19 -03:00
2cbf9b56ed add baraff and witkin's mass-spring-based cloth 2018-03-23 15:29:47 -03:00
cf92ff3339 print cloth mesh vertices 2018-03-23 15:28:22 -03:00
41aa214a40 add an experiment 2018-03-23 15:27:41 -03:00
5a80171744 improve contact clustering algorithm 2018-03-23 00:12:59 -03:00
3da2a25bd7 fix assert condition 2018-02-24 19:21:45 -03:00
c5eabe3b9c add a comment 2018-02-24 15:38:24 -03:00
94770d10bf switch from force to acceleration 2018-02-24 15:35:29 -03:00
a7a96e2678 Update building.txt 2018-02-24 10:51:58 -03:00
dc73b414b3 bugfixes 2017-11-25 14:48:32 -02:00
cd32a1c515 restored a file from 81f744b805 2017-11-25 13:16:40 -02:00
11596e5162 Return array capacity 2017-11-12 20:21:22 -02:00
ff00ab381e add screenshots to readme (request in issue #26) 2017-07-19 11:18:02 -03:00
c0a2b1159d add screenshots 2017-07-19 11:11:30 -03:00
e27deb2868 fix issue 26, switch to VS 2017, cleanup 2017-07-19 10:58:05 -03:00
8986ea00eb typo 2017-06-06 16:04:49 -03:00
8503c356a6 improve static tree construction 2017-06-06 16:02:48 -03:00
4ff1e7947f read 2017-06-04 14:25:08 -03:00
2760fb21d0 consistency 2017-06-04 14:15:55 -03:00
0b79b7283d consistency 2017-06-04 13:58:13 -03:00
8640a80914 clean up compiler warnings 2017-05-31 12:24:57 -03:00
5f55e5e1e3 Merge pull request #24 from hinrikg/master
Clean up MSVC /W4 warnings
2017-05-31 12:22:25 -03:00
b719e1d723 remove unused variable in b3Rope::Step 2017-05-31 14:21:08 +00:00
eb784a3526 clean up compiler warnings
Mark or remove unused parameters/variables. Rename variables that shadow
previous declarations. Add macro to generate unique identifiers and use
that for the profile scope variable name.
2017-05-31 13:42:00 +00:00
c411bf341a add rope 2017-05-28 21:05:32 -03:00
e0d2580fa1 switch from global to local damping 2017-04-12 10:54:28 -03:00
7a438d0fba add function 2017-04-12 09:49:32 -03:00
4c3eba7d18 fix issue 2017-04-11 17:06:46 -03:00
bd69458750 rename function, remove indirection, fix bug 2017-04-11 16:35:18 -03:00
d082c59754 fix raycast 2017-04-11 11:58:33 -03:00
005d2bc117 fix last merge 2017-04-07 11:06:10 -03:00
a6f45f9e22 Merge pull request #14 from Kazade/master
Fix issues with GCC + Clang on Linux/OSX
2017-04-07 10:25:03 -03:00
3dee299ba9 Make B3_FORCE_INLINE compatible with non-VC++ compilers 2017-04-07 13:20:57 +01:00
0af16fae5a Include cstdlib to provide access to std::abs for integral types 2017-04-07 13:16:40 +01:00
f924f70e76 add pendulum test (reduced coordinates), remove redundant assert 2017-04-04 20:56:10 -03:00