diff options
author | Jens Ole Wund <bjornmose@gmx.net> | 2008-01-25 02:27:16 +0300 |
---|---|---|
committer | Jens Ole Wund <bjornmose@gmx.net> | 2008-01-25 02:27:16 +0300 |
commit | 0252ad5d26452fa2d015e36e7a4a7d6892563e2e (patch) | |
tree | bf57c71b4d5d06ff6836c6f0053ddf919abd5293 /source | |
parent | f289bb8d91f2d377af5141e573ae5f751f275783 (diff) |
made correct physics visible on solver panel
i did not like the accusation blenders soft body module is too bad coded to not respect law of energy conservation.
well .. animators most of the times don't care if there was a theoretical physics law .. they want to get things done
hum i think
on the other hand it is for sure raising confidence to the soft body module when simple physical rules can be verified
so i won't 'turn a hand' on either approach
IMHO the inaccurate soft approach serves best to animators
anyhow
you have both so you can decide devil or Beelzebub
have fun BM
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/buttons_object.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 8a7b5a9a00b..1a415b461cb 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -3408,7 +3408,7 @@ static char sbsolvers[] = "Solver %t|RKP almost SOFT not usable but for some ger /* SIF would have been candidate .. well lack of time .. brecht is busy .. better make a stable version for peach now :) */ static char sbsolvers[] = "SIF semi implicit euler with fixed step size (worth a try with real stiff egdes)%x3|SOFT step size controlled midpoint(1rst choice for real softbodies)%x0"; #else -static char sbsolvers[] = "SOFT step size controlled midpoint(1rst choice for real softbodies)%x0"; +static char sbsolvers[] = "RKCP correct physics (harder to get stable but usefull for education :)%x1|SOFT step size controlled midpoint(1rst choice for real softbodies)%x0"; #endif static void object_softbodies_collision(Object *ob) @@ -3598,11 +3598,11 @@ static void object_softbodies_solver(Object *ob) /*SOLVER SETTINGS*/ uiBlockBeginAlign(block); uiDefBut(block, LABEL, 0, "Solver select",10,200,300,20, NULL, 0.0, 0, 0, 0, ""); - uiDefButS(block, MENU, B_SOFTBODY_CHANGE, sbsolvers,10,180,300,20, &sb->solver_ID, 14.0, 0.0, 0, 0, "Select Solver (choose 1 of 1 i was working on some other but failed *sigh* BM) "); + uiDefButS(block, MENU, B_SOFTBODY_CHANGE, sbsolvers,10,180,300,20, &sb->solver_ID, 14.0, 0.0, 0, 0, "Select Solver"); uiBlockEndAlign(block); /*some have adapive step size - some not*/ - sb->solver_ID = 0; /* ugly hack to prepare peach freeze */ + //sb->solver_ID = 0; /* ugly hack to prepare peach freeze */ switch (sb->solver_ID) { case 0: case 1: |