Irlan
1babc1b406
initialize spring force
2018-05-30 15:35:53 -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
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
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
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
4ae3b7cc79
refactor cloth
2018-05-24 05:35:16 -03:00
Irlan
47a2c12160
use extension
2018-05-24 05:34:49 -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
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
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
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
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