82 Commits

Author SHA1 Message Date
Irlan
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
Irlan
eb698f146a testbed, tests, ui 2018-04-12 01:50:22 -03:00
Irlan
959ce6d92a update ui, tests 2018-04-10 22:19:03 -03:00
Irlan
7ca7c1552c fix ray-cast test drawing 2018-04-10 13:54:08 -03:00
Irlan
5441592c48 move a header file 2018-04-10 01:40:13 -03:00
Irlan
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
Irlan
49f7b2f728 add tension mapping test 2018-04-08 21:38:09 -03:00
Irlan
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
Irlan
63bc6c8674 rewrite profiler 2018-04-07 21:15:04 -03:00
Irlan
9bb4314cea test update 2018-04-07 21:14:34 -03:00
Irlan
54202454ea rename contact areas to contact polygons 2018-04-07 01:28:48 -03:00
Irlan
5401e8aba2 cleanup 2018-04-06 22:07:35 -03:00
Irlan
62e12d6205 cleanup 2018-04-06 21:54:13 -03:00
Irlan
f11ec48adc add a test solution for #33 2018-04-06 16:35:37 -03:00
Irlan
f26cd09f3a update an example that misuses rotation locking functionality 2018-04-05 22:09:59 -03:00
Irlan
3c84b8f8f4 use grid mesh, backup and restore mass types 2018-04-03 23:27:12 -03:00
Irlan
d080bfe9ea rename an experiment, prints energy 2018-04-03 15:03:01 -03:00
Irlan
c1a5d1b93f fix #34 2018-04-02 13:06:32 -03:00
Irlan
32c38a1a97 add cloth dragging test 2018-03-28 01:30:58 -03:00
Irlan
f99b1422ef update a test 2018-03-26 16:05:41 -03:00
Irlan
be812ed897 add collision (no friction) 2018-03-24 02:21:31 -03:00
Irlan
2cbf9b56ed add baraff and witkin's mass-spring-based cloth 2018-03-23 15:29:47 -03:00
Irlan
41aa214a40 add an experiment 2018-03-23 15:27:41 -03:00
Irlan
5a80171744 improve contact clustering algorithm 2018-03-23 00:12:59 -03:00
Irlan
c411bf341a add rope 2017-05-28 21:05:32 -03:00
Irlan
bd69458750 rename function, remove indirection, fix bug 2017-04-11 16:35:18 -03:00
Irlan
f924f70e76 add pendulum test (reduced coordinates), remove redundant assert 2017-04-04 20:56:10 -03:00
Irlan
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
Irlan
c581dee66e fix capsule to hull contact generation, add weld joint with an alternative constraint model 2017-03-06 13:34:24 -03:00
Irlan
03ebca5728 fix and improve circle debug drawing 2017-03-03 16:46:13 -03:00
Irlan
edd29d729a finish SAT optimization, calculate correct old sweep transform, remove unecessary static body transform update 2017-03-01 23:42:48 -03:00
Irlan
71ee97aaa0 add hello world example and edit source tree 2017-02-27 18:59:58 -03:00