209 Commits

Author SHA1 Message Date
Irlan
69ee19ffac simplify preconditioning the system matrix, bugfix 2018-05-16 16:18:00 -03:00
Irlan Robson
7e7935c28a
comments 2018-05-16 02:36:42 -03:00
Irlan Robson
d99711e749
comment 2018-05-16 02:29:24 -03:00
Irlan
d8826c751e correctly initiate/terminate contact constraints 2018-05-16 02:08:45 -03:00
Irlan
b8ca0d3829 better logic for tension contribution 2018-05-14 13:08:31 -03:00
Irlan
ba544379c5 solve the instability problem in cloth solver
Make our model support tension forces only. Compression might be handled separately, or by using the original formulation.

Ensure positive definiteness of matrix.
2018-05-13 20:25:20 -03:00
Irlan
b89faee90d contour polygons not triangles 2018-05-13 16:12:14 -03:00
Irlan
15b8ea3f42 remove unecessary initialization; add two comments 2018-05-13 13:28:27 -03:00
Irlan
3dc3a20024 bugfix 2018-05-13 13:18:29 -03:00
Irlan
569a555bde allow toggling convex hull simplification at run-time in order to expected convex hull creation work 2018-05-12 21:56:11 -03:00
Irlan
ddd9913a37 return 2018-05-12 20:12:31 -03:00
Irlan
096747a49d better face error handler 2018-05-12 19:58:34 -03:00
Irlan
59990ed981 memleak 2018-05-11 03:41:17 -03:00
Irlan
b8ece1356f memleak 2018-05-11 03:25:57 -03:00
Irlan
179bb2a146 decrease merge tolerance 2018-05-11 03:21:47 -03:00
Irlan
6c136123d9 face merging control in convex hull simplification; more asserts; consistency; now user can pass arbitrary number of vertices to b3QHull 2018-05-11 03:14:17 -03:00
Irlan
4da08af7fa typo, ensure polygon convexity 2018-05-09 22:33:10 -03:00
Irlan
1dd59fd5b8 make polygon normal computation more robust 2018-05-09 14:48:58 -03:00
Irlan
e2c9c5e423 more asserts, comment 2018-05-09 05:53:17 -03:00
Irlan
0fc1751ca1 maintain essential topological invariants 2018-05-09 05:44:09 -03:00
Irlan
3f5494211d control hull simplification 2018-05-09 05:43:28 -03:00
Irlan
97d7f99ce4 wireframe triangle rendering is implemented 2018-05-09 05:42:34 -03:00
Irlan
4a962b6a52 verify hull face is a polygon 2018-05-09 05:41:17 -03:00
Irlan
ba224cda73 rename function 2018-05-04 21:43:10 -03:00
Irlan
a55b621489 simplify hulls in dual space 2018-05-03 21:46:45 -03:00
Irlan
10c01c8fcf in case heuristic overlapping test fails fallback to common overlapping test; create edge contact if hull is not simplified 2018-05-03 21:45:00 -03:00
Irlan
f6ba27cbf3 translate the hull; invalid catch 2018-05-03 21:43:38 -03:00
Irlan
9eb1a5b481 rename function 2018-05-03 20:13:51 -03:00
Irlan
c022d0726d render cloth mesh triangle segments 2018-05-03 20:13:26 -03:00
Irlan
945c4c413d bugfix 2018-05-01 05:11:39 -03:00
Irlan
883cc9059f make convex hull creation easier for the user 2018-05-01 04:49:53 -03:00
Irlan
6550a92e4b bugfix 2018-05-01 03:56:41 -03:00
Irlan
0add130eea rename function 2018-04-30 15:51:42 -03:00
Irlan
f3c263111b simplify qhull to hull conversion 2018-04-29 22:35:40 -03:00
Irlan
c9f0b0cf93 moved SAT code into collision module 2018-04-29 22:27:41 -03:00
Irlan
80ac01f13d abstraction 2018-04-29 00:06:24 -03:00
Irlan
16ea548248 typo 2018-04-27 04:22:40 -03:00
Irlan
a63ae74ef7 use hull vertex list 2018-04-27 04:18:13 -03:00
Irlan
abc5f59170 bugfix; operations 2018-04-27 03:32:20 -03:00
Irlan
bd490d7925 consistency 2018-04-27 02:38:38 -03:00
Irlan
c3b55d3323 consistency 2018-04-27 01:01:47 -03:00
Irlan
cd6c7e188a initialize time-step statistics in a world; rename profile function 2018-04-26 23:51:20 -03:00
Irlan
63ae84770f bugfixes 2018-04-26 21:30:48 -03:00
Irlan
2478c3d87f bugfix 2018-04-26 19:00:10 -03:00
Irlan
b7e95f2eab remove unecessary check 2018-04-26 01:56:06 -03:00
Irlan
f882c8c68e fix #35; check edge validity; 2018-04-26 00:46:36 -03:00
Irlan
534448ea60 refactoring 2018-04-25 22:00:20 -03:00
Irlan
4f27966147 simplification 2018-04-24 22:03:22 -03:00
Irlan
47c34ceda1 iteratively find the horizon, ensure ordered horizon 2018-04-24 21:53:11 -03:00
Irlan
68f3cdabf3 rename a variable 2018-04-23 01:15:59 -03:00