[Geesas-Devs] Auto-Keyframing feature
Status: Abandoned
Brought to you by:
creek23
From: Stuart L. (VK4MSL) <me...@vk...> - 2012-12-23 03:08:54
|
Hi, I've recently downloaded and installed Clash from source. I discovered Pencil some time back and today decided I'd have a tinker with it. Having played with it a little, I had an idea for an effect I wanted to create, but found Pencil really didn't offer it; the ability to capture the sequence of brush strokes as an animation. I asked about it here… http://pencil-animation.org/forum/viewtopic.php?id=3174 Doing some further research, I stumbled across Clash. It's a step up in this regard, in that there is at least a keystroke for duplicating a key frame. The keystroke however, is a little inconvenient on the keyboard, especially if you're on an Apple keyboard like I am, as one has to press Fn to hit any of the Function keys. Some IBM clone laptops are like this too. Thus the first patch changes the shortcuts to something easily accessed with one hand. To implement automatic keyframes, I then created a class that uses a QTimer object to trigger the duplicateKey event repeatedly at a set interval. This is what the second patch does. A caveat, I note that if you leave the stylus down, the stroke doesn't appear until you lift the stylus — and even then, it only appears on the last frame. I suspect somewhere there'd need to be some logic to seamlessly break the stroke up, but the workaround is to just use short strokes. Anyway, I've attached the two patches that implement this feature. Regards, -- Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere. |