[Bf-committers] Re: [Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern constraint.c blender/source/blender/blenloader/intern readfile.c writefile.c blender/source/blender/include butspace.h blender/source/blender/makesdna DNA_constraint_types.h blender/source/blender/src buttons_object.c editconstraint.c

Joe Eagar joeedh at gmail.com
Sat Apr 7 12:04:16 CEST 2007


Joshua Leung wrote:
> aligorith (Joshua Leung) 2007/04/07 05:32:57 CEST
>
>   Modified files:
>     blender/source/blender/blenkernel/intern constraint.c 
>     blender/source/blender/blenloader/intern readfile.c 
>                                              writefile.c 
>     blender/source/blender/include butspace.h 
>     blender/source/blender/makesdna DNA_constraint_types.h 
>     blender/source/blender/src buttons_object.c editconstraint.c 
>   
>   Log:
>   == Clamp-To Constraint (was Patch #4818) ==
>   
>   This (new) constraint limits the location of an object/bone to the range of locations
>   on a given curve. It works by comparing the location of the owner on one axis, to
>   the extents of the curve's bounding-box on the same axis, to find the location on
>   the curve.
>   
>   Usage Notes:
>   * 'Ob:' field must point to a valid curve object
>   * This curve should have 'Path' turned on in order for this constraint to work. You
>   don't really need to do this as it will be taken care of by the code.
>   * 'Auto' toggle automically determines which axis should be used for the distance estimations/calculations. It is the default option, but may not work that well for
>   some cases.
>   * X/Y/Z toggles can be used to select the axis to use for these calculations. Try
>   to choose the axis along which the curve stretches out for most.
>   
>  
Oh cool!  Maybe now it'll be possible to implement the facial rig system 
of using hooks constrained to curves (there's a sticky thread on cgtalk 
about it).

Joe


More information about the Bf-committers mailing list