264 Commits

Author SHA1 Message Date
Irlan
2fa4532b01 use delta instead of epsilon 2018-05-16 18:32:16 -03:00
Irlan
631048668f account for raddi in simplified sphere vs. hull test 2018-05-16 16:21:20 -03:00
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
4804e48f0b fix nan/inf check function 2018-05-16 02:04:31 -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
df304a5bb8 highlight features 2018-05-12 20:36:23 -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
2e39ebd4e4 test 2018-05-09 18:11:34 -03:00
Irlan
1dd59fd5b8 make polygon normal computation more robust 2018-05-09 14:48:58 -03:00
Irlan
57f0370cd2 remove automatic convex hull generation to stress test quickhull 2018-05-09 05:57:43 -03:00
Irlan
e2c9c5e423 more asserts, comment 2018-05-09 05:53:17 -03:00
Irlan
72662b1acd nice hull visualization 2018-05-09 05:44:31 -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
cd535f8c49 debug draw 2018-05-04 21:42:45 -03:00
Irlan
29c89ef4ee use concrete pointer 2018-05-03 21:54:02 -03:00
Irlan
e42399c7a5 scale hull 2018-05-03 21:49:52 -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
fbc5f2ea55 control primitive drawing order 2018-05-03 20:17:14 -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
c2b7e5b441 remove automatic solid triangle segment rendering 2018-05-03 20:11:29 -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
5f2e8627d3 correct drawing order of primitives 2018-05-01 01:27:26 -03:00
Irlan
0add130eea rename function 2018-04-30 15:51:42 -03:00
Irlan
dc12bd5c8e more tests 2018-04-29 23:33:43 -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