[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern action.c armature.c font.c object.c blender/source/blender/include butspace.h blender/source/blender/makesdna DNA_action_types.h DNA_armature_types.h DNA_nla_types.h blender/source/blender/src buttons_editing.c ...

Ton Roosendaal ton at blender.org
Tue Nov 1 13:44:30 CET 2005


ton (Ton Roosendaal) 2005/11/01 13:44:30 CET

  Modified files:
    blender/source/blender/blenkernel/intern action.c armature.c 
                                             font.c object.c 
    blender/source/blender/include butspace.h 
    blender/source/blender/makesdna DNA_action_types.h 
                                    DNA_armature_types.h 
                                    DNA_nla_types.h 
    blender/source/blender/src buttons_editing.c drawarmature.c 
                               drawnla.c editnla.c editobject.c 
                               transform_conversions.c 
  
  Log:
  Three new features:
  
  1) Stride Bone
  
  For walkcycles, you could already set an NLA strip to cycle over a path
  based on a preset distance value. This cycling happens based on a linear
  interpolation, with constant speed.
  Not all cycles have a constant speed however, like hopping or jumping.
  To ensure a perfect slipping-less foot contact, you now can set a Bone
  in an Armature to define the stride. This "Stride Bone" then becomes a
  sort-of ruler, a conveyor belt, on which the character walks. When using
  the NLA "Use Path" option, it then tries to keep the Stride Bone entirely
  motionless on the path, by cancelling out its motion (for the entire
  Armature). This means that the animation keys for a Stride Bone have to be
  exactly negative of the desired path. Only, at choice, the X,Y or Z Ipo
  curve is used for this stride.
  
  Examples:
  
  http://www.blender.org/bf/0001_0040.avi
  The top armature shows the actual Action, the bottom armature has been
  parented to a Path, using the Stride Bone feature.
  
  http://www.blender.org/bf/0001_0080.avi
  Here the Stride Bone has a number of children, creating a ruler to be
  used as reference while animating.
  
  Test .blend:
  http://www.blender.org/bf/motionblender1.blend
  
  Notes:
  - Note that action keys for Bones work local, based on the Bone's
    orientation as set in EditMode. Therefore, an Y translation always
    goes in the Bone's direction.
  - To be able to get a "solvable" stride, the animation curve has
    to be inverse evaluated, using a Newton Raphson root solver. That
    means you can only create stride curves that keep moving forward, and
    cannot return halfway.
  - Set the Stride Bone in the Editing Buttons, Bone Panel. You can set
    change the name or set the axis in the NLA Window, Strip Properties Panel.
  - Files in this commit will move to the blender.org release section.
  
  2) Armature Ghosting
  
  In EditButtons, Armature Panel, you can set an armature to draw ghosts.
  The number value denotes the amount of frames that have to be drawn extra
  (for the active action!) around the current frame.
  Ghosts only evaluate its own Pose, executing it's Actions, Constraints and
  IK. No external dependencies are re-evaluated for it.
  
  3) NLA/Action time control
  
  If you click in the NLA window on the action (linked to Object), it makes
  sure the Timing as drawn in the Action editor is not corrected for NLA.
  If you also set the Object to "Action", this timing will be executed on the
  Object as well (not NLA time).
  (It's a bit confusing... will make a good doc & maybe review UI!)
  
  Revision  Changes    Path
  1.44      +84 -22    blender/source/blender/blenkernel/intern/action.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/action.c.diff?r1=1.43&r2=1.44&cvsroot=bf-blender>
  1.59      +2 -2      blender/source/blender/blenkernel/intern/armature.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/armature.c.diff?r1=1.58&r2=1.59&cvsroot=bf-blender>
  1.38      +3 -1      blender/source/blender/blenkernel/intern/font.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/font.c.diff?r1=1.37&r2=1.38&cvsroot=bf-blender>
  1.81      +5 -5      blender/source/blender/blenkernel/intern/object.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/object.c.diff?r1=1.80&r2=1.81&cvsroot=bf-blender>
  1.64      +2 -1      blender/source/blender/include/butspace.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/butspace.h.diff?r1=1.63&r2=1.64&cvsroot=bf-blender>
  1.25      +5 -2      blender/source/blender/makesdna/DNA_action_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_action_types.h.diff?r1=1.24&r2=1.25&cvsroot=bf-blender>
  1.25      +2 -2      blender/source/blender/makesdna/DNA_armature_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_armature_types.h.diff?r1=1.24&r2=1.25&cvsroot=bf-blender>
  1.9       +6 -4      blender/source/blender/makesdna/DNA_nla_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_nla_types.h.diff?r1=1.8&r2=1.9&cvsroot=bf-blender>
  1.228     +48 -9     blender/source/blender/src/buttons_editing.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/buttons_editing.c.diff?r1=1.227&r2=1.228&cvsroot=bf-blender>
  1.28      +108 -10   blender/source/blender/src/drawarmature.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawarmature.c.diff?r1=1.27&r2=1.28&cvsroot=bf-blender>
  1.27      +38 -37    blender/source/blender/src/drawnla.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawnla.c.diff?r1=1.26&r2=1.27&cvsroot=bf-blender>
  1.55      +32 -10    blender/source/blender/src/editnla.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editnla.c.diff?r1=1.54&r2=1.55&cvsroot=bf-blender>
  1.270     +9 -5      blender/source/blender/src/editobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editobject.c.diff?r1=1.269&r2=1.270&cvsroot=bf-blender>
  1.62      +2 -1      blender/source/blender/src/transform_conversions.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_conversions.c.diff?r1=1.61&r2=1.62&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list