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
Irlan
2d5f3e4d78
comment for consistency
2018-05-17 17:01:47 -03:00
Irlan
3be2152264
remove preconditioning experiments; use preconditioning by default; write delta
2018-05-17 16:17:58 -03:00
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