j3soon / blender-highlight-channels

Highlight the specified animation channels across multiple objects by toggling their visibility (works on Blender 2.80+).
GNU General Public License v3.0
1 stars 0 forks source link

Does not support Quaternion rotation #1

Open Marslettuce opened 4 months ago

Marslettuce commented 4 months ago

Unless I'm mistaken, there's no way to use this for quaternions.

j3soon commented 4 months ago

Yes, no support for quaternions in the current version.

We do support quaternions in a early testing version (unreleased). However, after discussing with @chickenfishoil, we think this feature may not be used frequently, and therefore dropped it.

It's quite simple to add back the support for quaternions in the next version, but we also need to figure out the hotkey for highlighting the 4 quaternion curves.

Could you share your use cases and preferred hotkeys for highlighting quaternions? Thank you!

Marslettuce commented 4 months ago

Quaternions can be vital for avoiding gimbal lock. One example here: https://youtu.be/z3dDsz4f20A?si=PCCXY4iwsQt50N6c&t=147 This is a very common problem in animation, and is the primary use-case for quaternions.

Ideally, the same hotkeys for Euler channels would apply when you switch to Quaternion, but I'm not sure how feasible that is. Alternatively, Alt + Shift + Q/W/E/R would be acceptable, I think.

Thanks for all the work you guys have done, it's very much appreciated.

j3soon commented 3 months ago

Could you provide a screen recording of your current workflow? A quick demonstration of your need on highlighting one of Quaternion X/Y/Z/W channels and adjusting the curve will be very appreciated. After learning your workflow, I can try think of the best way to include this feature.

Although I'm aware of the benefits of quaternions, I thought the current animation industry still often use Euler angles, since the curves are more intuitive. If there are animators adjusting animation curves using quaternions, then I would want to add back this feature.

Currently, my thought is to use Alt + {A, S, D, F} for Quaternion X/Y/Z/W channels, and replace the current toggle hotkey Alt + F with Alt + V. We can use the same hotkeys as Euler X/Y/Z since only one rotation system will be adopted per curve.