9467d99405
replace sqrt(dot()) with length functions.
2013-09-03 22:32:03 +00:00
585272fbcf
cloth was using edgehash not quite correctly:
...
- was ordering vertex args unnecessarily.
- was adding the same edges multiple times into the edgehash.
2013-08-24 16:06:18 +00:00
7fac200080
remove unused define CLAMPTEST, move INPR to
...
collision_compute_barycentric(), only place its used.
2013-05-08 12:56:02 +00:00
93ac968db3
code cleanup: include order
2013-04-05 17:56:54 +00:00
c36f20a7d2
style cleanup
2013-03-08 04:00:06 +00:00
f2bb536994
code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as not to confuse things.
2013-03-05 14:47:49 +00:00
69ddc5eb99
make bullet optional again
2013-01-23 07:26:39 +00:00
857df8065f
style cleanup
2012-12-28 14:19:05 +00:00
b5ce1b1a23
Fix for cloth/smoke: Collision and flow objects always had to be on the same layer.
...
Reported and patch by MiikaH
2012-12-11 20:39:54 +00:00
1b32f258e7
ifdef'd gcc diagnostic pragma's to quiet msvc and others.
2012-11-23 10:03:50 +00:00
fae6c35ca7
code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few files since its done throughout the code in some places.
2012-11-04 07:18:29 +00:00
9fc95bd7ee
use min/max inline functions where MIN2/MAX2 were doing type conversion.
2012-10-27 11:18:54 +00:00
f70d2c65d8
rename api functions...
...
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-23 13:28:22 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
7e620f04a1
Fix #32920 : cloth physics with collision exploding in some cases, due to
...
uninitialized memory usage.
2012-10-19 16:44:08 +00:00
25c96bc9f3
code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc
2012-09-20 01:02:39 +00:00
9b51503307
style cleanup
2012-07-21 22:58:08 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
3a0593cc3d
code cleanup: dont use function calls like dot_v3v3, pow and sqrt within macros which results in calling the function multiple times needlessly.
...
also added some comments.
2012-07-06 22:48:28 +00:00
32478997ec
style cleanup
2012-06-27 18:29:47 +00:00
74c9c24d27
style cleanyp
2012-06-23 23:22:19 +00:00
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
0499200e39
Cloth: Add support for "Self Collision Vertex Group".
...
Self collision vertex groups enable artists to exclude selected vertices from getting involved in self collisions. This speeds simulations and it also resolves some self collision issues.
2012-06-06 13:30:05 +00:00
f69cec4596
Compile fix - "spf" was undefined
2012-06-02 22:47:33 +00:00
76af5fb50d
Cloth collisions: Revert 47335.
2012-06-02 22:01:04 +00:00
4fa34b5cf7
Commenting out unused var, prevents my debug Blender to build... ;)
2012-06-01 17:47:05 +00:00
9efc294d45
Followup fix Bugfix [ #31629 ]: Cloth simulation collisions used still too high repulsions.
2012-06-01 16:50:12 +00:00
3495479b4f
Bugfix [ #31629 ] Cloth simulation results are much different from older ones
...
This is only a partial bugfix, reducing the repulse to 1/3.
Cloth collision will still behave different because it is now catching more collisions.
2012-05-29 19:12:49 +00:00
dab1d8e487
style cleanup
2012-05-22 22:03:41 +00:00
e79c29a1d6
style cleanup: raytree code
2012-05-15 18:45:20 +00:00
756bf3d052
Cloth collisions:
...
Add repulse for near vertices. This code didn't make sense where it was before. Still leaving it also at the old place since it cannot hurt.
2012-05-15 13:46:50 +00:00
a20da2599b
Tag unused argument
2012-05-15 12:17:56 +00:00
763a16cb70
Cloth:
...
- Triangulate Cloth Mesh for collisions
- Speed up collisions
- Remove EL Topo code
- Prepare code to incooperate El Topo self collisions (TODO next commits)
TODO:
----------
- Triangulation: Is custom data/uv preserved correctly?
- Use MPoly not tessface?
2012-05-15 11:14:50 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
48893dba24
style cleanup: no functional changes
2012-04-24 22:50:49 +00:00
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
69e6894b15
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:18:31 +00:00
7ff77ed4ea
code cleanup: use zero_v3
2012-03-23 20:18:09 +00:00
3427749090
Make collision function more general so it can be used by other modifiers, too. [This is preparation work for animated smoke collision]
2012-03-20 04:15:41 +00:00
c21c58f44c
style cleanup, also remove unused externs.
2012-03-11 19:09:01 +00:00
dfdfa3d51b
code cleanup: replace macros VECCOPY, VECADD, VECSUB, INPR - with BLI_math funcs.
...
added copy float/double funcs: copy_v3fl_v3db(), copy_v3db_v3fl(). 2d & 4d too.
2012-03-09 06:04:17 +00:00
31d2ee9bf7
style cleanup, brackets in else/if, some indentation.
2012-03-06 18:40:15 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
e59ab6486f
svn merge -r41751:41779 ^/trunk/blender
2011-11-15 02:05:32 +00:00
094c9799f9
quiet -Wdouble-promotion warnings
2011-11-11 12:00:08 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00