From 42126cb5fcceda5485d02af7efbfe996b4aae160 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 2 May 2005 13:28:13 +0000 Subject: Added baking for softbodies. Works as follows; - press the 'show bake settings' button (no space left... :) - define start/end frame for bake, and an interval step. The baked result interpolates nicely (Bspline, 4 keys) so in general a step size of 2 or 3 still gives OK results. - Press "BAKE". This will do a full animation + playback. Press ESC if it you don't want it. Once Baked, the BAKE button becomes a FREE BAKE. As reminder the softbody buttons get blocked with error() menu. This saves OK in a file. Renders any frame, including fields and moblur. You can also set a "Timeoffs" for the softbody. And yes, this should be in the NLA once... :) NOTE! With this commit, files saved with the old (first commit) version by Jens Ole won't read the settings back... he stored all sofbody variables in Object, which was moved to a new struct when I did my first commit on SB (over a month ago) Also note that I moved particle deflecting & softbody to a new include. --- source/blender/python/api2_2x/Object.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/python') diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index 63f97f88249..d07633a5185 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -39,15 +39,20 @@ #include "NLA.h" #include "logic.h" #include + #include #include #include +#include "DNA_object_force.h" #include + #include + #include #include #include #include + #include #include -- cgit v1.2.3