Irlan
b6f504b371
Include Rayleigh damping. Use struct instead of class. Update PinnedSoftBody test
2019-05-24 13:04:42 -03:00
Irlan
494fa0baa9
Incorporate plasticity model. Update the tests
2019-05-22 18:16:47 -03:00
Irlan
637199b5fd
New feature: soft bodies!
2019-05-13 19:03:23 -03:00
Irlan
6f50645601
Use a local grid mesh
2019-05-13 16:23:46 -03:00
Irlan
b5edb9b1c7
Update soft_body.h
2019-05-04 15:56:47 -03:00
Irlan
ecb4df45f4
Array pointers can change after reallocation
2019-04-22 14:33:59 -03:00
Irlan
c6a3e47176
Consistency
2019-04-21 16:32:40 -03:00
Irlan
490a2963df
Mesh generation to everybody
...
Add cylinder mesh generation
Mesh generation can be used by everyone
Mesh generation also gives vertex normals for convenience
2019-04-21 16:06:51 -03:00
Irlan
77ad799d94
Add comment
2019-04-20 13:57:12 -03:00
Irlan
1e85ea0a36
Handle case where subdivision in zero
2019-04-20 13:51:03 -03:00
Irlan
323ba37b73
Use a octosphere instead of a icosahedron
2019-04-20 13:45:18 -03:00
Irlan
34c5d6f157
Remove some duplicated code.
2019-04-20 13:27:28 -03:00
Irlan
23fa2bd162
Bugfix
2019-04-20 11:54:33 -03:00
Irlan
9c16391700
Optimize sphere mesh
2019-04-20 11:52:17 -03:00
Irlan
3adebe68c2
Removed a condition which isn't reached during the sphere mesh generation.
2019-04-19 09:58:02 -03:00
Irlan
14f6b279d2
Remove SPHERE_MESH_H after #endif.
2019-04-19 08:31:35 -03:00
Irlan
077d1eead5
Use assert instead of B3_ASSERT.
2019-04-19 08:31:08 -03:00
Irlan
399a6efc72
Use sphere mesh. Add soft body test.
2019-04-18 19:44:12 -03:00
Irlan
695514989e
Removed a large cloth radius. The particle radius should be used to avoid visual artifacts and is a small value in typical situations.
2019-04-18 18:51:49 -03:00
Irlan
923a069408
Allow moving while jumping. Disable gravity when grounded. Change some parameters.
2019-04-18 11:05:13 -03:00
Irlan
df33dd5cab
Setter and getter for spring mode cloth dragging
2019-04-18 11:02:04 -03:00
Irlan
8352e29847
Remove comment
2019-04-09 16:26:14 -03:00
Irlan
6aa677e133
Removed profiler listener
2019-04-08 13:53:35 -03:00
Irlan
7ed4166f0c
Remove code
2019-04-07 08:07:34 -03:00
Irlan
1ef6d46d33
Add a statistical profiler. Also applied a bugfix b3Profiler.
...
- This is a compact hierarchical profiler which also stores node statistics
- Might need to use a hash-table to lookup statistic for node because each frame trees are build
2019-04-06 18:06:20 -03:00
Irlan
e32c2e61ee
Update shirt.h
2019-04-04 10:35:13 -03:00
Irlan
4407e31d8a
Draw the profiler tree.
2019-04-03 19:12:17 -03:00
Irlan
7c15a8eaf8
Fit windows to content
2019-04-03 19:02:21 -03:00
Irlan
c638a0a52c
renaming
2019-04-02 10:26:54 -03:00
Irlan
16421febc4
update main
2019-04-02 09:21:43 -03:00
Irlan
cca8ccad32
use forward slashes
2019-04-01 13:25:25 -03:00
Irlan
2e4b7004c9
some renaming
2019-04-01 11:15:39 -03:00
Irlan
f195e77be7
improve profiler
2019-04-01 11:03:12 -03:00
Irlan
3f55504a91
use assert instead of B3_ASSERT
2019-03-31 11:07:05 -03:00
Irlan
1c99a10536
bugfix
2019-03-31 11:03:02 -03:00
Irlan
fb895192e7
rename
2019-03-31 11:02:26 -03:00
Irlan
725ca3ce31
reduce stack size
2019-03-31 10:21:53 -03:00
Irlan
701e4c5b15
profiler hierarchy
2019-03-31 10:20:17 -03:00
Irlan
f446f90266
rename header
2019-03-31 10:20:01 -03:00
Irlan
5c6a7a967a
remove include
2019-03-30 12:01:28 -03:00
Irlan
117f984698
consistency
2019-03-30 11:59:20 -03:00
Irlan
f59df50fbd
consistency
2019-03-30 11:51:55 -03:00
Irlan
812ee84d7e
bugfix
2019-03-30 10:48:24 -03:00
Irlan
4984fa2a2e
grow event buffer
2019-03-27 10:14:53 -03:00
Irlan
1f65a9f79d
update license headers
2019-02-26 16:41:28 -03:00
Irlan
f98374143a
refactoring
2018-10-08 16:18:28 -03:00
Irlan
b48b16843a
removed a couple of bugs in the profiler
2018-10-07 20:48:26 -03:00
Irlan
f598c72fae
update a test
2018-10-06 20:48:16 -03:00
Irlan
17cf837712
move a function
2018-10-06 13:58:56 -03:00
Irlan
658ac8298a
replace point click test by character test
2018-10-06 13:56:20 -03:00