diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-16 23:07:02 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-16 23:07:02 +0400 |
commit | e67ba0ae330561424f18dbebaede835f81f45282 (patch) | |
tree | 5c3726760a4afd50266e6a522fe7b42f4a4bb230 /source/blender/include | |
parent | 502c34ee4971bcc7cd4cb97090f84c9235518a9b (diff) |
More armature goodies;
The B-Bones!
(where the B can be read as 'block' or 'bezier' or 'b-spline')
- set option on/off in edit buttons, armature panel
- scaling of B-bones only works in editmode, use ALT+S to make bones fatter
or thinner. Also works for constrainted transform
- In pose mode, you now have a buttons panel with per-bone settings too
Here you can find the "segments" button, which allows bones to
interpolate between previous/next bones, including roll.
- Buttons to control interpolation ("In" and "Out" are disabled, doesn't
work satisfying yet
NOTE: this doesn't give deform yet! Main purpose for now is to test if this
drawing method serves to animate/pose armatures well.
Still need to review proper interpolation methods... maybe bezier is too
limited.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_editarmature.h | 6 | ||||
-rwxr-xr-x | source/blender/include/BIF_transform.h | 1 | ||||
-rwxr-xr-x | source/blender/include/transform.h | 3 |
3 files changed, 8 insertions, 2 deletions
diff --git a/source/blender/include/BIF_editarmature.h b/source/blender/include/BIF_editarmature.h index 056888e33f6..b0b6147f564 100644 --- a/source/blender/include/BIF_editarmature.h +++ b/source/blender/include/BIF_editarmature.h @@ -64,8 +64,10 @@ typedef struct EditBone for pose element, rather than trying to use the existing transObject system? */ - float dist, weight, length; - short boneclass; + float dist, weight; + float xwidth, length, zwidth; /* put them in order! transform uses this as scale */ + float ease1, ease2; + short boneclass, segments; } EditBone; diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index e8bdc8c2e30..57aaf37a65d 100755 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -50,6 +50,7 @@ #define TFM_PUSHPULL 12 #define TFM_CREASE 13 #define TFM_MIRROR 14 +#define TFM_BONESIZE 15 /* TRANSFORM CONTEXTS */ #define CTX_NONE 0 diff --git a/source/blender/include/transform.h b/source/blender/include/transform.h index 69e9f1d919c..b776bd26c1a 100755 --- a/source/blender/include/transform.h +++ b/source/blender/include/transform.h @@ -246,6 +246,9 @@ int PushPull(TransInfo *t, short mval[2]); void initCrease(TransInfo *t); int Crease(TransInfo *t, short mval[2]); +void initBoneSize(TransInfo *t); +int BoneSize(TransInfo *t, short mval[2]); + /*********************** transform_conversions.c ********** */ struct ListBase; void count_bone_select(TransInfo *t, struct ListBase *lb, int do_it); |