3c8af0060a
ui, camera
2018-04-11 03:06:13 -03:00
959ce6d92a
update ui, tests
2018-04-10 22:19:03 -03:00
3e75b1f650
rename a label
2018-04-10 18:49:35 -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
23d810e927
license
2018-04-10 01:02:56 -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
59a993af18
add missing implementation
2018-04-09 02:46:05 -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
5342361a5d
use gravity
2018-04-08 00:13:29 -03:00
63bc6c8674
rewrite profiler
2018-04-07 21:15:04 -03:00
9bb4314cea
test update
2018-04-07 21:14:34 -03:00
6dd32061d7
rename contact areas to contact polygons
2018-04-07 01:34:11 -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
8e615d3ca4
typo
2018-04-06 21:58:00 -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
0395904079
add comments
2018-04-06 16:32:19 -03:00
d657d649e3
rearrange some code
2018-04-05 23:36:21 -03:00
f26cd09f3a
update an example that misuses rotation locking functionality
2018-04-05 22:09:59 -03:00
85c14fa887
comment b3MassData members
2018-04-05 21:27:28 -03:00
ba3fb6deb6
bugfix in hull inertia
2018-04-05 19:23:47 -03:00
87b4efc6b5
ensure valid inertia tensors
2018-04-05 18:35:21 -03:00
f769edcec9
eliminate duplicated test creation
2018-04-05 18:33:44 -03:00
ef937c029b
add opengl 2.1 support, update imgui, update premake script
2018-04-04 15:06:15 -03:00
2b764021ff
fix grid generation code
2018-04-03 23:31:59 -03:00
3c84b8f8f4
use grid mesh, backup and restore mass types
2018-04-03 23:27:12 -03:00
fecd622b92
rearrange input and output arguments
2018-04-03 23:01:26 -03:00
a8c2a48a6f
add grid mesh for user convenience
2018-04-03 23:00:41 -03:00
a8a50e6248
update readme
2018-04-03 15:06:52 -03:00
5273e3085a
remove two screenshots
2018-04-03 15:05:18 -03:00
d080bfe9ea
rename an experiment, prints energy
2018-04-03 15:03:01 -03:00
6e0e269f68
add comments, correct typo, correct energy computation
2018-04-03 15:02:00 -03:00
676fe352a6
use operators, increase CG tolerance
2018-04-02 20:41:27 -03:00
256ea14327
bugfix
2018-04-02 20:38:35 -03:00
246072f2d3
optimization
2018-04-02 16:56:55 -03:00
c1a5d1b93f
fix #34
2018-04-02 13:06:32 -03:00
40093fcf2f
improve CG performance using CSR matrix format
2018-04-02 12:47:56 -03:00
aec685f736
add dense vector and sparse matrix
2018-04-02 12:46:56 -03:00
615d243b14
separate square from rectangular matrices
2018-04-02 12:45:54 -03:00
d36d6da3b4
fix #31
2018-03-28 15:06:21 -03:00
32c38a1a97
add cloth dragging test
2018-03-28 01:30:58 -03:00
8c2df2f70c
add a function to find barycentric coordinates wrt. triangle
2018-03-28 01:22:09 -03:00
cc425786bc
comment
2018-03-28 01:14:45 -03:00
e22ed9852a
bugfixes and improvements
...
Bugfixes:
Simplify and correct one derivation of a second derivative of energy function.
Clear dynamic variables for static shapes
Invalidate contact for a particle when its type switches from dynamic to static
Improvements:
Allow user to apply force to a particle
Allow user to displace a particle
Compute kinetic energy
Store the mass of each particle, not only its inverse. It can improve performance because the solver needs the masses most of the time for computations
Add some code to find shared and non-shared edges. These algorithms don't work for non-manifold meshes
Remove some unecessary temporaries decreasing code readability
2018-03-28 01:08:19 -03:00
6ee9213d04
bugfix
2018-03-26 18:16:34 -03:00
4d5c0644b3
typo
2018-03-26 17:00:11 -03:00
42c8a998fb
store number of iterations
2018-03-26 16:59:04 -03:00