184 Commits

Author SHA1 Message Date
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
09ed4f7036 decrease tolerance for test work 2018-05-24 18:13:56 -03:00
Irlan
4ae3b7cc79 refactor cloth 2018-05-24 05:35:16 -03:00
Irlan
109f23da49 add a small framework of garments, update the related tests 2018-05-23 03:54:02 -03:00
Irlan
747e4ca158 improve reference grid drawing 2018-05-23 03:45:16 -03:00
Irlan
9ae2dc4788 print energy 2018-05-20 02:47:40 -03:00
Irlan
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
Irlan
df304a5bb8 highlight features 2018-05-12 20:36:23 -03:00
Irlan
2e39ebd4e4 test 2018-05-09 18:11:34 -03:00
Irlan
57f0370cd2 remove automatic convex hull generation to stress test quickhull 2018-05-09 05:57:43 -03:00
Irlan
72662b1acd nice hull visualization 2018-05-09 05:44:31 -03:00
Irlan
cd535f8c49 debug draw 2018-05-04 21:42:45 -03:00
Irlan
29c89ef4ee use concrete pointer 2018-05-03 21:54:02 -03:00
Irlan
e42399c7a5 scale hull 2018-05-03 21:49:52 -03:00
Irlan
fbc5f2ea55 control primitive drawing order 2018-05-03 20:17:14 -03:00
Irlan
c022d0726d render cloth mesh triangle segments 2018-05-03 20:13:26 -03:00
Irlan
c2b7e5b441 remove automatic solid triangle segment rendering 2018-05-03 20:11:29 -03:00
Irlan
5f2e8627d3 correct drawing order of primitives 2018-05-01 01:27:26 -03:00
Irlan
dc12bd5c8e more tests 2018-04-29 23:33:43 -03:00
Irlan
cd6c7e188a initialize time-step statistics in a world; rename profile function 2018-04-26 23:51:20 -03:00
Irlan
16d351ecac stress quickhull 2018-04-26 21:53:29 -03:00
Irlan
b37d68ad0f simplify test 2018-04-24 21:53:52 -03:00
Irlan
43f59409de generate convex hull/cluster using 'G' while the tests are running 2018-04-20 03:13:16 -03:00
Irlan
f7364b70a6 remove old includes 2018-04-20 03:10:45 -03:00
Irlan
16f5707c86 rename tests 2018-04-18 01:34:23 -03:00
Irlan
4576f32a7c rename test 2018-04-18 01:13:04 -03:00
Irlan
b85556a375 update tests 2018-04-17 01:59:14 -03:00
Irlan
4570c971c0 use mvvm
Switch the Testbed GUI architecture pattern to MVVM (Model-View-ModelView).
2018-04-13 14:18:02 -03:00
Irlan
b9b23de3a0 unused 2018-04-12 23:01:10 -03:00
Irlan
960dfd6298 unrelate view and model 2018-04-12 22:59:41 -03:00
Irlan
9ae1a9a627 remove include 2018-04-12 19:31:22 -03:00
Irlan
9d271cc5ed use mvp
Switch from MVC (Model-View-Controller) pattern to a modified MVP (Model-View-Presenter) pattern, to toss out the inconvenient Controller
2018-04-12 19:25:00 -03:00
Irlan
4de6bd50a2 inform about the controls 2018-04-12 16:47:06 -03:00
Irlan
b015127ea8 put info in correct place 2018-04-12 15:53:33 -03:00
Irlan
52e15063ac rewrite, simplify 2018-04-12 15:38:13 -03:00
Irlan
e5f49c53dd undo commit 2018-04-12 15:05:16 -03:00
Irlan
fd27a98876 typo 2018-04-12 15:01:20 -03:00
Irlan
f8bb0cfc27 enumerate aabb vertices 2018-04-12 15:00:00 -03:00
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
2a370613a8 move definition 2018-04-12 12:41:59 -03:00
Irlan
5cdafe9e8b forward slashes 2018-04-12 12:40:06 -03:00
Irlan
2af83c8bfc guard 2018-04-12 01:52:29 -03:00
Irlan
eb698f146a testbed, tests, ui 2018-04-12 01:50:22 -03:00
Irlan
3c8af0060a ui, camera 2018-04-11 03:06:13 -03:00
Irlan
959ce6d92a update ui, tests 2018-04-10 22:19:03 -03:00
Irlan
3e75b1f650 rename a label 2018-04-10 18:49:35 -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
23d810e927 license 2018-04-10 01:02:56 -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