Commit Graph

16 Commits

Author SHA1 Message Date
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