May 17, 2016, 14:28 (GMT) |
Fix for Constraints Head/Tail on BBones Last segment needs special handling, as the values there are a little wonky... |
May 17, 2016, 14:28 (GMT) |
Constraints: Head/Tail interpolation follows bbone shape, instead of doing straight-line interpolation This can be used to reduce the complexity of rigs, by reducing the number of extra bones that may have otherwise been needed to accomplish a similar effect. |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Tweaks to UI layout for Bendy Bones panel * Disable all properties if no segments * Better labels and spacing of items * Changed order of things to have a better layout * Moved "inherit endroll" option into this panel too |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Fix - Scale In/Out not being initialised for new pose bones |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Code Cleanup - Expose equalize_bezier() as equalize_bbone_bezier() |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Curved Bone settings in EditMode act as "Rest Pose" (Experimental) The bendy bone settings (curve in/out, etc.) now exist on both Bone and PoseBone levels. What this means is that the "Bone" level settings (i.e. what we had before) are used for defining the rest pose curve for the bone (i.e. to fit things like curved eyebrows, and so forth), while the "PoseBone" level settings (i.e. new stuff) will be what animators play with to animate their characters. Implementation Notes: * All the BBone settings are now found in a new "Curved Bones" panel. This is located just below the Transform properties panels (instead of by "Deform"), so that it's easier to reach for animating. The segments and ease in+out settings are still also located in the "Deform" panel. I'm still unsure whether to remove them for good from there. For now, I've duplicated them, to be more convenient for animation tweaking (though it might also be a bit confusing) * Ease In/Out is still a bone-level setting only (i.e. no posemode offsets/override). This may be subject to change still, but more investigation will be needed first. * Scale In/Out is handled multiplicatively. That is, scaleIn_final = bone->scaleIn * pbone->scaleIn * I've added a hacky "stripped down" copy of b_bone_spline_setup() for drawing the editmode previews of these bbone settings. Whether this is the final approach used is still open to debate. Better suggestions welcome, though this seems to be the simplest (least overhead) solution currently. |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Fix tooltip for "Inherit End Roll" to be a bit more descriptive |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Restore bone->ease1/2 for hlength1/2 calcs It turns out that this wasn't changed in the patch after all... |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Fix for crash when enabling "Inherit EndRoll" |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: Code Cleanup - Remove all the unnecessary prints + debug code leftover |
May 17, 2016, 14:28 (GMT) |
Bendy Bones: At last, it works! I've gone through making a bunch of changes (mostly, just reverting quite a few things back to their pre-patch state, and adding in a few other bits), and it finally looks like it actually works for both BlenRig and the test files. Yay! (Things are still quite messy, with a lot of commented out leftovers and stuff to deal with, which I'll clean up in a moment after verifying that it all actually works for real) |
May 17, 2016, 14:28 (GMT) |
BendyBones WIP - Temporarily knocked out change to the matrix multiplication final step If we use the old formula (currently enabled), old rigs work, but new options don't. However, if we use the new one (without tmat == inverse mats[0]), old rigs (blenrig) breaks, while the new options don't really work that great. |
May 17, 2016, 14:28 (GMT) |
BendyBones - Note about potential cause of segment length + blenrig bugs |
May 17, 2016, 14:28 (GMT) |
Code Cleanup - Remove some more leftover gunk |
May 17, 2016, 14:28 (GMT) |
Version patching fixes for the new bbone settings |
May 17, 2016, 14:27 (GMT) |
Code Cleanup: Removed some obsolete code that seems to be left over from previous experiments |
May 17, 2016, 14:27 (GMT) |
Code Cleanup - More style cleanups and removing unneeded extra steps |
May 17, 2016, 14:27 (GMT) |
UI Tweak: Rename labels to be easier to read with typical panel widths |
May 17, 2016, 14:27 (GMT) |
Code Cleanup * Roll angles should be stored in radians, and displayed using the appropriate RNA type instead * Some general code cleanup work (style, avoid type conversions, etc.) |
May 17, 2016, 14:27 (GMT) |
Initial patch for improved bendy bones Author: Jose Molina Idea: Daniel M Lara (pepeland) |
|