Commit Graph

150 Commits

Author SHA1 Message Date
589870100d Fix: clear cache button works again even with protected cache, edited cache doesn't get saved to wrong frame anymore when moving frames forward in editmode 2008-01-25 10:33:19 +00:00
e7f5d07781 New: load cached data on file load; Fixed: Don't destroy cache on fileload, calculate normals correctly, don't reset all data when pressing partial free, making also cache free buttons available when cache is protected, duplicating cloth with shift-d should work properly now 2008-01-25 08:55:27 +00:00
c5dc7c7b02 New: Editable cache. Fixed: Don't clear cache on e.g. lamp moving. Changed: Switched to another modifier type to be more flexible (allows tearing later) 2008-01-24 10:43:12 +00:00
576a7f623c fix for collision modifier not reseted after first run + made the pushpin more like one 2008-01-23 17:58:09 +00:00
4b1b749130 Enabled first + last simulation frame, hopefully fixed some cache problems, changed 3d view ball to a pushpin layout -feel free to enhance in drawobject.c line 5440 2008-01-23 15:30:23 +00:00
6490b2b29a Made GUI even more intuitive with explanations why something is not available etc., fixed some uninitialized variable. NEW: show pinned verts as big red balls in 3dview - please tell me how to improve that visual feedback :) 2008-01-23 13:24:44 +00:00
ab7b4bb892 (hopefully) fixed huge problem with cache/cloth reset. 2008-01-22 23:17:10 +00:00
35c93b07bd GUI cloth panel refactor, also made many code rearrangements, cleared DNA up 2008-01-22 20:28:12 +00:00
3759c772fd Speedup spring creation again, was lost during merge 2008-01-21 10:55:46 +00:00
530039a429 Restructured many collision things again, GUI cleanup 2008-01-21 02:23:03 +00:00
8d6bbf7635 Merged back with last version where collisions worked at least a bit (rev 12296). Also merged fixes (hopefully). 2008-01-07 03:20:43 +00:00
9e96ac11bb WIP commit, just to have a nice return from holidays :) 2007-12-21 01:24:09 +00:00
3bf1536f5e Some User UI changes: a) Don't ask the user anymore if he wants to overwrite the file when he's doing a simple ctrl-s/ctrl-w; b) Ask for saving on exit when a file has changed, ontheless quit.blend is saved anyway. --> All branch changes, not likely to go into trunk 2007-12-18 16:54:12 +00:00
42637b7252 Fixed preconditioned conjugate to some degree but some issues left for stiffness>1000 (disabled therefore). There's also some issue with the springs function (some springs seem to be missing/not created) 2007-12-12 17:33:59 +00:00
543f38c20a Fix: GUI cache reset should work again, same goes for collision modifier (enabled through 'deflection' panel 2007-11-29 12:29:32 +00:00
087a549e55 svn merge -r 12684:12691 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2007-11-27 13:25:07 +00:00
41745b8a50 Particle merge: svn merge -r 12653:12664 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2007-11-26 23:11:07 +00:00
83c1dd78a6 Fixed numerical issues, hardened it again. 2007-11-22 17:02:37 +00:00
f28ab5de21 Bugfix: scaling/rotation/translation works again 2007-11-19 23:45:26 +00:00
14de7f4a2b fixed sse copy-paste glitch + #define __SSE3__ thanks to Lynx3d 2007-11-19 00:01:33 +00:00
057060967e Fixed DNA issue, some optional SSE stuff in (experimental, only 2 functions => not likely to be ever in trunk), BE AWARE: not compatible with old cloth files, many fixes in general, deactivated selfcollisions due to WIP 2007-11-16 14:24:43 +00:00
e14457b921 updated bullet to version 2.64 and hopefully didn't break too much things in CcdPhysicsEnvironment.cpp, but it compiles and works for me 2007-11-06 14:27:06 +00:00
b37bbe9024 New: pointcache integrated with cloth. Maybe some little glitches left there 2007-11-06 12:08:39 +00:00
47c62453db Bugfix for wrong springs (resulted in weird behaviour), Implemented two speedups: One for small bending/wrinkle values (1/3 speedup), another speedup is that cloth get automatically in sleep mode but wakes up every frame ([quality-1]/quality speedup) 2007-11-06 02:30:53 +00:00
0a1be3e2ce Fun commit: I put some 3-liner verlet integrator in, to activate it, set clmd->sim_parms.solver_type in cloth_init to 1 - bugs in there 2007-11-05 19:28:38 +00:00
8c0968a013 Kicked my own cache code, will use point cache in the near feature 2007-11-04 22:11:00 +00:00
01d19261bb Implemented simple selfcollisions with use of OpenMP (WITH_BF_OPENMP = 'true' - for NEW compilers like gcc 4.2.0 and MSVC prof) 2007-11-04 21:02:37 +00:00
4f72523654 Weekend commit: Enabled bounding box check for cloth again, but there's a bug in it (no collisions detected) 2007-10-26 15:13:50 +00:00
a61fb914ec Fixed compiling errors + introduced old speedup for springs again 2007-10-26 10:46:40 +00:00
f59a4c2215 Fixing some goal problem 2007-10-25 23:10:42 +00:00
096a1e87fc Fixed all known crashers, still have to verify a few things, and compiling works on gxx too, now 2007-10-25 22:09:06 +00:00
f310214cc5 reverted part of cloth.c and modifier.c back to old code before switch to use "deform_only" modifier (not tested, needs cleanup but compiles) 2007-10-25 21:17:55 +00:00
916cd17778 Fixed some bugs in bounding volumes, still some crasher in new cloth modifier 2007-10-24 17:13:13 +00:00
5a6ffd8441 WIP commit, (just in case my HD breaks down). Don't expect anything to work. Code crashes and sim doesn't work ;) 2007-10-22 22:50:32 +00:00
dfd9c71b56 Code comments add to collision interface 2007-10-21 17:20:31 +00:00
8dbc71020c Disabled Cloth collision detection because of almost complete rewrite/seperation of the collision system like we discussed on the sprint. You can enable position caching/collision object now then enableing it as an deflection object. Problem: Some GUI glitch in the modifier stack, please help :) 2007-10-21 16:38:13 +00:00
5b019072a8 Springs are in a dynamic list now, New function cloth_add_spring() for easier access to spring handling, cleared up names, functions, code. Collisions can be enabled/disabled for cloth objects now 2007-10-18 23:12:30 +00:00
62107985dd Recoded cache, fixed some crashes there 2007-10-03 13:58:05 +00:00
a5db16f913 Fixed crash with ipo'ed collision object 2007-10-02 09:47:08 +00:00
777c16d444 Bullet is back, but now generalized enough to allow own distance/calculation. Some bullet makefile-fix by 'gsr b3d'- please test it. Also fixed some crasher with cache. Also implemented moving-collisions enabled kdop (response missing in the moment) 2007-10-01 20:19:22 +00:00
b4fb141ea5 In the middle of switching to own collision detection, WIP commit (don't expect anything to work, but compile) 2007-09-23 17:40:44 +00:00
5b9140a209 Fixed some collision response issues. (weekend commit, some half done work in) 2007-09-21 13:34:19 +00:00
4c7c711b8a Fixed collision object init, New: Apply collision impulses so minimum distance is preserved (friction still missing) 2007-09-19 12:13:16 +00:00
98e8486baf Fix: kicked springs caching since it's unused and needs lots of memory 2007-09-18 19:56:58 +00:00
b852223456 arround 50% speedup in calculating spring force using OpenMP 2007-09-18 14:05:36 +00:00
138b436914 Fixed floating point rounding error in goal velocity computation, pointed out my mfoxdogg, additional code cleanup 2007-09-18 11:42:52 +00:00
9dbcffadec Temporary fix for loading crash of .blends with cached frames. Also fixed some goal behavior/init problem to match SB behaviour 2007-09-18 07:16:57 +00:00
7c05d8eb2b Fixed 2 crashers when activating collision object; Also put some additional openMP code in (doesn't hurt since #pragma gets ignored if no openMP available) 2007-09-17 10:41:20 +00:00
1138bd3014 New: Min & MaxFrame of simulation; Fixed: Many reset problems gone 2007-09-16 23:19:02 +00:00
cd998aaadd Initial checkin of cloth files + changes 2007-09-16 16:23:21 +00:00