Commit Graph

54 Commits

Author SHA1 Message Date
09ed4f7036 decrease tolerance for test work 2018-05-24 18:13:56 -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
9ae2dc4788 print energy 2018-05-20 02:47:40 -03:00
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
df304a5bb8 highlight features 2018-05-12 20:36:23 -03:00
2e39ebd4e4 test 2018-05-09 18:11:34 -03:00
57f0370cd2 remove automatic convex hull generation to stress test quickhull 2018-05-09 05:57:43 -03:00
72662b1acd nice hull visualization 2018-05-09 05:44:31 -03:00
29c89ef4ee use concrete pointer 2018-05-03 21:54:02 -03:00
e42399c7a5 scale hull 2018-05-03 21:49:52 -03:00
fbc5f2ea55 control primitive drawing order 2018-05-03 20:17:14 -03:00
c022d0726d render cloth mesh triangle segments 2018-05-03 20:13:26 -03:00
5f2e8627d3 correct drawing order of primitives 2018-05-01 01:27:26 -03:00
dc12bd5c8e more tests 2018-04-29 23:33:43 -03:00
16d351ecac stress quickhull 2018-04-26 21:53:29 -03:00
b37d68ad0f simplify test 2018-04-24 21:53:52 -03:00
43f59409de generate convex hull/cluster using 'G' while the tests are running 2018-04-20 03:13:16 -03:00
f7364b70a6 remove old includes 2018-04-20 03:10:45 -03:00
16f5707c86 rename tests 2018-04-18 01:34:23 -03:00
4576f32a7c rename test 2018-04-18 01:13:04 -03:00
b85556a375 update tests 2018-04-17 01:59:14 -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
959ce6d92a update ui, tests 2018-04-10 22:19:03 -03:00
7ca7c1552c fix ray-cast test drawing 2018-04-10 13:54:08 -03:00
5441592c48 move a header file 2018-04-10 01:40:13 -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
052a85eb53 update tests
Allow dragging a spring cloth in all spring cloth tests related to the spring cloth

Use gravity acceleration in Earth in all spring cloth tests
2018-04-08 21:37:30 -03:00
63bc6c8674 rewrite profiler 2018-04-07 21:15:04 -03:00
9bb4314cea test update 2018-04-07 21:14:34 -03:00
54202454ea rename contact areas to contact polygons 2018-04-07 01:28:48 -03:00
5401e8aba2 cleanup 2018-04-06 22:07:35 -03:00
62e12d6205 cleanup 2018-04-06 21:54:13 -03:00
f11ec48adc add a test solution for #33 2018-04-06 16:35:37 -03:00
f26cd09f3a update an example that misuses rotation locking functionality 2018-04-05 22:09:59 -03:00
3c84b8f8f4 use grid mesh, backup and restore mass types 2018-04-03 23:27:12 -03:00
d080bfe9ea rename an experiment, prints energy 2018-04-03 15:03:01 -03:00
c1a5d1b93f fix #34 2018-04-02 13:06:32 -03:00
32c38a1a97 add cloth dragging test 2018-03-28 01:30:58 -03:00
f99b1422ef update a test 2018-03-26 16:05:41 -03:00
be812ed897 add collision (no friction) 2018-03-24 02:21:31 -03:00
2cbf9b56ed add baraff and witkin's mass-spring-based cloth 2018-03-23 15:29:47 -03:00
41aa214a40 add an experiment 2018-03-23 15:27:41 -03:00
5a80171744 improve contact clustering algorithm 2018-03-23 00:12:59 -03:00
c411bf341a add rope 2017-05-28 21:05:32 -03:00
bd69458750 rename function, remove indirection, fix bug 2017-04-11 16:35:18 -03:00
f924f70e76 add pendulum test (reduced coordinates), remove redundant assert 2017-04-04 20:56:10 -03:00
8defab9945 fix a lot of issues, add gyroscopic force integrator, add contact polygon winding, add some quaternion constraints, add more tests 2017-03-24 18:49:41 -03:00