316 Commits

Author SHA1 Message Date
Irlan
73777b9f1a fix #38 and possibly #43 2018-06-26 17:50:00 -03:00
Irlan
93ac1faa7c bugfix 2018-06-24 21:25:41 -03:00
Irlan
1835d38373 fix #39 #42 2018-06-24 15:33:00 -03:00
Irlan
725b771d39 bugfixes 2018-06-21 15:21:40 -03:00
Irlan
c738267c2e fix #41 2018-06-16 11:21:49 -03:00
Irlan
39a23f7707 fix #40 2018-06-16 11:19:26 -03:00
Irlan
27e1cc25fe fix #37 2018-06-16 11:12:25 -03:00
Irlan
9c31fb41ee fix #36 2018-06-16 11:08:40 -03:00
Irlan
7bed29df5e remove default radius 2018-05-30 16:32:45 -03:00
Irlan
1babc1b406 initialize spring force 2018-05-30 15:35:53 -03:00
Irlan
0348d55d21 allow direct particle position alteration in order for mouse spring work 2018-05-30 15:29:45 -03:00
Irlan
caef3fede8 maintain the upper triangle of A, external particle/force creation/destruction, particle force abstraction, testbed update 2018-05-30 11:34:41 -03:00
Irlan
dba5ffbe06 through an acceleration constraint, the solver can remove acceleration from kinematic particles; consistency; in effect test update 2018-05-27 02:50:40 -03:00
Irlan
8abb45fd21 clean up 2018-05-27 02:44:01 -03:00
Irlan
a2fe1ab86c fix tension stepping 2018-05-26 01:41:18 -03:00
Irlan
43013ad80b now b3World is responsable for creating or destroying b3Cloth; clean up; update tests 2018-05-26 00:41:41 -03:00
Irlan
8d2affb0b2 typo, optimization, consistency 2018-05-25 22:15:00 -03:00
Irlan
03be41d05b correct summary of body types 2018-05-25 16:38:54 -03:00
Irlan
8b775361a9 store tension action force inside spring, make spring output force and derivative for abstraction, cleanup 2018-05-25 00:00:07 -03:00
Irlan
bb9839321d add a code to generate a sphere hull for testing and also for convenience 2018-05-24 23:58:15 -03:00
Irlan
5fa140a3de bugfixes 2018-05-24 19:11:05 -03:00
Irlan
79765fcaf3 clothing patterns 2018-05-24 19:04:01 -03:00
Irlan
8f106c8037 comment 2018-05-24 18:53:27 -03:00
Irlan
cc4e163064 Triangle assert 2018-05-24 18:53:16 -03:00
Irlan
2ea909e3c4 remove epsilon 2018-05-24 18:15:15 -03:00
Irlan
654d5c2b61 consistency 2018-05-24 18:14:46 -03:00
Irlan
1d2f31998f bugfix 2018-05-24 18:14:30 -03:00
Irlan
09ed4f7036 decrease tolerance for test work 2018-05-24 18:13:56 -03:00
Irlan
4ae3b7cc79 refactor cloth 2018-05-24 05:35:16 -03:00
Irlan
47a2c12160 use extension 2018-05-24 05:34:49 -03:00
Irlan
7437a45372 return active edge list while they are not stored 2018-05-24 05:33:01 -03:00
Irlan
109f23da49 add a small framework of garments, update the related tests 2018-05-23 03:54:02 -03:00
Irlan
aebe39143d centralize automatically generated cylinder and cone hulls 2018-05-23 03:49:39 -03:00
Irlan
4b5df1dfc2 change class to structure for consistency 2018-05-23 03:47:34 -03:00
Irlan
747e4ca158 improve reference grid drawing 2018-05-23 03:45:16 -03:00
Irlan
6d595599a6 now Bounce uses Triangle for 2D mesh generation 2018-05-23 03:44:53 -03:00
Irlan
804df66af0 add comment 2018-05-20 07:48:34 -03:00
Irlan
9ae2dc4788 print energy 2018-05-20 02:47:40 -03:00
Irlan
10f08147ce allow slop to prevent overshoot 2018-05-20 02:37:56 -03:00
Irlan
c91bfdb5d6 practical cg failure catch, rename epsilon to tolerance 2018-05-20 01:58:22 -03:00
Irlan
079e6eddca improve mpcg
This improved performance significantly in some small test systems.
2018-05-19 21:15:29 -03:00
Irlan
b202988d82 add diagonal matrix 2018-05-19 21:13:32 -03:00
Irlan
a251a9e180 add addition operation for two csr matrices 2018-05-19 21:13:09 -03:00
Irlan
1ccb411fb6 typo 2018-05-18 19:39:22 -03:00
Irlan
2f383fb958 test update
Test cloth mass type switching feature which allows the user to set some particles as static, kinematic, or dynamic.

Renamed SpringClothCollision to SpringClothContact for consistency.

Removed ShiftCenter test for visualizing the effects of external center of mass shifting. This probably must be moved into another folder since might scare the user.

Ordered some test entries such that experiments are the last defined. Those are not actually features of the library and probably must be removed from the testbed into a different project containing experiments.
2018-05-18 19:35:16 -03:00
Irlan
66228785fc kinematic cloth 2018-05-18 19:26:49 -03:00
Irlan
c949c001f4 put definition above function for consistency 2018-05-18 16:03:10 -03:00
Irlan
e68c50f1c9 find adjacent triangles while there is no specialized cloth mesh to test bending; draw strech springs instead of countouring triangles; modify contact frame creation 2018-05-18 15:51:22 -03:00
Irlan
f52b12dec6 generalization 2018-05-18 02:15:32 -03:00
Irlan
5a64ffea65 separate inf and nan checks 2018-05-18 02:03:00 -03:00