Blender Git Loki
Git Commits -> Revision bdb86d7
Revision bdb86d7 by Ton Roosendaal (master) April 2, 2005, 13:57 (GMT) |
Integration stage of Softbody project User level notes are in Wiki here; http://wiki.blender.org/bin/view.pl/Blenderdev/Softbodies And will be added in blender3d.org CMS later. Tech level notes are still pending, but here's the most relevant ones; - made ob->soft struct SoftBody to hold all settings, and read/save in files - added (temporal!) conversion for the old settings. So: read old files with softbody experiments now, and save over! - cleaned API calls for softbody, which are only 5 of them now: sbNew() sbFree() sbObjectStep() (animation steps) sbObjectToSoftbody() (full re-initialize data) sbObjectReset() (only reset motion) - API calls accepts time in frames now, within softbody.c it converts Further, internally code was cleaned some (missing tabs etc). Also tried to keep a well defined structure with hints how to add support for more objects. Can write notes about that... |
Commit Details:
Full Hash: bdb86d7c6765724d297e7aa97dec4c0cc7d2bae9
SVN Revision: 4163
Parent Commit: 02d3ad0
Lines Changed: +558, -495
13 Modified Paths:
/source/blender/blenkernel/BKE_softbody.h (+12, -18) (Diff)
/source/blender/blenkernel/intern/deform.c (+5, -7) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+419, -388) (Diff)
/source/blender/blenloader/intern/readfile.c (+29, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+37, -3) (Diff)
/source/blender/src/buttons_object.c (+39, -52) (Diff)
/source/blender/src/editipo.c (+0, -2) (Diff)
/source/blender/src/editobject.c (+2, -9) (Diff)
/source/blender/src/header_view3d.c (+9, -11) (Diff)
/source/blender/src/usiblender.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/deform.c (+5, -7) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/softbody.c (+419, -388) (Diff)
/source/blender/blenloader/intern/readfile.c (+29, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_object_types.h (+37, -3) (Diff)
/source/blender/src/buttons_object.c (+39, -52) (Diff)
/source/blender/src/editipo.c (+0, -2) (Diff)
/source/blender/src/editobject.c (+2, -9) (Diff)
/source/blender/src/header_view3d.c (+9, -11) (Diff)
/source/blender/src/usiblender.c (+3, -2) (Diff)