How to set or delete key frames in houdini

https://www.lynda.com/Houdini-tutorials/How-set-keyframes/182377/369329-4.html#tab

This video was helpful to me so I want to share it. I copy and past the Video script  below also. enjoy

- Animation in Houdini can be accomplished via keyframe techniques as well as procedural techniques where we use networks of nodes to generate animation data. We'll take a look at keyframe techniques first. There are three ways of generating keyframe data. We'll start with the most laborious and we'll move towards the ways that are more automatic and more fun. So we'll start by creating a box, we'll just grab a box from our shelf and drop it down in the middle of our scene. Next we're gonna go over to little Transform values here that got set when we dropped the box in the scene.
I'm just gonna zero these out, by doing 0, tab, 0, tab, 0. We know that it's right exactly in the middle now. So I'm gonna take the box, I'm gonna move it -2 on the X, so I'm gonna type -2 in this Translate field, and to set our first keyframe, I'm gonna right-click in this field, we're gonna go to Channels and Keyframes, Set Keyframe. And you can see that that field turned green, and it means there's a keyframe there.Now I'm gonna scroll to the end of our timeline, you can see the field is now, like, a dimmer green, it means that there's animation data in that field but just no keyframe on that frame.
So I'm gonna change it to 2, and now you can see that that field turns this kind of amber-ish color, and that means that you've changed it but you haven't committed that keyframe change yet. And so, again, the laborious, manual way to do it is for you to right-click on this field,Channels and Keyframes, Commit Change. And so now it turns brighter green, and now we have set a keyframe. So now if I play this timeline back, yay, we have our first animation in Houdini. Now I'm gonna show you a little bit more of a shortcut way to set these keyframes.So let's scroll back to the beginning, I'm gonna right-click where it says Translate, here, and go Delete Channels, and that'll delete out the animation data.
And I'm gonna Alt-left mouse click to set a keyframe, and you see it turns green like it did before, but we didn't have to navigate to any menus. Now I'm gonna scroll to the end of the timeline, I'm gonna change this to a 2, and then Alt-left mouse click. And we just did the exact same thing we did before, but instead of having to navigate through menus, we used an Alt-left mouse click to set the keyframes. So if we play this back, we get the same animation but we were able to make it faster. And I'm gonna show you a third way to set keyframes that's even faster and is a lot more handy when you're doing a lot more complicated things and you don't wanna have to manually deal with setting these keyframes at all, you want them to automatically get set.
So we'll scroll back to the beginning. Again, I'm gonna right-click on Translate, and Delete Channels. And I'm gonna Alt-left mouse click to set my first keyframe, but if we scroll to the end, and then I hit this key here, with the plus sign over it, the Auto Key, now, when we make a change it will automatically set that keyframe without us having to commit the change with another Alt-left mouse click. So now, and I'm just gonna manually drag this box over here this time, let it go, you can see that this field turned that green color, it wasn't that sort of in-between state, it automatically did it.
And now if I press Play, there we go, there we have our animation. So now we've seen three different ways to set keyframes, from the menu style to the clicking style, to then ultimately the auto key style, which, you know, once you set your initial keyframes, will enable you to not have to worry about actually manually setting them all the time.

Comments