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
8695bedda2
svn merge ^/trunk/blender -r40644:40720
2011-10-06 16:59:58 +00:00
35f881b44d
Commented and tagged some unused vars, added some var init (gcc warnings...)
2011-09-28 15:22:13 +00:00
4a157de23d
svn merge ^/trunk/blender -r40587:40643
2011-09-28 07:34:48 +00:00
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
1ff373ef5b
svn merge -r40166:40279 ^/trunk/blender
2011-09-17 04:59:14 +00:00
c912af36ca
Fix #28663 : All "unit" properties show a value of 0 (on WinXP&MinGW&scons)
...
Initially problem was caused by updated version of mingw-runtime which
changed behavior of snprintf and vsnprintf so %lf isn't anymore valid
for doubles.
According to manpages, %f is a correct format for snprintf for doubles.
2011-09-16 10:03:08 +00:00
fddc655aec
svn merge -r40140:r40148 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-12 04:57:20 +00:00
4bd0a2ba2d
replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe copying, some parts of the code are copying float -> short normals without scaling. fix coming next.
2011-09-12 04:14:12 +00:00
8e232af37c
svn merge -r39831:39877 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-03 02:49:21 +00:00
00143a3d55
spaces -> tabs (configure you're editors right!)
2011-09-01 01:48:50 +00:00
fb3f7d9566
svn merge -r39792:39829 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-01 00:56:21 +00:00
471c005137
typo fix: end of lines ;; --> ;
2011-08-31 01:07:55 +00:00