Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-11-02 13:04:37 +0300
committerJoshua Leung <aligorith@gmail.com>2009-11-02 13:04:37 +0300
commit334a80a4f8a484c13ebf8c426064d7c49b212ab7 (patch)
treee7830a81d1676a03245686292ddd961e673fcb76 /source/blender/makesdna/DNA_constraint_types.h
parent27580daf2754a5aff8f786eb1d7370ba5043b3bd (diff)
Spline IK Experimental Features:
1) "Even Divisions" - This option ignores the length of bones when considering how they should fit along the curve. This is useful for getting a smoother curve fit without having to worry about getting the bone lengths spot on. By default, this is disabled. 2) "Keep Max Length" - This option prevents the bone chain from extending past its natural length when the spline is stretched beyond that length. When the spline length is substatially shorter though, this bones get scaled to zero; making this option possibly useful for doing "growing tips". This is essentially a 'no scale' option, although the behaviour when the curve is shorter is really a compromise since the curve cannot be accurately satisfied + left intact without some scaling being applied due to the way this works. 3) "Radius to Thickness" - The average radius of the spline between at the head+tail of each bone determines the x+z scaling of the bone.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index bf8139ce6a0..f5a08764c42 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -546,11 +546,15 @@ typedef enum B_CONSTRAINTCHANNEL_FLAG {
/* bSplineIKConstraint->flag */
/* chain has been attached to spline */
-#define CONSTRAINT_SPLINEIK_BOUND (1<<0)
- /* roll on chains is not determined by the constraint */
-#define CONSTRAINT_SPLINEIK_NO_TWIST (1<<1)
- /* root of chain is not influence by the constraint */
-#define CONSTRAINT_SPLINEIK_NO_ROOT (1<<2)
+#define CONSTRAINT_SPLINEIK_BOUND (1<<0)
+ /* root of chain is not influenced by the constraint */
+#define CONSTRAINT_SPLINEIK_NO_ROOT (1<<1)
+ /* bones in the chain should not scale to fit the curve */
+#define CONSTRAINT_SPLINEIK_SCALE_LIMITED (1<<2)
+ /* bones in the chain should take their x/z scales from the curve radius */
+#define CONSTRAINT_SPLINEIK_RAD2FAT (1<<3)
+ /* evenly distribute the bones along the path regardless of length */
+#define CONSTRAINT_SPLINEIK_EVENSPLITS (1<<4)
/* MinMax (floor) flags */
#define MINMAX_STICKY 0x01