Commit Graph

24 Commits

Author SHA1 Message Date
cc5d062ca5 Enable shearing in test 2019-06-27 19:36:45 -03:00
0733ebd3be Added per triangle stretching force and damping. This gives more realistics results. Also updated the tests.
Saying goodbye to mass-spring system!
2019-06-26 20:30:33 -03:00
9189b6dfef Scale down the cloth triangles for rendering 2019-06-24 18:11:19 -03:00
7c1a72c572 Add b3GridClothMesh. Set particle friction to global cloth friction. Update the tests. Also simplified some code. 2019-06-21 10:58:04 -03:00
9765e72ab9 Better API naming. Enable self-collision by default. 2019-06-18 21:00:03 -03:00
46600010fe More consistency and pass velocity and position iterations to cloth constraint solver 2019-06-02 12:05:36 -03:00
1f65a9f79d update license headers 2019-02-26 16:41:28 -03:00
f98374143a refactoring 2018-10-08 16:18:28 -03:00
bea108510f use b3ClothMesh as a constant resource 2018-07-22 13:44:34 -03:00
7a1d50465c remove function 2018-07-18 16:58:21 -03:00
db54750a87 consistency 2018-06-29 22:43:35 -03:00
7bed29df5e remove default radius 2018-05-30 16:32:45 -03:00
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
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
a2fe1ab86c fix tension stepping 2018-05-26 01:41:18 -03:00
43013ad80b now b3World is responsable for creating or destroying b3Cloth; clean up; update tests 2018-05-26 00:41:41 -03:00
8b775361a9 store tension action force inside spring, make spring output force and derivative for abstraction, cleanup 2018-05-25 00:00:07 -03:00
4ae3b7cc79 refactor cloth 2018-05-24 05:35:16 -03:00
109f23da49 add a small framework of garments, update the related tests 2018-05-23 03:54:02 -03:00
c022d0726d render cloth mesh triangle segments 2018-05-03 20:13:26 -03:00
144c9cfc99 draw, camera, test
Remove an unecessary function that draws a triangle using per-vertex coloring

Cut camera implementation and paste into draw.cpp

Use per-triangle tension mapping
2018-04-12 14:20:56 -03:00
eb698f146a testbed, tests, ui 2018-04-12 01:50:22 -03:00
bd09b243c2 use mvc for the testbed, update almost all tests, bugfixes, improvements, cleanup
Since I started altering the testbed for better maintainability, I prefered to drop this (tested) large change with a single commit. Some changes below:

Put some globals in their correct place,

Now Testbed uses the MVC pattern (Model-View Controller). This way it becomes better to maintain than using no pattern  in my opinion.

Fixed some bugs in the debug draw interface.

Of course, updated almost all tests because of the differences.

Update script.
2018-04-10 00:57:14 -03:00
49f7b2f728 add tension mapping test 2018-04-08 21:38:09 -03:00