264 Commits

Author SHA1 Message Date
Irlan
f11ec48adc add a test solution for #33 2018-04-06 16:35:37 -03:00
Irlan
0395904079 add comments 2018-04-06 16:32:19 -03:00
Irlan
d657d649e3 rearrange some code 2018-04-05 23:36:21 -03:00
Irlan
f26cd09f3a update an example that misuses rotation locking functionality 2018-04-05 22:09:59 -03:00
Irlan
85c14fa887 comment b3MassData members 2018-04-05 21:27:28 -03:00
Irlan
ba3fb6deb6 bugfix in hull inertia 2018-04-05 19:23:47 -03:00
Irlan
87b4efc6b5 ensure valid inertia tensors 2018-04-05 18:35:21 -03:00
Irlan
f769edcec9 eliminate duplicated test creation 2018-04-05 18:33:44 -03:00
Irlan
ef937c029b add opengl 2.1 support, update imgui, update premake script 2018-04-04 15:06:15 -03:00
Irlan
2b764021ff fix grid generation code 2018-04-03 23:31:59 -03:00
Irlan
3c84b8f8f4 use grid mesh, backup and restore mass types 2018-04-03 23:27:12 -03:00
Irlan
fecd622b92 rearrange input and output arguments 2018-04-03 23:01:26 -03:00
Irlan
a8c2a48a6f add grid mesh for user convenience 2018-04-03 23:00:41 -03:00
Irlan Robson
a8a50e6248
update readme 2018-04-03 15:06:52 -03:00
Irlan
5273e3085a remove two screenshots 2018-04-03 15:05:18 -03:00
Irlan
d080bfe9ea rename an experiment, prints energy 2018-04-03 15:03:01 -03:00
Irlan
6e0e269f68 add comments, correct typo, correct energy computation 2018-04-03 15:02:00 -03:00
Irlan
676fe352a6 use operators, increase CG tolerance 2018-04-02 20:41:27 -03:00
Irlan
256ea14327 bugfix 2018-04-02 20:38:35 -03:00
Irlan
246072f2d3 optimization 2018-04-02 16:56:55 -03:00
Irlan
c1a5d1b93f fix #34 2018-04-02 13:06:32 -03:00
Irlan
40093fcf2f improve CG performance using CSR matrix format 2018-04-02 12:47:56 -03:00
Irlan
aec685f736 add dense vector and sparse matrix 2018-04-02 12:46:56 -03:00
Irlan
615d243b14 separate square from rectangular matrices 2018-04-02 12:45:54 -03:00
Irlan
d36d6da3b4 fix #31 2018-03-28 15:06:21 -03:00
Irlan
32c38a1a97 add cloth dragging test 2018-03-28 01:30:58 -03:00
Irlan
8c2df2f70c add a function to find barycentric coordinates wrt. triangle 2018-03-28 01:22:09 -03:00
Irlan
cc425786bc comment 2018-03-28 01:14:45 -03:00
Irlan
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
Irlan
6ee9213d04 bugfix 2018-03-26 18:16:34 -03:00
Irlan
4d5c0644b3 typo 2018-03-26 17:00:11 -03:00
Irlan
42c8a998fb store number of iterations 2018-03-26 16:59:04 -03:00
Irlan
f99b1422ef update a test 2018-03-26 16:05:41 -03:00
Irlan
a21d46ac64 add MCG without Jacobi preconditioning, delegate cloth solver to another class, ignore positive separation, improve contact handling, support different shapes
Specially, see b3SpringSolver.cpp for details.
2018-03-26 16:03:43 -03:00
Irlan
3e55b28956 add collision detection routines for shape against sphere 2018-03-26 15:56:01 -03:00
Irlan
be812ed897 add collision (no friction) 2018-03-24 02:21:31 -03:00
Irlan
ffdc141aa1 add test for mass-spring based cloth 2018-03-23 15:37:19 -03:00
Irlan
2cbf9b56ed add baraff and witkin's mass-spring-based cloth 2018-03-23 15:29:47 -03:00
Irlan
cf92ff3339 print cloth mesh vertices 2018-03-23 15:28:22 -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 Robson
3da2a25bd7 fix assert condition 2018-02-24 19:21:45 -03:00
Irlan Robson
c5eabe3b9c
add a comment 2018-02-24 15:38:24 -03:00
Irlan Robson
94770d10bf
switch from force to acceleration 2018-02-24 15:35:29 -03:00
Irlan Robson
a7a96e2678
Update building.txt 2018-02-24 10:51:58 -03:00
Irlan
dc73b414b3 bugfixes 2017-11-25 14:48:32 -02:00
Irlan
cd32a1c515 restored a file from 81f744b805ce4207cb69863b74edf1a817c44fb7 2017-11-25 13:16:40 -02:00
Irlan Robson
11596e5162
Return array capacity 2017-11-12 20:21:22 -02:00
Irlan Robson
ff00ab381e add screenshots to readme (request in issue #26) 2017-07-19 11:18:02 -03:00
Irlan
c0a2b1159d add screenshots 2017-07-19 11:11:30 -03:00