Forum: Carrara


Subject: Clearing out unwanted keyframes (back to frame 0)

mdesmarais opened this issue on Jul 28, 2004 ยท 8 posts


mdesmarais posted Wed, 28 July 2004 at 5:06 PM

So while I was messing with tweeners, I did a little research on how they are stored in a .car file. The system turns out to be pretty simple. Since it seems to be a pretty regular occurence that someone wants to clear out all their keyframes, I figured I'd write it up. Right now it just covers position, rotation, and scaling. I'll check into shaders and morphing sometime next week. http://www.des-web.net/html/tutorials.html The Grand Plan of course, is to make a scene command that does all this automatically. ;-) Hope it is useful to someone! Markd


falconperigot posted Thu, 29 July 2004 at 6:59 AM

This is very interesting and useful but actually it is easy to clear an unwanted keyframe. Just slide it to the left in the Sequencer and then use the keyboard nudge (left arrow key) to move it all the way to frame 0. Play the animation to complete the removal. At least, this works for me in C3.


mdesmarais posted Thu, 29 July 2004 at 8:09 AM

Cool! Didn't know the nudge trick. Depending on how many keyframes you have to remove though, it could be a lot faster to edit the file. What I'd like to be able to do is to place the scrubber at any point, then have an option to make that state frame 0 for any object selected, or for the entire file. I think that would be useful, but maybe not? Markd


falconperigot posted Thu, 29 July 2004 at 8:30 AM

I'm sure it would be VERY useful. As you say, if you've got a lot of keyframes to get rid of editing the file could be quicker - and for those that dare not venture into that sort of thing the option to do it in (say) the Right-click menu would be brilliant. Mark


EMC posted Thu, 29 July 2004 at 8:32 AM

You can do that. The arrow at the beginning of the time line can be moved in the same way as the one at the end (see image). EMC

mdesmarais posted Thu, 29 July 2004 at 8:46 AM

Right, but all the animation information is still there. Cases I've run into- 1) Someone has mistakenly created an animation, and now they want it back to a still. 2) Modifying a texture or object when the scrubber is not at time 0 and messing up an object that you wanted to be static throughout an animation. 3) Wanting to start a new file for the next take/scene of an animation (all object postioned where they currently are) BTW falconperigot- I just tried your technique, and it does work. However, CS doesn't really do what it looks like it is doing- take a look at what it does to the .car file. All the old keyframe data hangs around. UUUUUgly! There are definitely dragons lurking in the timeline. Markd


EMC posted Thu, 29 July 2004 at 10:08 AM

Sorry, I somehow missed the entire first part of your post. It would definitely be useful to be able to shift key frames that way. Something to nock the first two off the list, and something I have yet to get use to myself, is the animate button. It might also be nice if you could set the state of it in preferences. EMC


mdesmarais posted Thu, 29 July 2004 at 10:52 AM

Unfortunately the animate button doesn't do any of these things. All it really seems to do is prevent you from adding keyframes if it is disabled. if you could set it in prefs it would certainly help people from getting into state 1. ;-) Markd